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

NullPointerException when migrating process with Message end event

    Details

    • Type: Bug Report
    • Status: Closed
    • Priority: L3 - Default
    • Resolution: Fixed
    • Affects Version/s: 7.8.0-alpha1
    • Fix Version/s: 7.8.0, 7.7.1, 7.6.7
    • Component/s: engine
    • Labels:

      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

        There are no comments yet on this issue.

          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: