[jboss-user] [jBPM] - org.drools.WorkItemHandlerNotFoundException: Could not find work item handler for

new-comer do-not-reply at jboss.com
Fri Nov 2 10:17:36 EDT 2012


new-comer [https://community.jboss.org/people/new-comer] created the discussion

"org.drools.WorkItemHandlerNotFoundException: Could not find work item handler for"

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

--------------------------------------------------------------
https://community.jboss.org/servlet/JiveServlet/showImage/2-773657-19821/voting.png  https://community.jboss.org/servlet/JiveServlet/downloadImage/2-773657-19821/449-187/voting.png 
I created the above process, if I run the process inside the JBPM console, even though I completed the Create task, it still stops there, not moving forward, the task apprently has been consumed. so no task to complete,but the workflow stucks at the first task.

If I run the same process through web service, I can start the process, claim the Create task, but when I tried to complete the Create task, I got the following exception:

Caused by: org.drools.WorkItemHandlerNotFoundException: Could not find work item handler for 
 at org.drools.persistence.jpa.processinstance.JPAWorkItemManager.throwWorkItemNotFoundException(JPAWorkItemManager.java:62)
 at org.drools.persistence.jpa.processinstance.JPAWorkItemManager.internalExecuteWorkItem(JPAWorkItemManager.java:57)
 at org.jbpm.workflow.instance.node.WorkItemNodeInstance.internalTrigger(WorkItemNodeInstance.java:105)
 at org.jbpm.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:122)
 at org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerNodeInstance(NodeInstanceImpl.java:196)
 at org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerCompleted(NodeInstanceImpl.java:155)
 at org.jbpm.workflow.instance.node.SplitInstance.internalTrigger(SplitInstance.java:61)
 at org.jbpm.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:122)
 at org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerNodeInstance(NodeInstanceImpl.java:196)
 at org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerCompleted(NodeInstanceImpl.java:155)
 at org.jbpm.workflow.instance.impl.ExtendedNodeInstanceImpl.triggerCompleted(ExtendedNodeInstanceImpl.java:47)
 at org.jbpm.workflow.instance.node.StateBasedNodeInstance.triggerCompleted(StateBasedNodeInstance.java:162)
 at org.jbpm.workflow.instance.node.StateBasedNodeInstance.triggerCompleted(StateBasedNodeInstance.java:143)
 at org.jbpm.workflow.instance.node.WorkItemNodeInstance.triggerCompleted(WorkItemNodeInstance.java:239)
 at org.jbpm.workflow.instance.node.HumanTaskNodeInstance.triggerCompleted(HumanTaskNodeInstance.java:90)
 at org.jbpm.workflow.instance.node.WorkItemNodeInstance.workItemCompleted(WorkItemNodeInstance.java:301)
 at org.jbpm.workflow.instance.node.WorkItemNodeInstance.signalEvent(WorkItemNodeInstance.java:277)
 at org.jbpm.workflow.instance.impl.WorkflowProcessInstanceImpl.signalEvent(WorkflowProcessInstanceImpl.java:338)
 at org.drools.persistence.jpa.processinstance.JPAWorkItemManager.completeWorkItem(JPAWorkItemManager.java:121)
 at org.drools.command.runtime.process.CompleteWorkItemCommand.execute(CompleteWorkItemCommand.java:69)
 at org.drools.command.runtime.process.CompleteWorkItemCommand.execute(CompleteWorkItemCommand.java:32)
 at org.drools.command.impl.DefaultCommandService.execute(DefaultCommandService.java:36)
 at org.drools.persistence.SingleSessionCommandService.execute(SingleSessionCommandService.java:360)
 at org.drools.command.impl.CommandBasedStatefulKnowledgeSession$1.completeWorkItem(CommandBasedStatefulKnowledgeSession.java:150)
 at org.jbpm.process.workitem.wsht.SyncWSHumanTaskHandler$TaskCompletedHandler.handleCompletedTask(SyncWSHumanTaskHandler.java:360)
 at org.jbpm.process.workitem.wsht.SyncWSHumanTaskHandler$TaskCompletedHandler.execute(SyncWSHumanTaskHandler.java:319)
 at org.jbpm.task.service.local.LocalTaskService$SimpleEventTransport.trigger(LocalTaskService.java:287)
 at org.jbpm.task.event.MessagingTaskEventListener.taskCompleted(MessagingTaskEventListener.java:73)
 at org.jbpm.task.event.TaskEventSupport.fireTaskCompleted(TaskEventSupport.java:47)
 at org.jbpm.task.service.TaskServiceSession.postTaskCompleteOperation(TaskServiceSession.java:510)
 at org.jbpm.task.service.TaskServiceSession.taskOperation(TaskServiceSession.java:470)
 at org.jbpm.task.service.local.LocalTaskService.complete(LocalTaskService.java:76)
 at com.pb.keystone.bpm.provider.jbpm.TaskProviderJbpm.completeTask(TaskProviderJbpm.java:673)
 ... 46 more

Anybody knows what is wrong? I will attach the process.
--------------------------------------------------------------

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

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/20121102/e25672a9/attachment-0001.html 


More information about the jboss-user mailing list