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

NullPointerException when migrating process with Message end event

    Details

      Description

      What are the steps to reproduce your problem?

      • Create the model with message end event, which is configured to be executed by external task (see attach). Important: messageEventDefinition node must NOT have id field.
      • Deploy the model
      • Start the process instance
      • Change a model slightly and deploy the second version
      • Try to generate Migration plan

      What is the problem?

       java.lang.NullPointerException
              at org.camunda.bpm.engine.impl.migration.DefaultMigrationActivityMatcher.equalId(DefaultMigrationActivityMatcher.java:25)
              at org.camunda.bpm.engine.impl.migration.DefaultMigrationActivityMatcher.matchActivities(DefaultMigrationActivityMatcher.java:21)
              at org.camunda.bpm.engine.impl.migration.DefaultMigrationInstructionGenerator.generateInstructionsForActivities(DefaultMigrationInstructionGenerator.java:91)
              at org.camunda.bpm.engine.impl.migration.DefaultMigrationInstructionGenerator.generate(DefaultMigrationInstructionGenerator.java:116)
              at org.camunda.bpm.engine.impl.migration.DefaultMigrationInstructionGenerator.generate(DefaultMigrationInstructionGenerator.java:69)
              at org.camunda.bpm.engine.impl.cmd.CreateMigrationPlanCmd.generateInstructions(CreateMigrationPlanCmd.java:105)
              at org.camunda.bpm.engine.impl.cmd.CreateMigrationPlanCmd.execute(CreateMigrationPlanCmd.java:67)
              at org.camunda.bpm.engine.impl.cmd.CreateMigrationPlanCmd.execute(CreateMigrationPlanCmd.java:46)
              at org.camunda.bpm.engine.impl.interceptor.CommandExecutorImpl.execute(CommandExecutorImpl.java:24)
              at org.camunda.bpm.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:104)
              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.MigrationPlanBuilderImpl.build(MigrationPlanBuilderImpl.java:93)
              at org.camunda.bpm.engine.rest.impl.MigrationRestServiceImpl.generateMigrationPlan(MigrationRestServiceImpl.java:59)

      What would be the expected behavior:
      Migration plan is generated

      Hints (optional):

        Activity

        svetlana.dorokhova Svetlana Dorokhova created issue -
        svetlana.dorokhova Svetlana Dorokhova made changes -
        Field Original Value New Value
        Project Support [ 10111 ] camunda BPM [ 10230 ]
        Key SUPPORT-3338 CAM-7828
        Workflow Support [ 43069 ] camunda BPM [ 43069 ]
        Security Private Support Case [ 10110 ]
        Component/s engine [ 11656 ]
        Component/s engine [ 12052 ]
        Environment Camunda 7.7.0-alpha1
        svetlana.dorokhova Svetlana Dorokhova made changes -
        Attachment message_end.bpmn [ 23995 ]
        svetlana.dorokhova Svetlana Dorokhova made changes -
        Attachment message_end.bpmn [ 23995 ]
        svetlana.dorokhova Svetlana Dorokhova made changes -
        Attachment message_end.bpmn [ 23996 ]
        svetlana.dorokhova Svetlana Dorokhova made changes -
        Attachment message_end.bpmn [ 23996 ]
        svetlana.dorokhova Svetlana Dorokhova made changes -
        Attachment message_end.bpmn [ 23997 ]
        svetlana.dorokhova Svetlana Dorokhova made changes -
        Link This issue is related to SUPPORT-3335 [ SUPPORT-3335 ]
        svetlana.dorokhova Svetlana Dorokhova made changes -
        Labels SUPPORT
        matthijs.burke Matthijs Burke made changes -
        Link This issue is depended on by SUPPORT-3335 [ SUPPORT-3335 ]
        matthijs.burke Matthijs Burke made changes -
        Link This issue is related to SUPPORT-3335 [ SUPPORT-3335 ]
        matthijs.burke Matthijs Burke made changes -
        Fix Version/s 7.6.x [ 14597 ]
        Fix Version/s 7.7.x [ 14699 ]
        Fix Version/s 7.8.x [ 14900 ]
        roman.smirnov Smirnov Roman made changes -
        Assignee Thomas Allan [ thomas.allan ]
        roman.smirnov Smirnov Roman made changes -
        Fix Version/s 7.8.0 [ 14894 ]
        Fix Version/s 7.8.x [ 14900 ]
        thomas.allan Thomas Allan made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        thomas.allan Thomas Allan made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Original Estimate 0 minutes [ 0 ]
        Remaining Estimate 0 minutes [ 0 ]
        Assignee Thomas Allan [ thomas.allan ] Smirnov Roman [ roman.smirnov ]
        Resolution Fixed [ 1 ]
        roman.smirnov Smirnov Roman made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Assignee Smirnov Roman [ roman.smirnov ] Thomas Allan [ thomas.allan ]
        thomas.allan Thomas Allan made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Assignee Thomas Allan [ thomas.allan ] Smirnov Roman [ roman.smirnov ]
        Resolution Fixed [ 1 ]
        tassilo.weidner Tassilo Weidner made changes -
        Affects Version/s 7.8.0-alpha1 [ 14905 ]
        tassilo.weidner Tassilo Weidner made changes -
        Affects Version/s 7.8.0-alpha1 [ 14905 ]
        tassilo.weidner Tassilo Weidner made changes -
        Fix Version/s 7.8.0-alpha1 [ 14905 ]
        tassilo.weidner Tassilo Weidner made changes -
        Affects Version/s 7.8.0-alpha1 [ 14905 ]
        tassilo.weidner Tassilo Weidner made changes -
        Fix Version/s 7.8.0-alpha1 [ 14905 ]
        roman.smirnov Smirnov Roman made changes -
        Fix Version/s 7.7.1 [ 14896 ]
        Fix Version/s 7.6.7 [ 14899 ]
        Fix Version/s 7.6.x [ 14597 ]
        Fix Version/s 7.7.x [ 14699 ]
        roman.smirnov Smirnov Roman made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        svetlana.dorokhova Svetlana Dorokhova made changes -
        Fix Version/s 7.8.0-alpha2 [ 14906 ]

          People

          • Assignee:
            roman.smirnov Smirnov Roman
            Reporter:
            svetlana.dorokhova Svetlana Dorokhova
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development