[
https://issues.apache.org/jira/browse/USERGRID-61?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jeffrey resolved USERGRID-61.
------------------------------
Resolution: Fixed
> Query of collection with 6000+ entities produces a NullPointerException
> -----------------------------------------------------------------------
>
> Key: USERGRID-61
> URL: https://issues.apache.org/jira/browse/USERGRID-61
> Project: Usergrid
> Issue Type: Story
> Components: Stack
> Reporter: Rod Simpson
>
> "
> Problem:
> User has 6000+ entities in their collection and their query returns the above
> NullPointerException. If they reduce the number of entities to less than
> 6000, the query works. User plans to add 8000 to 12000 entities in the
> future.
> API call:
> http://api.usergrid.com/fdsafdsa/fdsafdsa/flatsales?ql=select%20*%20where%20districtid%3D1%20and%20roomscount%3D3&limit=&_=1383958716647
> Result:
> {""error"":""null_pointer"",""timestamp"":1384220932467,""duration"":0,""exception"":""java.lang.NullPointerException""}
>
> Access log entry shows HTTP status code 400 error:
> 192.168.12.144 - - [12/Nov/2013:01:45:06 +0000] ""GET
> /fdsafdsa/fdsafdsa/flatsales?ql=select%20*%20where%20districtid%3D1%20and%20roomscount%3D3&limit=&_=1383958716647&access_token=YWMtyO13lkizEeOWYnG2ICC8bAAAAUJdb8cTMcXAl8tze6vtB8IwgcO4hZ7kMGY
> HTTP/1.1"" 400 119 688
> text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
> application/json
> Host: atc00usergrid Name:
> /var/log/tomcat7/localhost_access_log.2013-11-12.txt
> catalina.out shows me nothing, we eat the stack trace.
> "
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)