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

PathNotFoundException is thrown by accessing attributes with null value

    Details

    • Type: Bug Report
    • Status: Closed
    • Priority: L3 - Default
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.8.0, 7.8.0-alpha6
    • Component/s: spin
    • Labels:
      None

      Description

      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

        Activity

        tassilo.weidner Tassilo Weidner created issue -
        tassilo.weidner Tassilo Weidner made changes -
        Field Original Value New Value
        Description 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
        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 Tassilo Weidner made changes -
        Fix Version/s 7.8.0 [ 14894 ]
        tassilo.weidner Tassilo Weidner made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        tassilo.weidner Tassilo Weidner made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Original Estimate 0 minutes [ 0 ]
        Remaining Estimate 0 minutes [ 0 ]
        Assignee Tassilo Weidner [ tassilo.weidner ] Svetlana Dorokhova [ svetlana.dorokhova ]
        Resolution Fixed [ 1 ]
        svetlana.dorokhova Svetlana Dorokhova made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        yana.vasileva Yana Vasileva made changes -
        Fix Version/s 7.8.0-alpha6 [ 15101 ]
        thorben.lindhauer Thorben Lindhauer made changes -
        Workflow camunda BPM [ 44492 ] Backup_camunda BPM [ 63329 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development