Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
qpid-java-broker-7.0.0
-
None
Description
The following NPE is reported on receiving of detach for unknown session
java.lang.NullPointerException at org.apache.qpid.server.protocol.v0_10.ServerConnectionDelegate.stopAllSubscriptions(ServerConnectionDelegate.java:377) at org.apache.qpid.server.protocol.v0_10.ServerConnectionDelegate.sessionDetach(ServerConnectionDelegate.java:366) at org.apache.qpid.server.protocol.v0_10.ServerConnectionDelegate.sessionDetach(ServerConnectionDelegate.java:52) at org.apache.qpid.server.protocol.v0_10.transport.SessionDetach.dispatch(SessionDetach.java:90) at org.apache.qpid.server.protocol.v0_10.ServerConnectionDelegate.control(ServerConnectionDelegate.java:97) at org.apache.qpid.server.protocol.v0_10.ServerConnectionDelegate.control(ServerConnectionDelegate.java:52) at org.apache.qpid.server.protocol.v0_10.transport.Method.delegate(Method.java:157) at org.apache.qpid.server.protocol.v0_10.ServerConnection.received(ServerConnection.java:279) at org.apache.qpid.server.protocol.v0_10.ServerAssembler.emit(ServerAssembler.java:178) at org.apache.qpid.server.protocol.v0_10.ServerAssembler.assemble(ServerAssembler.java:256) at org.apache.qpid.server.protocol.v0_10.ServerAssembler.frame(ServerAssembler.java:205) at org.apache.qpid.server.protocol.v0_10.ServerAssembler.received(ServerAssembler.java:135) at org.apache.qpid.server.protocol.v0_10.ServerAssembler.received(ServerAssembler.java:109) at org.apache.qpid.server.protocol.v0_10.ServerInputHandler.received(ServerInputHandler.java:184) at org.apache.qpid.server.protocol.v0_10.AMQPConnection_0_10Impl.lambda$received$1(AMQPConnection_0_10Impl.java:146) at java.security.AccessController.doPrivileged(Native Method) at org.apache.qpid.server.protocol.v0_10.AMQPConnection_0_10Impl.received(AMQPConnection_0_10Impl.java:141) at org.apache.qpid.server.transport.MultiVersionProtocolEngine.received(MultiVersionProtocolEngine.java:134) at org.apache.qpid.server.transport.NonBlockingConnection.processAmqpData(NonBlockingConnection.java:610) at org.apache.qpid.server.transport.NonBlockingConnectionPlainDelegate.processData(NonBlockingConnectionPlainDelegate.java:58) at org.apache.qpid.server.transport.NonBlockingConnection.doRead(NonBlockingConnection.java:496) at org.apache.qpid.server.transport.NonBlockingConnection.doWork(NonBlockingConnection.java:270) at org.apache.qpid.server.transport.NetworkConnectionScheduler.processConnection(NetworkConnectionScheduler.java:134) at org.apache.qpid.server.transport.SelectorThread$ConnectionProcessor.processConnection(SelectorThread.java:570) at org.apache.qpid.server.transport.SelectorThread$SelectionTask.performSelect(SelectorThread.java:361) at org.apache.qpid.server.transport.SelectorThread$SelectionTask.run(SelectorThread.java:97) at org.apache.qpid.server.transport.SelectorThread.run(SelectorThread.java:528) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at org.apache.qpid.server.bytebuffer.QpidByteBufferFactory.lambda$null$0(QpidByteBufferFactory.java:464) at java.lang.Thread.run(Thread.java:745)