Skip to Content
0

SAP PI RCVR SOAP Adapter Error - Failed to call the endpoint: Error in call over HTTP: HTTP 0 null

May 23, 2017 at 07:32 PM

486

avatar image

Hello Experts,

Suddenly all my receiver SOAP(Webservices) interfaces stopped working with below exception.

SOAP: Call failed: java.lang.NullPointerException: while trying to invoke the method java.lang.Object.toString() of a null object returned from com.sap.aii.af.sdk.xi.mo.MessageContext.getAttribute(java.lang.String, int)

Here is the XPI log:

Communication over HTTP. Socket created.

Communication over HTTP. Sending a request ...

Socket established. Start writing HTTP headers ...

Socket established. Start writing HTTP headers ...

Writing Service Metering HTTP headers...

Main HTTP headers successfully written. Start sending the content ...

Main HTTP headers successfully written. Start sending the content ...

Error closing the output stream [EXCEPTION] java.net.SocketException: Socket closed at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:116) at java.net.SocketOutputStream.write(SocketOutputStream.java:153) at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82) at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140) at java.io.FilterOutputStream.close(FilterOutputStream.java:158) at com.sap.aii.af.sdk.xi.net.HTTPClientConnection.call(HTTPClientConnection.java:1375) at com.sap.aii.af.sdk.xi.net.HTTPClientConnection.post(HTTPClientConnection.java:352)

Error in call over HTTP: HTTP 0 null
[EXCEPTION]
java.lang.NullPointerException: while trying to invoke the method java.lang.Object.toString() of a null object returned from com.sap.aii.af.sdk.xi.mo.MessageContext.getAttribute(java.lang.String, int)
at com.sap.aii.af.sdk.xi.net.MIMEOutputSource.serialize(MIMEOutputSource.java:302)
at com.sap.aii.af.sdk.xi.net.MIMEOutputSource.serialize(MIMEOutputSource.java:284)
at com.sap.aii.af.sdk.xi.net.HTTPClientConnection.call(HTTPClientConnection.java:1122)
at com.sap.aii.af.sdk.xi.net.HTTPClientConnection.post(HTTPClientConnection.java:352)
at com.sap.aii.af.sdk.xi.srt.CallerServiceImpl2.call(CallerServiceImpl2.java:258)
at com.sap.aii.af.sdk.xi.srt.TransportBubble.onMessage(TransportBubble.java:47)
at com.sap.aii.af.sdk.xi.srt.ExtensionBubble.onMessage(ExtensionBubble.java:60)
at com.sap.aii.adapter.soap.ejb.XISOAPAdapterBean.callBubbleSequenceReceiver(XISOAPAdapterBean.java:1213)
at com.sap.aii.adapter.soap.ejb.XISOAPAdapterBean.process(XISOAPAdapterBean.java:959)

Any helpful information would be highly appreciated...

Thanks,

Nagesh

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers