0 Replies Latest reply on Nov 22, 2015 2:15 AM by chen chen

    JBPM 6.2.0 final- Timer Event exception

    chen chen Newbie

      Hi all:

      My process is following, I defined a simple script task just print 'hello world' after timer node.

      timer.jpg

      The timer is triggered. But after the second script task complete, I got the following error. PLS help.

       

      Participating in existing JTA transaction, but no JTA TransactionManager or TransactionSychronizationRegistry available:

      java.lang.NullPointerException

        at org.drools.persistence.jta.JtaTransactionManager.registerTransactionSynchronization(JtaTransactionManager.java:282)

        at org.drools.persistence.TransactionManagerHelper.registerTransactionSyncInContainer(TransactionManagerHelper.java:16)

        at org.drools.persistence.jta.TransactionLockInterceptor.release(TransactionLockInterceptor.java:90)

        at org.drools.persistence.jta.TransactionLockInterceptor.execute(TransactionLockInterceptor.java:83)

        at org.drools.persistence.SingleSessionCommandService.execute(SingleSessionCommandService.java:358)

        at org.jbpm.process.core.timer.impl.GlobalTimerService$DisposableCommandService.execute(GlobalTimerService.java:299)

        at org.jbpm.persistence.timer.GlobalJpaTimerJobInstance.call(GlobalJpaTimerJobInstance.java:77)

        at org.jbpm.persistence.timer.GlobalJpaTimerJobInstance.call(GlobalJpaTimerJobInstance.java:47)

        at java.util.concurrent.FutureTask.run(Unknown Source)

        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(Unknown Source)

        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)

        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

        at java.lang.Thread.run(Unknown Source)