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&...]