[jboss-user] [jBPM] - Re: how to setVariable

Juliano Dantas do-not-reply at jboss.com
Tue Nov 13 14:36:55 EST 2012


Juliano Dantas [https://community.jboss.org/people/jdantas9] created the discussion

"Re: how to setVariable"

To view the discussion, visit: https://community.jboss.org/message/776251#776251

--------------------------------------------------------------
I have the same problem, but in my case, when I use "setVariable()", process and kruntime are null. I'm using the version 5.2. Look at my stacktrace:

java.lang.NullPointerException: null
          at org.jbpm.process.instance.impl.ProcessInstanceImpl.getProcess(ProcessInstanceImpl.java:67) ~[jbpm-flow-5.2.0.Final.jar:5.2.0.Final]
          at org.jbpm.process.instance.impl.ProcessInstanceImpl.getContextInstance(ProcessInstanceImpl.java:127) ~[jbpm-flow-5.2.0.Final.jar:5.2.0.Final]
          at org.jbpm.workflow.instance.impl.WorkflowProcessInstanceImpl.setVariable(WorkflowProcessInstanceImpl.java:238) ~[jbpm-flow-5.2.0.Final.jar:5.2.0.Final]

Thanks.
--------------------------------------------------------------

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

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/20121113/707519f2/attachment.html 


More information about the jboss-user mailing list