axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ignacio Silva-Lepe" <>
Subject NPE trying to send from an InOutAsyncMessageReceiver
Date Tue, 10 Oct 2006 13:42:56 GMT
I am getting the NPE below trying to send from an InOutAsyncMessageReceiver.
It is possible that the envelope may not be correctly put together, but
without any more clues, it's not clear what may be causing the NPE, which
seems to happen inside Axiom.
One thing to notice is that the code that invokes AxisEngine.send catches
Throwable in addition to AxisFault, and nothing gets caught, so is also
seems like the NPE is being swallowed somewhere and not being thrown back.

Any help is appreciated.


Thread [pool-2-thread-2] (Suspended (exception NullPointerException))

       InternalOutputBuffer.realWriteBytes(byte[], int, int) line:
       ByteChunk.flushBuffer() line: 433
       InternalOutputBuffer.flush() line: 304
       Http11Processor.action(ActionCode, Object) line: 991
       Response.action(ActionCode, Object) line: 182
       OutputBuffer.doFlush(boolean) line: 322
       OutputBuffer.flush() line: 293
       CoyoteOutputStream.flush() line: 97
       StreamEncoder$ConverterSE.implFlush() line: 290
       StreamEncoder$ConverterSE(StreamEncoder).flush() line: 200
       OutputStreamWriter.flush() line: 236
       BufferedWriter.flush() line: 257
       BufferingXmlWriter.flush() line: 184
       SimpleNsStreamWriter(BaseStreamWriter).flush() line: 269
       MTOMXMLStreamWriter.flush() line: 119
OMOutputFormat) line: 412
OMOutputFormat, OMElement) line: 276
       CommonsHTTPTransportSender.invoke(MessageContext) line: 210
       AxisEngine.send(MessageContext) line: 642
       Axis2ServiceCallbackTargetInvoker.invokeTarget(Object) line:
       Axis2ServiceCallbackTargetInvoker.invoke(Message) line: 90
       InvokerInterceptor.invoke(Message) line: 44
       SynchronousBridgingInterceptor.invoke(Message) line: 41
       DataBindingInteceptor.invoke(Message) line: 71

TargetInvoker, Object[]) line: 60
       JDKCallbackInvocationHandler.invoke(Object, Method, Object[]) line:
       $Proxy31.getGreetingsCallback(String) line: not available
       HelloWorldImpl.getGreetings(String) line: 50
       NativeMethodAccessorImpl.invoke0(Method, Object, Object[]) line: not
available [native method]
       NativeMethodAccessorImpl.invoke(Object, Object[]) line: 64
       DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: 43

       Method.invoke(Object, Object...) line: 615

View raw message