Skip to main content

soap.server.SOAPMessageDispatcher receive - SEVERE: NullPointerException

No replies
ms_sasikumar
Offline
Joined: 2006-06-05
Points: 0

Ref:

java
------
java version "1.5.0_22"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_22-b03)
Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_22-b03, mixed mode)

jaxws
-------
Build-Id: b59
Build-Version: JAX-WS RI 2.0_01-b59-fcs
Major-Version: 2.0_01
Class-Path: jaxws-api.jar jsr181-api.jar jsr250-api.jar saaj-api.jar s
aaj-impl.jar jsr173_api.jar sjsxp.jar resolver.jar jaxb-api.jar ../ja
xb/lib/jaxb-api.jar jaxb-impl.jar ../jaxb/lib/jaxb-impl.jar

A web service server was running without any trouble for atleast one month after that slowly it started giving this exception. Now it has increased its frequency. The exception comes from jaxws code.

Have you seen this before? If so, please mention a link to read or please explain what is wrong or to be done. Thanks

2010-05-17 18:49:11,127 ERROR [STDERR] javax.xml.ws.WebServiceException: java.lang.NullPointerException
2010-05-17 18:49:11,128 ERROR [STDERR] at com.sun.xml.ws.util.SOAPConnectionUtil.send(SOAPConnectionUtil.java:107)
2010-05-17 18:49:11,128 ERROR [STDERR] at com.sun.xml.ws.util.SOAPConnectionUtil.sendResponse(SOAPConnectionUtil.java:113)
2010-05-17 18:49:11,128 ERROR [STDERR] at com.sun.xml.ws.protocol.soap.server.SOAPMessageDispatcher.sendResponse(SOAPMessageDispatcher.java:380)
2010-05-17 18:49:11,128 ERROR [STDERR] at com.sun.xml.ws.protocol.soap.server.SOAPMessageDispatcher.receive(SOAPMessageDispatcher.java:157)
2010-05-17 18:49:11,128 ERROR [STDERR] at com.sun.xml.ws.server.Tie.handle(Tie.java:88)
2010-05-17 18:49:11,128 ERROR [STDERR] at com.sun.xml.ws.transport.http.servlet.WSServletDelegate.handle(WSServletDelegate.java:333)
2010-05-17 18:49:11,128 ERROR [STDERR] at com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doPost(WSServletDelegate.java:288)
2010-05-17 18:49:11,128 ERROR [STDERR] at com.sun.xml.ws.transport.http.servlet.WSServlet.doPost(WSServlet.java:77)
2010-05-17 18:49:11,128 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
2010-05-17 18:49:11,128 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
2010-05-17 18:49:11,128 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
2010-05-17 18:49:11,128 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
2010-05-17 18:49:11,128 ERROR [STDERR] at com.abc.common.session.SessionManagerFilter.doFilter(SessionManagerFilter.java:33)
2010-05-17 18:49:11,128 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
2010-05-17 18:49:11,128 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
2010-05-17 18:49:11,128 ERROR [STDERR] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
2010-05-17 18:49:11,128 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
2010-05-17 18:49:11,128 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
2010-05-17 18:49:11,128 ERROR [STDERR] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
2010-05-17 18:49:11,128 ERROR [STDERR] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
2010-05-17 18:49:11,128 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
2010-05-17 18:49:11,128 ERROR [STDERR] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
2010-05-17 18:49:11,128 ERROR [STDERR] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
2010-05-17 18:49:11,128 ERROR [STDERR] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
2010-05-17 18:49:11,128 ERROR [STDERR] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
2010-05-17 18:49:11,128 ERROR [STDERR] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
2010-05-17 18:49:11,128 ERROR [STDERR] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
2010-05-17 18:49:11,128 ERROR [STDERR] at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
2010-05-17 18:49:11,128 ERROR [STDERR] at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
2010-05-17 18:49:11,128 ERROR [STDERR] at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
2010-05-17 18:49:11,128 ERROR [STDERR] at java.lang.Thread.run(Thread.java:595)
2010-05-17 18:49:11,128 ERROR [STDERR] Caused by: java.lang.NullPointerException
2010-05-17 18:49:11,129 ERROR [STDERR] May 17, 2010 6:49:11 PM com.sun.xml.ws.protocol.soap.server.SOAPMessageDispatcher receive
SEVERE: java.lang.NullPointerException
javax.xml.ws.WebServiceException: java.lang.NullPointerException
at com.sun.xml.ws.util.SOAPConnectionUtil.send(SOAPConnectionUtil.java:107)
at com.sun.xml.ws.util.SOAPConnectionUtil.sendResponse(SOAPConnectionUtil.java:113)
at com.sun.xml.ws.protocol.soap.server.SOAPMessageDispatcher.sendResponse(SOAPMessageDispatcher.java:380)
at com.sun.xml.ws.protocol.soap.server.SOAPMessageDispatcher.receive(SOAPMessageDispatcher.java:157)
at com.sun.xml.ws.server.Tie.handle(Tie.java:88)
at com.sun.xml.ws.transport.http.servlet.WSServletDelegate.handle(WSServletDelegate.java:333)
at com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doPost(WSServletDelegate.java:288)
at com.sun.xml.ws.transport.http.servlet.WSServlet.doPost(WSServlet.java:77)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at com.shsolutions.common.session.SessionManagerFilter.doFilter(SessionManagerFilter.java:33)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.NullPointerException
2010-05-17 18:49:11,130 ERROR [STDERR] java.lang.NullPointerException
2010-05-17 18:49:11,130 ERROR [org.apache.coyote.http11.Http11Processor] Error finishing response
java.lang.NullPointerException
2010-05-17 18:49:11,130 ERROR [org.apache.coyote.http11.Http11BaseProtocol] Error reading request, ignored
java.lang.NullPointerException
2010-05-17 18:49:11,665 ERROR [STDERR] javax.xml.ws.WebServiceException: java.lang.NullPointerException
2010-05-17 18:49:11,665 ERROR [STDERR] at com.sun.xml.ws.util.SOAPConnectionUtil.send(SOAPConnectionUtil.java:107)
2010-05-17 18:49:11,665 ERROR [STDERR] at com.sun.xml.ws.util.SOAPConnectionUtil.sendResponse(SOAPConnectionUtil.java:113)
2010-05-17 18:49:11,665 ERROR [STDERR] at com.sun.xml.ws.protocol.soap.server.SOAPMessageDispatcher.sendResponse(SOAPMessageDispatcher.java:380)
2010-05-17 18:49:11,665 ERROR [STDERR] at com.sun.xml.ws.protocol.soap.server.SOAPMessageDispatcher.receive(SOAPMessageDispatcher.java:157)
2010-05-17 18:49:11,665 ERROR [STDERR] at com.sun.xml.ws.server.Tie.handle(Tie.java:88)
2010-05-17 18:49:11,665 ERROR [STDERR] at com.sun.xml.ws.transport.http.servlet.WSServletDelegate.handle(WSServletDelegate.java:333)
2010-05-17 18:49:11,665 ERROR [STDERR] at com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doPost(WSServletDelegate.java:288)
2010-05-17 18:49:11,665 ERROR [STDERR] at com.sun.xml.ws.transport.http.servlet.WSServlet.doPost(WSServlet.java:77)
2010-05-17 18:49:11,665 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
2010-05-17 18:49:11,665 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
2010-05-17 18:49:11,665 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
2010-05-17 18:49:11,665 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
2010-05-17 18:49:11,665 ERROR [STDERR] at com.shsolutions.common.session.SessionManagerFilter.doFilter(SessionManagerFilter.java:33)
2010-05-17 18:49:11,665 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
2010-05-17 18:49:11,665 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
2010-05-17 18:49:11,665 ERROR [STDERR] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
2010-05-17 18:49:11,665 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
2010-05-17 18:49:11,665 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
2010-05-17 18:49:11,665 ERROR [STDERR] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
2010-05-17 18:49:11,665 ERROR [STDERR] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)