]
sun_luck V updated JBWS-3633:
-----------------------------
Summary: web service invocation using Jboss 6 throwing null pointer exception, works
fine with jboss 5 (was: Jboss 6--- [org.apache.cxf.phase.PhaseInterceptorChain]
Interceptor for "Given_service_class" has thrown exception, unwinding now:
java.lang.NullPointerException)
web service invocation using Jboss 6 throwing null pointer exception,
works fine with jboss 5
---------------------------------------------------------------------------------------------
Key: JBWS-3633
URL:
https://issues.jboss.org/browse/JBWS-3633
Project: JBoss Web Services
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Environment: Jboss 6 Final, Jaxb webservice (based on soap) ,Rich faces 4(JSF
2.0), Spring 3.0, Webservice Jboss 6,
invocation null pointer exception
Reporter: sun_luck V
Labels: Webservice, exception, invocation, jawaCXF, jboss6, null,
nullpointerexception, ponter
I am new to webservice and jboss 6 ,earlier I was working with Jboss 5 and my we wervice
was working fine but as a part of migration to RichFaces 4 we moved to J boss 6, and now I
have started getting this problem.
While invoking JAXb web service (SOAP) using JBOSS 6 Final I am getting a null pointer
Exception: the complete stack Trace is as follows:
WARN [org.apache.cxf.phase.PhaseInterceptorChain] Interceptor for
{http://www.webservice.weservice1/}weservice1#{http://www.webservice.weservice1/}Some_method
has thrown exception, unwinding now: java.lang.NullPointerException
at
com.cognizant.epc.webservice.SoapHeaderHandler.handleMessage(SoapHeaderHandler.java:57)
[:]
at
com.cognizant.epc.webservice.SoapHeaderHandler.handleMessage(SoapHeaderHandler.java:27)
[:]
at
org.apache.cxf.jaxws.handler.HandlerChainInvoker.invokeHandleMessage(HandlerChainInvoker.java:335)
[:2.3.1-patch-01]
at
org.apache.cxf.jaxws.handler.HandlerChainInvoker.invokeHandlerChain(HandlerChainInvoker.java:253)
[:2.3.1-patch-01]
at
org.apache.cxf.jaxws.handler.HandlerChainInvoker.invokeProtocolHandlers(HandlerChainInvoker.java:131)
[:2.3.1-patch-01]
at
org.apache.cxf.jaxws.handler.soap.SOAPHandlerInterceptor.handleMessageInternal(SOAPHandlerInterceptor.java:171)
[:2.3.1-patch-01]
at
org.apache.cxf.jaxws.handler.soap.SOAPHandlerInterceptor.handleMessage(SOAPHandlerInterceptor.java:126)
[:2.3.1-patch-01]
at
org.apache.cxf.jaxws.handler.soap.SOAPHandlerInterceptor.handleMessage(SOAPHandlerInterceptor.java:71)
[:2.3.1-patch-01]
at
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:255)
[:2.3.1-patch-01]
at
org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:113)
[:2.3.1-patch-01]
at
org.apache.cxf.transport.servlet.ServletDestination.invoke(ServletDestination.java:97)
[:2.3.1-patch-01]
at
org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:461)
[:2.3.1-patch-01]
at org.jboss.wsf.stack.cxf.ServletControllerExt.invoke(ServletControllerExt.java:172)
[:3.4.1.GA]
at
org.jboss.wsf.stack.cxf.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:57)
[:3.4.1.GA]
at
org.jboss.wsf.stack.cxf.transport.ServletHelper.callRequestHandler(ServletHelper.java:156)
[:3.4.1.GA]
at org.jboss.wsf.stack.cxf.CXFServletExt.invoke(CXFServletExt.java:90) [:3.4.1.GA]
at
org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:179)
[:2.3.1-patch-01]
at
org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(AbstractHTTPServlet.java:103)
[:2.3.1-patch-01]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:754) [:1.0.0.Final]
at
org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:159)
[:2.3.1-patch-01]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:324)
[:6.1.0.Final]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)
[:6.1.0.Final]
at com.cognizant.epc.filter.ErrorFilter.doFilter(ErrorFilter.java:39) [:]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274)
[:6.1.0.Final]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)
[:6.1.0.Final]
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
[:6.1.0.Final]
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
[:6.1.0.Final]
at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:181)
[:6.1.0.Final]
at
org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.event(CatalinaContext.java:285)
[:1.1.0.Final]
at
org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.invoke(CatalinaContext.java:261)
[:1.1.0.Final]
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:88)
[:6.1.0.Final]
at
org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:100)
[:6.1.0.Final]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:159)
[:6.1.0.Final]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
[:6.1.0.Final]
at
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
[:6.1.0.Final]
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
[:6.1.0.Final]
at
org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:53)
[:6.1.0.Final]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362)
[:6.1.0.Final]
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
[:6.1.0.Final]
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:654)
[:6.1.0.Final]
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:951)
[:6.1.0.Final]
at java.lang.Thread.run(Thread.java:619) [:1.6.0_12]
Please Provide me a solution to this problem. Thanks in advance!
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: