Rod Simpson created USERGRID-18:
-----------------------------------

             Summary: 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


"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.1.5#6160)

Reply via email to