Jaber C. Mourad [
http://community.jboss.org/people/newbeewan] replied to the discussion
"Variables from ended process ..."
To view the discussion, visit:
http://community.jboss.org/message/548713#548713
--------------------------------------------------------------
Hi,
I don't undersand the trouble !
I create a test for history variable and all works as expected (including setting non
history variables and variable set by some eventlistener) !
In a real process, I've got that NPE !
2010-06-18 15:08:27,274 [INFO ] org.jbpm.pvm.internal.svc.DefaultCommandService 54 -
exception while executing command
org.jbpm.pvm.internal.cmd.GetHistoryVariablesCmd@70a6aa31
java.lang.NullPointerException
at
org.jbpm.pvm.internal.cmd.GetHistoryVariablesCmd.execute(GetHistoryVariablesCmd.java:65)
at
org.jbpm.pvm.internal.cmd.GetHistoryVariablesCmd.execute(GetHistoryVariablesCmd.java:37)
at
org.jbpm.pvm.internal.svc.DefaultCommandService.execute(DefaultCommandService.java:42)
at
org.jbpm.pvm.internal.tx.SpringCommandCallback.doInTransaction(SpringCommandCallback.java:45)
at
org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:130)
at
org.jbpm.pvm.internal.tx.SpringTransactionInterceptor.execute(SpringTransactionInterceptor.java:49)
at
org.jbpm.pvm.internal.svc.EnvironmentInterceptor.executeInNewEnvironment(EnvironmentInterceptor.java:53)
at
org.jbpm.pvm.internal.svc.EnvironmentInterceptor.execute(EnvironmentInterceptor.java:40)
at org.jbpm.pvm.internal.svc.RetryInterceptor.execute(RetryInterceptor.java:56)
at
org.jbpm.pvm.internal.svc.HistoryServiceImpl.getVariable(HistoryServiceImpl.java:90)
So, I'm suspecting a missconfiguration, but I don't know where !
Regards
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/548713#548713]
Start a new discussion in jBPM at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]