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

Reply via email to