AnsweredAssumed Answered

NullPointerException when using parallel multi-instance on embedded subprocess

Question asked by javacorner on Sep 16, 2015
Hello,
I face NullPointerException
   at org.activiti.engine.impl.pvm.runtime.AtomicOperationTransitionCreateScope.execute(AtomicOperationTransitionCreateScope.java:35)

I found the following bug in the bug list of release 5.18:
<B>[ACT-2194] - NPE when using parallel multi-instance on embedded subprocess </B>

<h3>Kindly confirm that release 5.18 is fixed this error.</h3>

Note: I am using <blockcode>asynchronous "call activity"</blockcode>
The stack trace is like following

Tue Sep 15 12:23:34 2015 ERROR JobRetryCmd - activitiy or FailedJobRetryTimerCycleValue is null in job 127997'. only decrementing retries.
Tue Sep 15 12:23:34 2015 ERROR InmaEventListener - ACTIVITI The execution of a job has failed. EntityId=127997 ,JobHandlerType=async-continuation ,ProcessInstanceId=127994
Tue Sep 15 12:23:34 2015 ERROR InmaEventListener - ACTIVITI The execution of a job has failed. EntityId=127997 ,JobHandlerType=async-continuation ,ProcessInstanceId=127994
Tue Sep 15 12:23:34 2015 ERROR ExecuteAsyncRunnable - Job 127997 failed
java.lang.NullPointerException
   at org.activiti.engine.impl.pvm.runtime.AtomicOperationTransitionCreateScope.execute(AtomicOperationTransitionCreateScope.java:35)
   at org.activiti.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:96)
   at org.activiti.engine.impl.jobexecutor.AsyncContinuationJobHandler.execute(AsyncContinuationJobHandler.java:35)
   at org.activiti.engine.impl.persistence.entity.JobEntity.execute(JobEntity.java:84)
   at org.activiti.engine.impl.persistence.entity.MessageEntity.execute(MessageEntity.java:29)
   at org.activiti.engine.impl.cmd.ExecuteAsyncJobCmd.execute(ExecuteAsyncJobCmd.java:52)
   at org.activiti.engine.impl.interceptor.CommandInvoker.execute(CommandInvoker.java:24)
   at org.activiti.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:57)
   at org.activiti.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:31)
   at org.activiti.engine.impl.cfg.CommandExecutorImpl.execute(CommandExecutorImpl.java:40)
   at org.activiti.engine.impl.cfg.CommandExecutorImpl.execute(CommandExecutorImpl.java:35)
   at org.activiti.engine.impl.asyncexecutor.ExecuteAsyncRunnable.run(ExecuteAsyncRunnable.java:73)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1157)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:627)
   at java.lang.Thread.run(Thread.java:801)


Outcomes