1 Reply Latest reply on Jan 9, 2007 6:22 PM by Ronald van Kuijk

    Exceptions when using jbpm-jpdl-3.2.Beta1 Webapp

    Daniel Berger Newbie

      Hello,

      we want to use the new 3.2.Beta1 webapp out-of-the-box with the jboss appserver and the hsql-db coming in the suite.

      During testing the new webapp we recognized, that both signaling a token and finishing a task don't work. Please find the StackTrace below:

      Token->Signal:

      javax.servlet.ServletException: org.jbpm.webapp.bean.ProcessInstanceBean$SignalToken
      javax.faces.webapp.FacesServlet.service(FacesServlet.java:256) org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:75) org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:213)
      org.jbpm.webapp.filter.LogFilter.doFilter(LogFilter.java:59) org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

      root cause

      java.lang.IllegalStateException: org.jbpm.webapp.bean.ProcessInstanceBean$SignalToken javax.faces.component.StateHolderSaver.restore(StateHolderSaver.java:98) javax.faces.component.UIComponentBase.restoreAttachedState(UIComponentBase.java:1394) javax.faces.component.UIComponentBase.restoreState(UIComponentBase.java:1260) javax.faces.component.UICommand.restoreState(UICommand.java:332) javax.faces.component.html.HtmlCommandButton.restoreState(HtmlCommandButton.java:858) javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1129) javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1145) javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1145) javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1145) javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1145) org.jbpm.webapp.tag.jbpm.ui.Search.processRestoreState(Search.java:126) javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1145) javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1145) com.sun.faces.application.StateManagerImpl.restoreView(StateManagerImpl.java:173) org.ajax4jsf.framework.ajax.AjaxStateManager.restoreView(AjaxStateManager.java:76) com.sun.faces.application.ViewHandlerImpl.restoreView(ViewHandlerImpl.java:290) org.jbpm.webapp.application.JbpmViewHandler.restoreView(JbpmViewHandler.java:62) com.sun.facelets.FaceletViewHandler.restoreView(FaceletViewHandler.java:317) org.ajax4jsf.framework.ViewHandlerWrapper.restoreView(ViewHandlerWrapper.java:109) org.ajax4jsf.framework.ajax.AjaxViewHandler.restoreView(AjaxViewHandler.java:140) com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:142)
      com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:248)
      com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
      javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
      org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:75) org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:213)
      org.jbpm.webapp.filter.LogFilter.doFilter(LogFilter.java:59) org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

      -------------------
      Task - Finish Task:

      javax.faces.FacesException: javax.el.PropertyNotFoundException: /main/task/new_tasks.xhtml @41,57 value="#{entry.taskInstance.id}": Property 'taskInstance' is not found on type: java.lang.String
      at javax.faces.component.UIOutput.getValue(UIOutput.java:176)
      at com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.getValue(HtmlBasicInputRenderer.java:189)
      at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.getCurrentValue(HtmlBasicRenderer.java:320)
      at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeEnd(HtmlBasicRenderer.java:200)
      at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:829)
      at org.jbpm.webapp.tag.jbpm.renderer.RendererBase.doEncode(RendererBase.java:36)
      at org.jbpm.webapp.tag.jbpm.renderer.RendererBase.doEncode(RendererBase.java:46)
      at org.jbpm.webapp.tag.jbpm.renderer.RendererBase.doEncode(RendererBase.java:34)
      at org.jbpm.webapp.tag.jbpm.renderer.RendererBase$ElementImpl.doEncode(RendererBase.java:266)
      at org.jbpm.webapp.tag.jbpm.renderer.DataTableRenderer.renderCells(DataTableRenderer.java:138)
      at org.jbpm.webapp.tag.jbpm.renderer.DataTableRenderer.encodeChildren(DataTableRenderer.java:94)
      at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:810)
      at javax.faces.component.UIComponent.encodeAll(UIComponent.java:884)
      at javax.faces.component.UIComponent.encodeAll(UIComponent.java:890)
      at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:578)
      at org.ajax4jsf.framework.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:101)
      at org.ajax4jsf.framework.ajax.AjaxViewHandler.renderView(AjaxViewHandler.java:222)
      at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)
      at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:248)
      at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      at org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:75)
      at org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:213)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      at org.jbpm.webapp.filter.LogFilter.doFilter(LogFilter.java:59)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
      at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524)
      at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
      at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
      at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
      at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
      at java.lang.Thread.run(Thread.java:595)
      Caused by: javax.el.PropertyNotFoundException: /main/task/new_tasks.xhtml @41,57 value="#{entry.taskInstance.id}": Property 'taskInstance' is not found on type: java.lang.String
      at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:73)
      at javax.faces.component.UIOutput.getValue(UIOutput.java:173)
      ... 46 more


      Do you have any suggestions?
      Thanks