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

PathNotFoundException is thrown by accessing attributes with null value

    • Icon: Bug Report Bug Report
    • Resolution: Fixed
    • Icon: L3 - Default L3 - Default
    • 7.8.0, 7.8.0-alpha6
    • None
    • spin
    • None

      The following code snippet causes a PathNotFoundException:

      JSON("{ 'nullValue': null }").jsonPath("$.nullValue").element();
      

      Null as value of a JSON attribute is allowed according to the JSON specification.

      Affected versions: this behavior was introduced with SPIN 1.0.0-alpha2

        This is the controller panel for Smart Panels app

            [CAM-8417] PathNotFoundException is thrown by accessing attributes with null value

            Tassilo Weidner created issue -
            Tassilo Weidner made changes -
            Description Original: The following code snippet causes a {{PathNotFoundException}}:
            {code:java}
            JSON("{ \"nullValue\": null }").jsonPath("$.nullValue").element();
            {code}

            Null as value of a JSON attribute is allowed according to the [JSON specification|http://www.json.org/].

            Affected versions: this behavior was introduced with SPIN 1.0.0-alpha2
            New: The following code snippet causes a {{PathNotFoundException}}:
            {code:java}
            JSON("{ 'nullValue': null }").jsonPath("$.nullValue").element();
            {code}

            Null as value of a JSON attribute is allowed according to the [JSON specification|http://www.json.org/].

            Affected versions: this behavior was introduced with SPIN 1.0.0-alpha2
            Tassilo Weidner made changes -
            Fix Version/s New: 7.8.0 [ 14894 ]
            Tassilo Weidner made changes -
            Status Original: Open [ 1 ] New: In Progress [ 3 ]
            Tassilo Weidner made changes -
            Assignee Original: Tassilo Weidner [ tassilo.weidner ] New: Svetlana Dorokhova [ svetlana.dorokhova ]
            Resolution New: Fixed [ 1 ]
            Status Original: In Progress [ 3 ] New: Resolved [ 5 ]
            Remaining Estimate New: 0 minutes [ 0 ]
            Original Estimate New: 0 minutes [ 0 ]
            Svetlana Dorokhova made changes -
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]
            Yana Vasileva made changes -
            Fix Version/s New: 7.8.0-alpha6 [ 15101 ]
            Thorben Lindhauer made changes -
            Workflow Original: camunda BPM [ 44492 ] New: Backup_camunda BPM [ 63329 ]

              svetlana.dorokhova Svetlana Dorokhova
              tassilo.weidner Tassilo Weidner
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: