Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-3302

gd:filter and gd:sort Cause javax.el.PropertyNotFoundException on Tomcat 6

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Partially Completed
    • Affects Version/s: jBPM 3.2.10
    • Fix Version/s: jBPM 3.2.10
    • Component/s: Console
    • Labels:
      None
    • Environment:

      WinXP, Tomcat 6.0.28, jbpm-console 3.2.10

      Description

      I followed JBPM3 wiki (http://community.jboss.org/wiki/JBPM3OnTomcat) to deploy console on Tomcat 6. When I opened a process definition page, Tomcat threw a javax.el.PropertyNotFoundException. If I disable gd:filter and gd:sort in /app/procdef.xhtml, the exception will not throw.

      Similar issues have been reported on the forum: http://community.jboss.org/message/393087#393087

      Here is the stack trace:

      Jul 28, 2011 10:21:13 AM com.sun.faces.lifecycle.Phase doPhase
      SEVERE: JSF1054: (Phase ID: RENDER_RESPONSE 6, View ID: /app/procdef.xhtml) Exception thrown during phase execution: javax.faces.event.PhaseEvent[source=com.sun.faces.lifecycle.LifecycleImpl@183268e]
      Jul 28, 2011 10:21:13 AM org.apache.catalina.core.StandardWrapperValve invoke
      SEVERE: Servlet.service() for servlet Faces Servlet threw exception
      javax.el.PropertyNotFoundException: /app/procdef.xhtml @59,155 test="#{filter_ended and entry.end != null or entry.end == null and (filter_suspended and entry.suspended or filter_running and ! entry.suspended)}": ELResolver cannot handle a null base Object with identifier 'entry'
      	at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:73)
      	at org.jboss.gravel.data.action.FilterActionListener.checkItem(FilterActionListener.java:162)
      	at org.jboss.gravel.data.action.FilterActionListener.processAction(FilterActionListener.java:118)
      	at javax.faces.event.ActionEvent.processListener(ActionEvent.java:88)
      	at javax.faces.component.UIComponentBase.broadcast(UIComponentBase.java:771)
      	at javax.faces.component.UICommand.broadcast(UICommand.java:372)
      	at org.jboss.gravel.action.handler.ResponseActionsHandler.onComponentPopulated(ResponseActionsHandler.java:24)
      	at com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:201)
      	at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
      	at com.sun.facelets.tag.ui.DefineHandler.applyDefinition(DefineHandler.java:64)
      	at com.sun.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:136)
      	at com.sun.facelets.impl.DefaultFaceletContext$TemplateManager.apply(DefaultFaceletContext.java:337)
      	at com.sun.facelets.impl.DefaultFaceletContext.includeDefinition(DefaultFaceletContext.java:307)
      	at com.sun.facelets.tag.ui.InsertHandler.apply(InsertHandler.java:68)
      	at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
      	at com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:49)
      	at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
      	at com.sun.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:39)
      	at com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:248)
      	at com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:294)
      	at com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:273)
      	at com.sun.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:140)
      	at com.sun.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:116)
      	at com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:49)
      	at com.sun.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:39)
      	at com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:248)
      	at com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:294)
      	at com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:273)
      	at com.sun.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:140)
      	at com.sun.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:116)
      	at com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:49)
      	at com.sun.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:39)
      	at com.sun.facelets.impl.DefaultFacelet.apply(DefaultFacelet.java:95)
      	at com.sun.facelets.FaceletViewHandler.buildView(FaceletViewHandler.java:526)
      	at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:569)
      	at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:189)
      	at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:110)
      	at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
      	at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
      	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
      	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:563)
      	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
      	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
      	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
      	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
      	at java.lang.Thread.run(Thread.java:662)
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                marco.rietveld Marco Rietveld
                Reporter:
                linziwei ziwei lin
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: