We have similar issues with getting a null token using call process.getRootToken(). It is
fairly easy to achieve that:
* Define your own ActionHandler class. All it should do in execute(ctx) method, is throw
new java.lang.Exception("haha")
* Place this ActionHandler into jpdl
* Invoke state transition by calling process.getRootToken().signal()
That would be the last moment when you are able to access rootToken. Next time
process.getRootToken() will return NULL value.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4048098#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...