axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michele Mazzucco <Michele.Mazzu...@ncl.ac.uk>
Subject [Axis2] multiple requests question
Date Mon, 14 Aug 2006 17:24:16 GMT
Hi all,

is it possible to send multiple request with the same
ServiceClient/OperationClient? If yes, could anybody explain me why I'm
getting a NullPointerException when multiple requests are issued with
the same sender object (please see the stack trace below)? I'm using the
latest nightly build and, if I'm right, I remember the same code worked
successfully some time ago. Any idea?

Thanks,
Michele

ERROR Sender$StressTestCallback:onError - Received error:
org.apache.axis2.AxisFault: java.lang.NullPointerException
	at org.apache.axis2.util.CallbackReceiver.receive(CallbackReceiver.java:65)
	at org.apache.axis2.engine.AxisEngine.receiveFault(AxisEngine.java:589)
	at
org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:281)
	at org.apache.axis2.transport.http.HTTPWorker.service(HTTPWorker.java:238)
	at
org.apache.axis2.transport.http.server.DefaultHttpServiceProcessor.doService(DefaultHttpServiceProcessor.java:179)
	at org.apache.http.protocol.HttpService.handleRequest(HttpService.java:123)
	at
org.apache.axis2.transport.http.server.DefaultHttpServiceProcessor.run(DefaultHttpServiceProcessor.java:246)
	at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
	at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
	at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.Exception: org.apache.axis2.AxisFault:
java.lang.NullPointerException; nested exception is:
	java.lang.NullPointerException
	at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:185)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
	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.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:667)
	at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
	at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
	at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
	at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.NullPointerException
	at
org.apache.axis2.addressing.AddressingHelper.getAnonymousParameterValue(AddressingHelper.java:78)
	at
org.apache.axis2.handlers.addressing.AddressingWSDLValidationHandler.checkAnonymous(AddressingWSDLValidationHandler.java:70)
	at
org.apache.axis2.handlers.addressing.AddressingWSDLValidationHandler.invoke(AddressingWSDLValidationHandler.java:39)
	at org.apache.axis2.engine.Phase.invoke(Phase.java:380)
	at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:515)
	at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:486)
	at
org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:283)
	at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:145)
	... 16 more

	at org.apache.axis2.AxisFault.<init>(AxisFault.java:159)
	... 10 more

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message