NPE occurs when variables are retrieved by REST API queryVariableInstances

XMLWordPrintable

    • Type: Bug Report
    • Resolution: Fixed
    • Priority: L3 - Default
    • 7.0.2, 7.1.0, 7.1.0-alpha1
    • Affects Version/s: 7.0.0, 7.0.1
    • Component/s: 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

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

                Created:
                Updated:
                Resolved: