Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
0.32
-
None
Description
A defect report against a 0.32 derivative client included a seemingly spontaneous NullPointerException stack trace whilst the IOReceiver was processing an incoming content.body frame. There is no indication that the underlying channel had been closed.
2018-05-01 15:30:27.914 ERROR Exception processing frame [IoRcvr-/x.x.x.x:45506-yyy-rrqpid1.us.xxxxx.xxxxxx/x.xx.x:5681][AMQProtocolHandler.java:512] java.lang.NullPointerException: null at org.apache.qpid.client.protocol.AMQProtocolSession.deliverMessageToAMQSession(AMQProtocolSession.java:290) ~[qpid-client-x.x.x.jar: x.x.x] at org.apache.qpid.client.protocol.AMQProtocolSession.contentBodyReceived(AMQProtocolSession.java:272) ~[qpid-client- x.x.x.jar: x.x.x] at org.apache.qpid.framing.ContentBody.handle(ContentBody.java:72) ~[qpid-common- x.x.x.jar: x.x.x] at org.apache.qpid.client.protocol.AMQProtocolHandler.received(AMQProtocolHandler.java:492) [qpid-client- x.x.x.jar: x.x.x] at org.apache.qpid.client.protocol.AMQProtocolHandler.received(AMQProtocolHandler.java:120) [qpid-client- x.x.x.jar:5.1.8] at org.apache.qpid.client.AMQConnectionDelegate_8_0$ReceiverClosedWaiter.received(AMQConnectionDelegate_8_0.java:538) [qpid-client- x.x.x.jar: x.x.x] at org.apache.qpid.client.AMQConnectionDelegate_8_0$ReceiverClosedWaiter.received(AMQConnectionDelegate_8_0.java:524) [qpid-client- x.x.x.jar: x.x.x]
Attempts to reproduce the problem have so far been unsuccessful. Improving the error message used in this situation should help a future investigation, if it occurs again.