[jboss-user] [jBPM] - Re: getProcess in ProcessInstanceImpl throws a NullPointerException
Sandra Renaud
do-not-reply at jboss.com
Fri Apr 5 05:06:34 EDT 2013
Sandra Renaud [https://community.jboss.org/people/joploya] created the discussion
"Re: getProcess in ProcessInstanceImpl throws a NullPointerException"
To view the discussion, visit: https://community.jboss.org/message/806635#806635
--------------------------------------------------------------
Thank you for your answer Marco. You are totally right ; I made a step by step debugging and I could see a call to jpm.dispose() so this may be linked to the closed transaction.
But even if I debug several time I don't really understand what happens and why. What can I do to avoid the transaction to close?
Bellow there are some screenshot of the debug :
https://community.jboss.org/servlet/JiveServlet/showImage/20563/debug_wpi1.png https://community.jboss.org/servlet/JiveServlet/downloadImage/20563/debug_wpi1.png
then getProcess() is called 7 times :
https://community.jboss.org/servlet/JiveServlet/showImage/20564/debug_wpi2.png https://community.jboss.org/servlet/JiveServlet/downloadImage/20564/debug_wpi2.png
And when it goes to the next step
https://community.jboss.org/servlet/JiveServlet/showImage/20565/debug_wpi3.png https://community.jboss.org/servlet/JiveServlet/downloadImage/20565/debug_wpi3.png
all become null! :((
https://community.jboss.org/servlet/JiveServlet/showImage/20565/debug_wpi3.png https://community.jboss.org/servlet/JiveServlet/downloadImage/20565/debug_wpi3.png
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/806635#806635]
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/20130405/0316e413/attachment-0001.html
More information about the jboss-user
mailing list