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

Throw a ProcessEngineException when a loop variable could be found for a specific execution

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: L3 - Default
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.1.0, 7.1.0-alpha2
    • Component/s: engine
    • Labels:
      None

      Description

      In not reproducable situations `MultiInstanceActivityBehavior#getLoopVariable()` returns `null`, so that a `NullPointerException` will be thrown, if the `null` value will be cast to an `int` value.

      AT:

      • add a null check: if the loop variable is `null` throw a ProcessEngineException

      See forum: https://groups.google.com/d/msg/camunda-bpm-users/-5ua4D7GbWo/wh_yVXsqgsEJ

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            smirnov Roman Smirnov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: