Uploaded image for project: 'Maven Changes Plugin'
  1. Maven Changes Plugin
  2. MCHANGES-309

RestJiraDownloader does not handle explicit JSON null values

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 2.9
    • 3.0.0, 3.0.0-M1
    • jira
    • None
    • Patch

    Description

      Jira might return explicit null values in its result

      {'resolution':null}

      . These are converted to explicit NullNodes by jackson.

      In the case of an explicit null value, RestJiraDownloader throws a NullPointerException.

      RestJiraDownloader must check both if val != null and !val.isNull().

      Attachments

        Issue Links

          Activity

            People

              sjaranowski Slawomir Jaranowski
              johannes.odland@gmail.com Johannes Odland
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: