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/548508#548508 -------------------------------------------------------------- Hi, I'm trying to use history varaibles in jbpm 4.4 and I encounter an NPE : 2010-06-17 15:56:07,742 [INFO ] org.jbpm.pvm.internal.svc.DefaultCommandService 54 - exception while executing command org.jbpm.pvm.internal.cmd.gethistoryvariables...@194d4313 java.lang.NullPointerException at org.jbpm.pvm.internal.cmd.GetHistoryVariablesCmd.execute(GetHistoryVariablesCmd.java:60) at org.jbpm.pvm.internal.cmd.GetHistoryVariablesCmd.execute(GetHistoryVariablesCmd.java:40) 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:53) 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.getVariables(HistoryServiceImpl.java:97) Is there something particula to configure to make it available ? I'm using the executionService method executionService.createVariables(executionId, myVariables, true); to activate the history on the current process variable, and I can see some sql insert to the table PROCESS_HISTORY_VARIABLE so I think data are available... Regards -------------------------------------------------------------- Reply to this message by going to Community [http://community.jboss.org/message/548508#548508] Start a new discussion in jBPM at Community [http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
_______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user