I've found a possible solution for the NPE. I don't think it's a best practice,
but at the moment it works.
The fix is manually creating an instance of the sub process and then manually
creating a token, like in the following snippet.
| token.signal();
| ProcessInstance subProcessInstance
jkva wrote : I'm having the same problem. Does somebody have a solution for
this problem?
|
| Apart from some names, my process definition looks the same as the one
posted above.
With problem, I mean the NullPointerException.
View the original post :
I'm having the same problem. Does somebody have a solution for this problem?
Apart from some names, my process definition looks the same as the one posted
above.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4119025#4119025
Reply to the post :
why do you explicitly create an instance of the sub-process?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4075867#4075867
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4075867
Thank u Martin.I could able to solve that exception now.
but now iam getting NullPointerException.
Below is the modified code and Exception .
| JbpmConfiguration jbpmConfiguration
=JbpmConfiguration.parseResource(hibernate.cfg);
| JbpmContext