You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@usergrid.apache.org by "Anuradha Weeraman (JIRA)" <ji...@apache.org> on 2014/05/13 04:21:15 UTC

[jira] [Resolved] (USERGRID-18) null pointer response when adding entity to collection by name

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

Anuradha Weeraman resolved USERGRID-18.
---------------------------------------

    Resolution: Fixed

> null pointer response when adding entity to collection by name
> --------------------------------------------------------------
>
>                 Key: USERGRID-18
>                 URL: https://issues.apache.org/jira/browse/USERGRID-18
>             Project: Usergrid
>          Issue Type: Bug
>          Components: Stack
>            Reporter: Rod Simpson
>            Assignee: Anuradha Weeraman
>             Fix For: 1.1
>
>
> "This is an error handling issue that could be improved. When trying to add an entity to another collection mistakenly by name, a NPE is given. It would be helpful if the exception explained that uuid is needed instead of giving NPE. New users looking at the API could get confused by this. 
> Request path: https://api.usergrid.com/uyourorgname/test/zemptycollections/testentity13658241603/zemptycollection13656406513s/testentity13658241614 
> { 
> ""error"": ""null_pointer"", 
> ""timestamp"": 1365824162338, 
> ""duration"": 0, 
> ""exception"": ""java.lang.NullPointerException"" 
> }"



--
This message was sent by Atlassian JIRA
(v6.2#6252)