NPE when saving list variable with null element

XMLWordPrintable

    • Type: Bug Report
    • Resolution: Unresolved
    • Priority: L3 - Default
    • None
    • Affects Version/s: None
    • Component/s: engine

      What are the steps to reproduce your problem?

      1. Configure JSON serialization format: <property name="defaultSerializationFormat">application/json</property>
      2. Create a model with a service task that, on the Input/Output tab, creates a list.
      3. Place one element into that list, with a

      ${null}

      value.
      4. Run the model (an example model is attached).

      What is the problem?
      When creating a list using the Input/Output tab (the attached example uses an output parameter, but the same issue occurs with an input parameter), if the list contains only a single null element, an exception occurs. The exception is a NullPointerException and seems to occur while Jackson is trying to infer a type for the list element. The relevant portion of the stack trace is attached.

      What would be the expected behavior:
      A list with a single null element is produced.

        This is the controller panel for Smart Panels app

              Assignee:
              Unassigned
              Reporter:
              Svetlana Dorokhova
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: