maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Johannes Odland (JIRA)" <j...@codehaus.org>
Subject [jira] (MCHANGES-309) RestJiraDownloader does not handle explicit JSON null values
Date Thu, 16 May 2013 06:51:52 GMT

     [ https://jira.codehaus.org/browse/MCHANGES-309?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Johannes Odland updated MCHANGES-309:
-------------------------------------

    Attachment: MCHANGES-309__RestJiraDownloader_does_not_handle_explicit_JSON_null_values.patch

Attached patch
                
> 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

Mime
View raw message