Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-428

Two parallel async service tasks with end event afterwards do not work

    • Icon: Bug Report Bug Report
    • Resolution: Fixed
    • Icon: L3 - Default L3 - Default
    • 7.1.0, 7.1.0-alpha2
    • None
    • engine
    • None

      AT:

      • bug fixed
      • testcase exists and is green

      @Deployment(resources="parallelEndEvent.bpmn")
      public void testParallelEndEvent()

      { ProcessInstance pi = runtimeService.startProcessInstanceByKey("parallelEndEvent"); ProcessEngineConfigurationImpl processEngineConfiguration = ( (ProcessEngineImpl) processEngine).getProcessEngineConfiguration(); TestHelper.waitForJobExecutorToProcessAllJobs(processEngineConfiguration, 6000, 100); assertProcessEnded(pi.getId()); }

        This is the controller panel for Smart Panels app

            [CAM-428] Two parallel async service tasks with end event afterwards do not work

            Stacktrace

            Exception in thread "pool-1-thread-1" java.lang.NullPointerException

            at
            org.activiti.engine.impl.pvm.runtime.AtomicOperationTransitionCreateScope.execute(AtomicOperationTransitionCreateScope.java:34)

            at
            org.activiti.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:82)

            at
            org.activiti.engine.impl.jobexecutor.AsyncContinuationJobHandler.execute(AsyncContinuationJobHandler.java:35)

            at
            org.activiti.engine.impl.persistence.entity.JobEntity.execute(JobEntity.java:79)

            at
            org.activiti.engine.impl.persistence.entity.MessageEntity.execute(MessageEntity.java:29)

            at
            org.activiti.engine.impl.cmd.ExecuteJobsCmd.execute(ExecuteJobsCmd.java:70)

            at
            org.activiti.engine.impl.interceptor.CommandExecutorImpl.execute(CommandExecutorImpl.java:24)

            at
            org.activiti.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:42)

            at
            org.activiti.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:32)

            at
            org.activiti.engine.impl.jobexecutor.ExecuteJobsRunnable.run(ExecuteJobsRunnable.java:46)

            Robert Gimbel added a comment - Stacktrace Exception in thread "pool-1-thread-1" java.lang.NullPointerException at org.activiti.engine.impl.pvm.runtime.AtomicOperationTransitionCreateScope.execute(AtomicOperationTransitionCreateScope.java:34) at org.activiti.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:82) at org.activiti.engine.impl.jobexecutor.AsyncContinuationJobHandler.execute(AsyncContinuationJobHandler.java:35) at org.activiti.engine.impl.persistence.entity.JobEntity.execute(JobEntity.java:79) at org.activiti.engine.impl.persistence.entity.MessageEntity.execute(MessageEntity.java:29) at org.activiti.engine.impl.cmd.ExecuteJobsCmd.execute(ExecuteJobsCmd.java:70) at org.activiti.engine.impl.interceptor.CommandExecutorImpl.execute(CommandExecutorImpl.java:24) at org.activiti.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:42) at org.activiti.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:32) at org.activiti.engine.impl.jobexecutor.ExecuteJobsRunnable.run(ExecuteJobsRunnable.java:46)

            Christian added a comment - - edited

            I was able to reproduce the issue, the problem is first async job deletes existing concurrent execution of second job, which should not happen.

            Christian added a comment - - edited I was able to reproduce the issue, the problem is first async job deletes existing concurrent execution of second job, which should not happen.

            Christian added a comment -

            Needs to be passed to dev team.

            Christian added a comment - Needs to be passed to dev team.

            Daniel Meyer added a comment -

            Daniel Meyer added a comment - https://groups.google.com/forum/#!msg/camunda-bpm-users/j-kMGHZcXjw/YIR2f7eMzvYJ

            Robert Gimbel added a comment - Please review: https://github.com/camunda/camunda-bpm-platform/pull/59

              sebastian.menski Sebastian Menski
              ruecker Bernd Ruecker
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: