[jboss-user] [jBPM] - Re: calling the setVariable on reloaded ProcessInstance leads to NullPointerException
Oleg Bondarenko
do-not-reply at jboss.com
Mon Mar 4 07:28:51 EST 2013
Oleg Bondarenko [https://community.jboss.org/people/obon] created the discussion
"Re: calling the setVariable on reloaded ProcessInstance leads to NullPointerException"
To view the discussion, visit: https://community.jboss.org/message/800581#800581
--------------------------------------------------------------
as I pointed out, the problem is not because the returned active process instance null, but because it is not completely initialized.
The exception happens in the following method of the class org.jbpm.process.instance.impl.ProcessInstanceImpl:
| | public Process getProcess() { |
| | if (this.process == null) { |
| | this.process = kruntime.getKnowledgeBase().getProcess(processId); |
| | } |
| | return this.process; |
| | } |
The kruntime is null.
I hope, now the problem is clearly and completely described.
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/800581#800581]
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/20130304/c0c85e5f/attachment.html
More information about the jboss-user
mailing list