We couldn't load the project sidebar. Refresh the page to try again.
If the problem persists, contact your Jira admin.
Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-7828

NullPointerException when migrating process with Message end event

      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):

        This is the controller panel for Smart Panels app

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

            NullPointerException when migrating process with Message end event

                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):

                  This is the controller panel for Smart Panels app

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

                          Created:
                          Updated:
                          Resolved:

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

                                Created:
                                Updated:
                                Resolved: