Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-3007

NPE in JSON Rendering if value map contains a null value

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Servlets Get 2.1.4
    • Servlets Get 2.1.6
    • Servlets
    • None

    Description

      If the value map contains a null value for a key, this fails with a NPE during JSON rendering as the ResourceTraversor does not handle this case

      Attachments

        Activity

          Added an extra null check

          cziegeler Carsten Ziegeler added a comment - Added an extra null check

          People

            cziegeler Carsten Ziegeler
            cziegeler Carsten Ziegeler
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: