JBoss Community

Re: calling the setVariable on reloaded ProcessInstance leads to NullPointerException

created by Oleg Bondarenko in jBPM - View the full discussion

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

Start a new discussion in jBPM at Community