[jboss-user] [jBPM] - Variables from ended process ...

Jaber C. Mourad do-not-reply at jboss.com
Fri Jun 18 09:49:07 EDT 2010


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 at 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&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100618/7739fee1/attachment.html 


More information about the jboss-user mailing list