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

NPE occurs when variables are retrieved by REST API queryVariableInstances

XMLWordPrintable

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

      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

        This is the controller panel for Smart Panels app

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

                Created:
                Updated:
                Resolved: