[jboss-user] [jBPM] - Cannot retrieve a result from human task in jBPM 5.3

Jiri Svitak do-not-reply at jboss.com
Mon Jul 2 14:04:27 EDT 2012


Jiri Svitak [https://community.jboss.org/people/jsvitak] created the discussion

"Cannot retrieve a result from human task in jBPM 5.3"

To view the discussion, visit: https://community.jboss.org/message/745525#745525

--------------------------------------------------------------
Hello,
I was unable to get working human tasks in jBPM 5.3, particularly retrieving a result from human task form to a process variable. At first I suffered the same problem as here:
 https://community.jboss.org/thread/200849 https://community.jboss.org/thread/200849

The fix for that was applied only to master branch, so I switched from 5.3.0-SNAPSHOT to 5.4.0-SNAPSHOT in the pom file of my project.
However now I experience a new error in the server log (jBPM engine in my application hangs):


18:55:04,163 ERROR [stderr] (http-localhost-127.0.0.1-8080-6) java.io.OptionalDataException
18:55:04,163 ERROR [stderr] (http-localhost-127.0.0.1-8080-6)     at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1339)
18:55:04,163 ERROR [stderr] (http-localhost-127.0.0.1-8080-6)     at java.io.ObjectInputStream.readObject(ObjectInputStream.java:350)
18:55:04,164 ERROR [stderr] (http-localhost-127.0.0.1-8080-6)     at org.jbpm.integration.console.forms.TaskFormDispatcher.provideForm(TaskFormDispatcher.java:77)
18:55:04,164 ERROR [stderr] (http-localhost-127.0.0.1-8080-6)     at org.jbpm.integration.console.forms.FormDispatcherComposite.provideForm(FormDispatcherComposite.java:50)
18:55:04,164 ERROR [stderr] (http-localhost-127.0.0.1-8080-6)     at org.jboss.bpm.console.server.FormProcessingFacade.provideForm(FormProcessingFacade.java:205)
18:55:04,164 ERROR [stderr] (http-localhost-127.0.0.1-8080-6)     at org.jboss.bpm.console.server.FormProcessingFacade.renderTaskUI(FormProcessingFacade.java:127)
18:55:04,164 ERROR [stderr] (http-localhost-127.0.0.1-8080-6)     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
18:55:04,164 ERROR [stderr] (http-localhost-127.0.0.1-8080-6)     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
18:55:04,164 ERROR [stderr] (http-localhost-127.0.0.1-8080-6)     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
18:55:04,164 ERROR [stderr] (http-localhost-127.0.0.1-8080-6)     at java.lang.reflect.Method.invoke(Method.java:597)
18:55:04,164 ERROR [stderr] (http-localhost-127.0.0.1-8080-6)     at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:140)
18:55:04,165 ERROR [stderr] (http-localhost-127.0.0.1-8080-6)     at org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:255)
18:55:04,165 ERROR [stderr] (http-localhost-127.0.0.1-8080-6)     at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:220)
18:55:04,165 ERROR [stderr] (http-localhost-127.0.0.1-8080-6)     at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:209)
18:55:04,165 ERROR [stderr] (http-localhost-127.0.0.1-8080-6)     at org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:519)
18:55:04,165 ERROR [stderr] (http-localhost-127.0.0.1-8080-6)     at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:496)
18:55:04,165 ERROR [stderr] (http-localhost-127.0.0.1-8080-6)     at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:119)
18:55:04,165 ERROR [stderr] (http-localhost-127.0.0.1-8080-6)     at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208)
18:55:04,165 ERROR [stderr] (http-localhost-127.0.0.1-8080-6)     at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55)
18:55:04,166 ERROR [stderr] (http-localhost-127.0.0.1-8080-6)     at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50)
18:55:04,166 ERROR [stderr] (http-localhost-127.0.0.1-8080-6)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
18:55:04,166 ERROR [stderr] (http-localhost-127.0.0.1-8080-6)     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
18:55:04,166 ERROR [stderr] (http-localhost-127.0.0.1-8080-6)     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
18:55:04,166 ERROR [stderr] (http-localhost-127.0.0.1-8080-6)     at org.jboss.bpm.console.server.util.GWTJsonFilter.doFilter(GWTJsonFilter.java:59)
18:55:04,166 ERROR [stderr] (http-localhost-127.0.0.1-8080-6)     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
18:55:04,166 ERROR [stderr] (http-localhost-127.0.0.1-8080-6)     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
18:55:04,166 ERROR [stderr] (http-localhost-127.0.0.1-8080-6)     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
18:55:04,166 ERROR [stderr] (http-localhost-127.0.0.1-8080-6)     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
18:55:04,167 ERROR [stderr] (http-localhost-127.0.0.1-8080-6)     at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:139)
18:55:04,167 ERROR [stderr] (http-localhost-127.0.0.1-8080-6)     at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:480)
18:55:04,167 ERROR [stderr] (http-localhost-127.0.0.1-8080-6)     at org.jboss.as.web.NamingValve.invoke(NamingValve.java:57)
18:55:04,167 ERROR [stderr] (http-localhost-127.0.0.1-8080-6)     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:154)
18:55:04,167 ERROR [stderr] (http-localhost-127.0.0.1-8080-6)     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
18:55:04,167 ERROR [stderr] (http-localhost-127.0.0.1-8080-6)     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
18:55:04,167 ERROR [stderr] (http-localhost-127.0.0.1-8080-6)     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362)
18:55:04,167 ERROR [stderr] (http-localhost-127.0.0.1-8080-6)     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
18:55:04,168 ERROR [stderr] (http-localhost-127.0.0.1-8080-6)     at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:667)
18:55:04,168 ERROR [stderr] (http-localhost-127.0.0.1-8080-6)     at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:952)
18:55:04,168 ERROR [stderr] (http-localhost-127.0.0.1-8080-6)     at java.lang.Thread.run(Thread.java:662)


I have attached .bpmn2 file with my business process definition. I use HornetQHTWorkItemHandler.

I was recommended (M.Salatino) to try using a map variable to retrieve a value from the form, but that doesn't help. In the generated form was only one field named the same as the map variable, not the String variable contained in the map. After filling the badly generated form I experienced the same exception as above and the engine hung.
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/745525#745525]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120702/3480a9d2/attachment.html 


More information about the jboss-user mailing list