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]

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to