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

[jira] [Updated] (USERGRID-62) NPE when service is invoked via query

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

Malaka Mahanama updated USERGRID-62:
------------------------------------

    Attachment: usergrid-62.png

> 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
>            Assignee: Malaka Mahanama
>             Fix For: 1.1
>
>         Attachments: usergrid-62.png
>
>
> "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.2#6252)