[jboss-user] [jBPM] - Re: calling the setVariable on reloaded ProcessInstance leads to NullPointerException

Oleg Bondarenko do-not-reply at jboss.com
Mon Mar 4 06:21:42 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/800562#800562

--------------------------------------------------------------
Thanks for the answer, but what you suggest is what I do to START a new process instance, but in my case I already have an existing prosess instance persisted in the database.

ButI am trying to RELOAD it, using the above mentioned API ( ksession.getProcessInstance(processInstanceId) ).

The kruntime field of ProcessInstanceImpl is for some reason declared transient, probably therefore it does not get initialized. 

Why?
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/800562#800562]

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/63331266/attachment.html 


More information about the jboss-user mailing list