You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ace.apache.org by "Paul Bakker (Updated) (JIRA)" <ji...@apache.org> on 2011/10/28 11:16:32 UTC

[jira] [Updated] (ACE-196) addRepositoryObject REST api has a nullpointerexception when the "left" and "right" convenience properties are not set.

     [ https://issues.apache.org/jira/browse/ACE-196?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul Bakker updated ACE-196:
----------------------------

    Attachment: rest-api-workspace.patch
    
> addRepositoryObject REST api has a nullpointerexception when the "left" and "right" convenience properties are not set.
> -----------------------------------------------------------------------------------------------------------------------
>
>                 Key: ACE-196
>                 URL: https://issues.apache.org/jira/browse/ACE-196
>             Project: Ace
>          Issue Type: Bug
>            Reporter: Paul Bakker
>         Attachments: rest-api-workspace.patch
>
>
> The null check in the code is incorrect because a null value will cause an exception before the check in the getLeft or getRight methods.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira