[jboss-user] [jBPM] - Re: Can't start a simple loop bpmn process on jbpm-console

Livia Hauser do-not-reply at jboss.com
Tue Oct 11 11:21:36 EDT 2011


Livia Hauser [http://community.jboss.org/people/liviah] created the discussion

"Re: Can't start a simple loop bpmn process on jbpm-console"

To view the discussion, visit: http://community.jboss.org/message/631184#631184

--------------------------------------------------------------
Hi,

one good news and one bad news.
The good news is: Now I can start my process. I added a simple form, contains only a submit button , and reload everthing. Now it starts.

bad news:
I run into an NullPoineterException:

17:01:57,143 ERROR [STDERR] Exception in thread "Thread-35" 
17:01:57,143 ERROR [STDERR] java.lang.NullPointerException
17:01:57,143 ERROR [STDERR]     at org.drools.persistence.jpa.processinstance.JPAWorkItemManager.internalExecuteWorkItem(JPAWorkItemManager.java:43)
17:01:57,144 ERROR [STDERR]     at org.jbpm.workflow.instance.node.WorkItemNodeInstance.internalTrigger(WorkItemNodeInstance.java:105)
17:01:57,144 ERROR [STDERR]     at org.jbpm.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:122)
17:01:57,144 ERROR [STDERR]     at org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerConnection(NodeInstanceImpl.java:185)
17:01:57,144 ERROR [STDERR]     at org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerCompleted(NodeInstanceImpl.java:150)
17:01:57,144 ERROR [STDERR]     at org.jbpm.workflow.instance.node.JoinInstance.triggerCompleted(JoinInstance.java:152)
17:01:57,144 ERROR [STDERR]     at org.jbpm.workflow.instance.node.JoinInstance.internalTrigger(JoinInstance.java:52)
17:01:57,144 ERROR [STDERR]     at org.jbpm.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:122)
17:01:57,144 ERROR [STDERR]     at org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerConnection(NodeInstanceImpl.java:185)
17:01:57,144 ERROR [STDERR]     at org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerCompleted(NodeInstanceImpl.java:150)
17:01:57,145 ERROR [STDERR]     at org.jbpm.workflow.instance.node.ActionNodeInstance.triggerCompleted(ActionNodeInstance.java:55)
17:01:57,145 ERROR [STDERR]     at org.jbpm.workflow.instance.node.ActionNodeInstance.internalTrigger(ActionNodeInstance.java:51)
17:01:57,145 ERROR [STDERR]     at org.jbpm.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:122)
17:01:57,145 ERROR [STDERR]     at org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerConnection(NodeInstanceImpl.java:185)
17:01:57,145 ERROR [STDERR]     at org.jbpm.workflow.instance.node.SplitInstance.internalTrigger(SplitInstance.java:100)
17:01:57,145 ERROR [STDERR]     at org.jbpm.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:122)
17:01:57,145 ERROR [STDERR]     at org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerConnection(NodeInstanceImpl.java:185)
17:01:57,145 ERROR [STDERR]     at org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerCompleted(NodeInstanceImpl.java:150)
17:01:57,145 ERROR [STDERR]     at org.jbpm.workflow.instance.impl.ExtendedNodeInstanceImpl.triggerCompleted(ExtendedNodeInstanceImpl.java:47)
17:01:57,146 ERROR [STDERR]     at org.jbpm.workflow.instance.node.StateBasedNodeInstance.triggerCompleted(StateBasedNodeInstance.java:162)
17:01:57,146 ERROR [STDERR]     at org.jbpm.workflow.instance.node.StateBasedNodeInstance.triggerCompleted(StateBasedNodeInstance.java:143)
17:01:57,146 ERROR [STDERR]     at org.jbpm.workflow.instance.node.WorkItemNodeInstance.triggerCompleted(WorkItemNodeInstance.java:239)
17:01:57,146 ERROR [STDERR]     at org.jbpm.workflow.instance.node.WorkItemNodeInstance.workItemCompleted(WorkItemNodeInstance.java:301)
17:01:57,146 ERROR [STDERR]     at org.jbpm.workflow.instance.node.WorkItemNodeInstance.signalEvent(WorkItemNodeInstance.java:277)
17:01:57,146 ERROR [STDERR]     at org.jbpm.workflow.instance.impl.WorkflowProcessInstanceImpl.signalEvent(WorkflowProcessInstanceImpl.java:333)
17:01:57,146 ERROR [STDERR]     at org.drools.persistence.jpa.processinstance.JPAWorkItemManager.completeWorkItem(JPAWorkItemManager.java:119)
17:01:57,147 ERROR [STDERR]     at WorkItems.handler.WThread.run(TestSleepHandler.java:74)

Thin NPE only occurs if I use a asynchr. behavior. Asynchr. means manager.completeWorkItem is not called by WorkItemHandler, another Thread calls manager.completeWorkItem .

Some ideas?

Many thanks,
Liv
--------------------------------------------------------------

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

Start a new discussion in jBPM at Community
[http://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/20111011/029e1b13/attachment-0001.html 


More information about the jboss-user mailing list