You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Dennis Lundberg (JIRA)" <ji...@codehaus.org> on 2014/03/13 21:45:59 UTC

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

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

Dennis Lundberg updated MCHANGES-309:
-------------------------------------

    Component/s: jira

> RestJiraDownloader does not handle explicit JSON null values
> ------------------------------------------------------------
>
>                 Key: MCHANGES-309
>                 URL: https://jira.codehaus.org/browse/MCHANGES-309
>             Project: Maven Changes Plugin
>          Issue Type: Bug
>          Components: jira
>    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 was sent by Atlassian JIRA
(v6.1.6#6162)