You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@usergrid.apache.org by "Michael Russo (JIRA)" <ji...@apache.org> on 2016/08/05 21:42:20 UTC

[jira] [Commented] (USERGRID-1276) NPE when doing POST to App token with form data and client_credentials grant

    [ https://issues.apache.org/jira/browse/USERGRID-1276?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15410123#comment-15410123 ] 

Michael Russo commented on USERGRID-1276:
-----------------------------------------

Do you have an example request?

> NPE when doing POST to App token with form data and client_credentials grant
> ----------------------------------------------------------------------------
>
>                 Key: USERGRID-1276
>                 URL: https://issues.apache.org/jira/browse/USERGRID-1276
>             Project: Usergrid
>          Issue Type: Story
>            Reporter: Jeffrey 
>
> 2016-04-07 22:09:06,694 [http-bio-8080-exec-26] ERROR org.apache.usergrid.rest.exceptions.ThrowableMapper- An uncaught exception occurred during HTTP invocation
> java.lang.NullPointerException
> 	at org.apache.usergrid.rest.applications.ApplicationResource.getAccessTokenPostJson(ApplicationResource.java:331)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:497)
> 	at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)
> 	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)
> 	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)
> 	at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)
> 	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)