0 Replies Latest reply on Jul 16, 2013 4:44 PM by Anu Raj

    HANDLER_RAISED_RUNTIME_EXCEPTION: java.lang.NullPointerException

    Anu Raj Newbie

      WARNING [org.apache.cxf.jaxws.handler.HandlerChainInvoker] (http-/127.0.0.1:7080-1) HANDLER_RAISED_RUNTIME_EXCEPTION: java.lang.NullPointerException

      g.picketlink.identity.federation.core.wstrust.handlers.STSSecurityHandler.createSTSClient(STSSecurityHandler.java:311) [picketlink-core-2.1.5-2012Sep04.jar:2.1.5-2012Sep04]

      g.picketlink.identity.federation.core.wstrust.handlers.STSSecurityHandler.handleMessage(STSSecurityHandler.java:189) [picketlink-core-2.1.5-2012Sep04.jar:2.1.5-2012Sep04]

      g.picketlink.identity.federation.core.wstrust.handlers.STSSecurityHandler.handleMessage(STSSecurityHandler.java:120) [picketlink-core-2.1.5-2012Sep04.jar:2.1.5-2012Sep04]

      g.apache.cxf.jaxws.handler.HandlerChainInvoker.invokeHandleMessage(HandlerChainInvoker.java:335) [cxf-2.4.6.jar:2.4.6]

      g.apache.cxf.jaxws.handler.HandlerChainInvoker.invokeHandlerChain(HandlerChainInvoker.java:253) [cxf-2.4.6.jar:2.4.6]

      g.apache.cxf.jaxws.handler.HandlerChainInvoker.invokeProtocolHandlers(HandlerChainInvoker.java:131) [cxf-2.4.6.jar:2.4.6]

      g.apache.cxf.jaxws.handler.soap.SOAPHandlerInterceptor.handleMessageInternal(SOAPHandlerInterceptor.java:168) [cxf-2.4.6.jar:2.4.6]

      g.apache.cxf.jaxws.handler.soap.SOAPHandlerInterceptor.handleMessage(SOAPHandlerInterceptor.java:123) [cxf-2.4.6.jar:2.4.6]

      g.apache.cxf.jaxws.handler.soap.SOAPHandlerInterceptor.handleMessage(SOAPHandlerInterceptor.java:70) [cxf-2.4.6.jar:2.4.6]

      g.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:263) [cxf-2.4.6.jar:2.4.6]

      g.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121) [cxf-2.4.6.jar:2.4.6]

      g.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:207) [cxf-2.4.6.jar:2.4.6]

      g.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:209) [cxf-2.4.6.jar:2.4.6]

      g.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:191) [cxf-2.4.6.jar:2.4.6]

      g.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:114) [cxf-2.4.6.jar:2.4.6]

      g.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:185) [cxf-2.4.6.jar:2.4.6]

      g.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(AbstractHTTPServlet.java:108) [cxf-2.4.6.jar:2.4.6]

      vax.servlet.http.HttpServlet.service(HttpServlet.java:754) [jboss-servlet-api_3.0_spec-1.0.2.Final-redhat-1.jar:1.0.2.Final-redhat-1]

      g.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:164) [cxf-2.4.6.jar:2.4.6]

      g.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:295) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]

      g.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]

      g.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]

      g.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:149) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]

      g.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169) [jboss-as-web-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]

      g.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:145) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]

      g.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]

      g.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]

      g.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:336) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]

      g.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]

      g.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]

      g.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:920) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]

      va.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_33]

       

       

      I am trying to access my service hosted in Jboss EAP 6.1 and I am getting the above exception. I am using handlerchain annotation at the service level.

      In one of the forum, I saw this issue occurs due to apache CXF SAAJ version and Jboss SAAJ version does not match.

      I am using Apache CXF 2.7.5 stack.

      Can anybody help me out.

       

      Thanks,

      Abarna