You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Johannes Odland (JIRA)" <ji...@codehaus.org> on 2013/05/16 08:51:52 UTC

[jira] (MCHANGES-309) RestJiraDownloader does not handle explicit JSON null values

Johannes Odland created MCHANGES-309:
----------------------------------------

             Summary: RestJiraDownloader does not handle explicit JSON null values
                 Key: MCHANGES-309
                 URL: https://jira.codehaus.org/browse/MCHANGES-309
             Project: Maven 2.x Changes Plugin
          Issue Type: Bug
    Affects Versions: 2.9
            Reporter: Johannes Odland
         Attachments: MCHANGES-309__RestJiraDownloader_does_not_handle_explicit_JSON_null_values.patch

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().

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira