-
Bug Report
-
Resolution: Fixed
-
L3 - Default
-
None
Steps to reproduce:
1) deploy the attached process twice (so that there are two version of it)
2) start an instance of the first instance (the process instance should fail to execute the second service task, an incident should be created)
3) try to migrate this process instance to the second version of the process
Problem:
The following NullPointerException is thrown:
Apr 12, 2016 11:04:59 AM org.camunda.bpm.engine.rest.exception.ExceptionHandler toResponse WARNING: java.lang.NullPointerException at org.camunda.bpm.engine.impl.migration.instance.parser.IncidentInstanceHandler.handle(IncidentInstanceHandler.java:31) at org.camunda.bpm.engine.impl.migration.instance.parser.IncidentInstanceHandler.handle(IncidentInstanceHandler.java:24) at org.camunda.bpm.engine.impl.migration.instance.parser.MigratingInstanceParser.parse(MigratingInstanceParser.java:111) at org.camunda.bpm.engine.impl.migration.MigrateProcessInstanceCmd.migrateProcessInstance(MigrateProcessInstanceCmd.java:104) at org.camunda.bpm.engine.impl.migration.MigrateProcessInstanceCmd.execute(MigrateProcessInstanceCmd.java:86) at org.camunda.bpm.engine.impl.migration.MigrateProcessInstanceCmd.execute(MigrateProcessInstanceCmd.java:64) at org.camunda.bpm.engine.impl.interceptor.CommandExecutorImpl.execute(CommandExecutorImpl.java:24) at org.camunda.bpm.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:95) at org.camunda.bpm.engine.impl.interceptor.ProcessApplicationContextInterceptor.execute(ProcessApplicationContextInterceptor.java:66) at org.camunda.bpm.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:30) at org.camunda.bpm.engine.impl.migration.MigrationPlanExecutionBuilderImpl.execute(MigrationPlanExecutionBuilderImpl.java:49) at org.camunda.bpm.engine.rest.impl.MigrationRestServiceImpl.executeMigrationPlan(MigrationRestServiceImpl.java:62) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) ...