cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lweil <laurence.w...@tiscali.co.uk>
Subject Null pointer in HolderInInterceptor when GET WSDL
Date Mon, 08 Nov 2010 12:33:14 GMT

Hi,

We are providing a set of services that are used by multiple clients,
including a .net call center app.

This app seems to make a call to our service firstly to get the WSDL,
turning on debugging on our servers we see the following message passed in
on this call:
 
<s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope"
xmlns:a="http://www.w3.org/2005/08/addressing"><s:Header><a:Action
s:mustUnderstand="1">http://schemas.xmlsoap.org/ws/2004/09/transfer/Get</a:Action><a:MessageID>urn:uuid:b2849fc9-6679-44d7-ae62-3f6c64744ae0</a:MessageID><a:ReplyTo><a:Address>http://www.w3.org/2005/08/addressing/anonymous</a:Address></a:ReplyTo><a:To
s:mustUnderstand="1">http://dhtcmrl1:8080/test-service/Customer?wsdl/mex</a:To></s:Header><s:Body/></s:Envelope>

This results in a nullpointer in CXF:

PhaseInterceptorChain - Interceptor for
{http://customer.service.test.co.uk/}CustomerServiceImplService has thrown
exception, unwinding now
java.lang.NullPointerException
	at
org.apache.cxf.jaxws.interceptors.HolderInInterceptor.handleMessage(HolderInInterceptor.java:50)
	at
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:247)
	at
org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:113)
	at
org.apache.cxf.transport.servlet.ServletDestination.invoke(ServletDestination.java:97)
	at
org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:458)
	at
org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:185)
	at
org.apache.cxf.transport.servlet.AbstractCXFServlet.invoke(AbstractCXFServlet.java:148)
	at
org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:179)
	at
org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(AbstractHTTPServlet.java:103)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
	at
org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:159)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
	at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
	at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
	at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
	at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
	at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
	at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
	at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
	at java.lang.Thread.run(Thread.java:619)
2010-11-08 11:43:17,826 INFO [http-8080-1] Soap12FaultOutInterceptor - class
org.apache.cxf.binding.soap.interceptor.Soap12FaultOutInterceptor$Soap12FaultOutInterceptorInternalapplication/soap+xml

The service has been configured with ws-addressing support. It's running on
tomcat 6 and we are using version 2.3.0 of CXF.

Any help appreciated!

Cheers
-- 
View this message in context: http://cxf.547215.n5.nabble.com/Null-pointer-in-HolderInInterceptor-when-GET-WSDL-tp3254985p3254985.html
Sent from the cxf-user mailing list archive at Nabble.com.

Mime
View raw message