Description
Need to figure out/fix the below exception -
WARN org.apache.usergrid.rest.applications.ApplicationResource- Unexpected exception during token username/password verification
java.lang.RuntimeException: Entity is null
at org.apache.usergrid.corepersistence.CpEntityManager.getDictionaryElementValue(CpEntityManager.java:1320)
at org.apache.usergrid.management.cassandra.ManagementServiceImpl.readCreds(ManagementServiceImpl.java:3260)
at org.apache.usergrid.management.cassandra.ManagementServiceImpl.readUserPasswordCredentials(ManagementServiceImpl.java:3211)
at org.apache.usergrid.management.cassandra.ManagementServiceImpl.verify(ManagementServiceImpl.java:3311)
at org.apache.usergrid.management.cassandra.ManagementServiceImpl.verifyAppUserPasswordCredentials(ManagementServiceImpl.java:3080)
at org.apache.usergrid.rest.applications.ApplicationResource.getAccessToken(ApplicationResource.java:236)
at org.apache.usergrid.rest.applications.ApplicationResource.getAccessTokenPost(ApplicationResource.java:318)
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)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)
at org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:309)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)
at org.glassfish.jersey.internal.Errors.process(Errors.java:315)
at org.glassfish.jersey.internal.Errors.process(Errors.java:297)