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

Cannot set List/Map properties with null elements

    • Icon: Bug Report Bug Report
    • Resolution: Won't Fix
    • Icon: L3 - Default L3 - Default
    • None
    • None
    • spin
    • None

      NullPointerException at last line.

      Map<String, Object> json = new HashMap<String, Object>();
      json.put("age", 18);
      json.put("name", null);
      
      SpinJsonNode spinJsonNode = JSON("{}");
      spinJsonNode.prop("properties", json);
      

      The problem also occurs when setting a list with a null element or when processing JsonPath with on a document with null property values.

        This is the controller panel for Smart Panels app

            [CAM-4480] Cannot set List/Map properties with null elements

            Thorben Lindhauer created issue -
            Thorben Lindhauer made changes -
            Workflow Original: camunda BPM [ 31049 ] New: Backup_camunda BPM [ 55610 ]

            We are closing this ticket as part of our backlog grooming. Reasons:

            • We did not receive sufficient evidence that this ticket is important

            Thorben Lindhauer added a comment - We are closing this ticket as part of our backlog grooming. Reasons: We did not receive sufficient evidence that this ticket is important
            Thorben Lindhauer made changes -
            Resolution New: Won't Fix [ 2 ]
            Status Original: Open [ 1 ] New: Closed [ 6 ]

              Unassigned Unassigned
              thorben.lindhauer Thorben Lindhauer
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: