Rod Simpson created USERGRID-62:
-----------------------------------
Summary: NPE when service is invoked via query
Key: USERGRID-62
URL: https://issues.apache.org/jira/browse/USERGRID-62
Project: Usergrid
Issue Type: Story
Components: Stack
Reporter: Rod Simpson
"Not sure where this comes from. Here's the stack trace on the server
{code}
java.lang.NullPointerException
at org.usergrid.persistence.Query.containsUuidIdentifersOnly(Query.java:464)
at org.usergrid.persistence.Query.containsSingleUuidIdentifier(Query.java:453)
at org.usergrid.services.ServiceContext.isByUuid(ServiceContext.java:269)
at org.usergrid.services.ServiceContext.isByQuery(ServiceContext.java:277)
at org.usergrid.services.AbstractService.invoke(AbstractService.java:593)
at org.usergrid.services.AbstractService.invoke(AbstractService.java:509)
at org.usergrid.services.ServiceRequest.execute(ServiceRequest.java:186)
at org.usergrid.services.ServiceRequest.invokeMultiple(ServiceRequest.java:229)
at org.usergrid.services.ServiceRequest.execute(ServiceRequest.java:189)
at org.usergrid.services.ServiceRequest.execute(ServiceRequest.java:175)
at
org.usergrid.rest.applications.ServiceResource.executeServiceRequest(ServiceResource.java:206)
at
org.usergrid.rest.applications.ServiceResource.executePost(ServiceResource.java:298)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)
at
com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$TypeOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:185)
at
com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)
at
com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:288)
at
com.sun.jersey.server.impl.uri.rules.SubLocatorRule.accept(SubLocatorRule.java:134)
at
com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
at
com.sun.jersey.server.impl.uri.rules.SubLocatorRule.accept(SubLocatorRule.java:134)
at
com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
at
com.sun.jersey.server.impl.uri.rules.SubLocatorRule.accept(SubLocatorRule.java:134)
at
com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
at
com.sun.jersey.server.impl.uri.rules.SubLocatorRule.accept(SubLocatorRule.java:134)
at
com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
at
com.sun.jersey.server.impl.uri.rules.SubLocatorRule.accept(SubLocatorRule.java:134)
at
com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
at
com.sun.jersey.server.impl.uri.rules.SubLocatorRule.accept(SubLocatorRule.java:134)
at
com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
at
com.sun.jersey.server.impl.uri.rules.SubLocatorRule.accept(SubLocatorRule.java:134)
:
{code}
"
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)