PathNotFoundException is thrown by accessing attributes with null value

XMLWordPrintable

    • Type: Bug Report
    • Resolution: Fixed
    • Priority: L3 - Default
    • 7.8.0, 7.8.0-alpha6
    • Affects Version/s: None
    • Component/s: 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

            Assignee:
            Svetlana Dorokhova
            Reporter:
            Tassilo Weidner-Mühl
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: