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

NPE occurs when variables are retrieved by REST API queryVariableInstances

    XMLWordPrintable

Details

    • Bug Report
    • Resolution: Fixed
    • L3 - Default
    • 7.0.2, 7.1.0, 7.1.0-alpha1
    • 7.0.0, 7.0.1
    • engine
    • None

    Description

      Reproduce steps:

      Create a process which starts with some variables and then set the value of the variables to null in a delegate. Retrieve the variables from the running instance via REST API.

      Problem:

      Following line in VariableInstanceDTO throwns a NPE because the value returned by entiy.getValue is null: dto.setType(entity.getType().getTypeNameForValue(entity.getValue()));

      Expected behavior:

      Get rid of NPE

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Activity

            People

              smirnov Roman Smirnov
              lipphardt Christian
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Salesforce