Hi,
I am playing with the jbpm4 example AsyncActivityTest from an
AbstractTransactionalSpringJbpmTestCase.
But I have the following exception:
java.lang.NullPointerException at
org.jbpm.pvm.internal.jobexecutor.JobExecutorMessageSession.send(JobExecutorMessageSession.java:59)
The file process.jpdl.xml marks the process as asynchronous:
<java name="generate pdf" continue="async"
In the class JobExecutorMessageSession.java seems that the transaction field is
null:
public void send(Message message) {
log.debug("sending message
"+ReflectUtil.getUnqualifiedClassName(message.getClass()));
â¦
transaction.registerSynchronization(new
JobAddedNotification(jobExecutor));
}
}
If I remove the continue=âasyncâ attribute the test runs ok.
Any comment about this issue will be very appreciate,
Thanks.
-- JC
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4246319#4246319
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4246319
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user