AnsweredAssumed Answered

Rest War with Spring Configuration, throws NullPointer

Question asked by aashish.panchal on Dec 19, 2014
I am using Activiti REST 5.15.1 , while configuring Rest application, i get below exception:
[org.restlet.Component.LogService] (http–0.0.0.0-8080-8) 2014-12-19   12:07:35   127.0.0.1   -   127.0.0.1   8080   GET   /activiti-bpm-portlet/service/runtime/tasks   start=0&size=10&   401   -   0   414   http://localhost:8080   Apache-HttpClient/4.3.4 (java 1.5)   -
12:07:35,302 WARNING [org.restlet.Component.ActivitiRestServicesApplication.StatusFilter] (http–0.0.0.0-8080-8) Exception or error caught in status service: java.lang.NullPointerException
   at org.activiti.rest.common.api.ActivitiUtil.getIdentityService(ActivitiUtil.java:70) [activiti-common-rest-5.15.1.jar:5.15.1]
   at org.activiti.rest.common.application.ActivitiRestApplication$1.verify(ActivitiRestApplication.java:62) [activiti-common-rest-5.15.1.jar:5.15.1]
   at org.restlet.security.SecretVerifier.verify(SecretVerifier.java:154) [org.restlet.jar:]
   at org.restlet.security.ChallengeAuthenticator.authenticate(ChallengeAuthenticator.java:161) [org.restlet.jar:]
   at org.activiti.rest.common.application.ActivitiRestApplication$2.authenticate(ActivitiRestApplication.java:87) [activiti-common-rest-5.15.1.jar:5.15.1]
   at org.restlet.security.Authenticator.beforeHandle(Authenticator.java:202) [org.restlet.jar:]

Attaching activiti-context.xml

Attachments

Outcomes