Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-7848

NPE during consumer close during performance test run

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 0.32, qpid-java-6.0, qpid-java-6.1
    • Fix Version/s: Future
    • Component/s: JMS AMQP 0-x
    • Labels:
      None

      Description

      The following exception was received from the client during a performance test run. The performance tests were using a 0.32 derivative client using the AMQP 0-9 protocol. Looking at master, is appears that the same problem may still be possible.

      2017-07-01 00:06:05,153 INFO  [org.apache.qpid.disttest.ControllerRunner.main()] o.a.q.d.j.QpidRestAPIQueueCreator Drained 21 message(s) from queue testQueue_1
      2017-07-01 00:06:05,698 INFO  [org.apache.qpid.disttest.ControllerRunner.main()] o.a.q.d.j.QpidRestAPIQueueCreator Drained 21 message(s) from queue testQueue_2
      2017-07-01 00:06:06,240 INFO  [org.apache.qpid.disttest.ControllerRunner.main()] o.a.q.d.j.QpidRestAPIQueueCreator Drained 22 message(s) from queue testQueue_3
      2017-07-01 00:06:06,783 INFO  [org.apache.qpid.disttest.ControllerRunner.main()] o.a.q.d.j.QpidRestAPIQueueCreator Drained 21 message(s) from queue testQueue_4
      2017-07-01 00:06:07,328 INFO  [org.apache.qpid.disttest.ControllerRunner.main()] o.a.q.d.j.QpidRestAPIQueueCreator Drained 21 message(s) from queue testQueue_5
      2017-07-01 00:06:07,870 INFO  [org.apache.qpid.disttest.ControllerRunner.main()] o.a.q.d.j.QpidRestAPIQueueCreator Drained 21 message(s) from queue testQueue_6
      2017-07-01 00:06:08,414 INFO  [org.apache.qpid.disttest.ControllerRunner.main()] o.a.q.d.j.QpidRestAPIQueueCreator Drained 21 message(s) from queue testQueue_7
      2017-07-01 00:06:08,437 ERROR [IoRcvr-/xxx.xxx.xxx.xxx:45034-yyyyy.yyy.yyyyyyyy.yyy/xxx.xxx.xxx.xxx:35672] o.a.q.c.p.AMQProtocolHandler Exception processing frame
      java.lang.NullPointerException: null
              at org.apache.qpid.client.protocol.AMQProtocolSession.confirmConsumerCancelled(AMQProtocolSession.java:412)
              at org.apache.qpid.client.handler.BasicCancelOkMethodHandler.methodReceived(BasicCancelOkMethodHandler.java:53)
              at org.apache.qpid.client.handler.ClientMethodDispatcherImpl.dispatchBasicCancelOk(ClientMethodDispatcherImpl.java:160)
              at org.apache.qpid.framing.BasicCancelOkBody.execute(BasicCancelOkBody.java:87)
              at org.apache.qpid.client.state.AMQStateManager.methodReceived(AMQStateManager.java:116)
              at org.apache.qpid.client.protocol.AMQProtocolHandler.methodBodyReceived(AMQProtocolHandler.java:488)
              at org.apache.qpid.client.protocol.AMQProtocolSession.methodFrameReceived(AMQProtocolSession.java:471)
              at org.apache.qpid.framing.AMQMethodBodyImpl.handle(AMQMethodBodyImpl.java:93)
              at org.apache.qpid.client.protocol.AMQProtocolHandler.received(AMQProtocolHandler.java:447)
              at org.apache.qpid.client.protocol.AMQProtocolHandler.received(AMQProtocolHandler.java:75)
              at org.apache.qpid.client.AMQConnectionDelegate_8_0$ReceiverClosedWaiter.received(AMQConnectionDelegate_8_0.java:538)
              at org.apache.qpid.client.AMQConnectionDelegate_8_0$ReceiverClosedWaiter.received(AMQConnectionDelegate_8_0.java:524)
              at org.apache.qpid.transport.network.io.IoReceiver.run(IoReceiver.java:163)
              at java.lang.Thread.run(Thread.java:745)
      2017-07-01 00:06:08,439 ERROR [IoRcvr-/169.124.113.161:45034-r2096259a359.svr.us.jpmchase.net/169.124.113.230:35672] o.a.q.c.AMQConnection Throwable Received but no listener set: java.lang.NullPointerException
      2017-07-01 00:06:08,441 ERROR [org.apache.qpid.disttest.ControllerRunner.main()] o.a.q.d.c.AbstractTestRunner Couldn't run test
      org.apache.qpid.disttest.DistributedTestException: Failed to drain queue testQueue_8
              at org.apache.qpid.disttest.jms.QpidRestAPIQueueCreator.drainQueue(QpidRestAPIQueueCreator.java:176)
              at org.apache.qpid.disttest.jms.QpidRestAPIQueueCreator.deleteQueues(QpidRestAPIQueueCreator.java:110)
              at org.apache.qpid.disttest.jms.ControllerJmsDelegate.deleteQueues(ControllerJmsDelegate.java:237)
              at org.apache.qpid.disttest.controller.AbstractTestRunner.deleteQueues(AbstractTestRunner.java:208)
              at org.apache.qpid.disttest.controller.AbstractTestRunner.runParts(AbstractTestRunner.java:344)
              at org.apache.qpid.disttest.controller.AbstractTestRunner.doIt(AbstractTestRunner.java:297)
              at org.apache.qpid.disttest.controller.HillClimbingTestRunner.run(HillClimbingTestRunner.java:82)
              at org.apache.qpid.disttest.controller.Controller.runAllTests(Controller.java:174)
              at org.apache.qpid.disttest.ControllerRunner.runTest(ControllerRunner.java:218)
              at org.apache.qpid.disttest.ControllerRunner.runTests(ControllerRunner.java:193)
              at org.apache.qpid.disttest.ControllerRunner.runController(ControllerRunner.java:132)
              at org.apache.qpid.disttest.ControllerRunner.main(ControllerRunner.java:112)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:498)
              at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:293)
              at java.lang.Thread.run(Thread.java:745)
      Caused by: javax.jms.JMSException: Error creating session: org.apache.qpid.AMQException: Woken up due to class java.lang.NullPointerException
              at org.apache.qpid.client.AMQConnectionDelegate_8_0$1.execute(AMQConnectionDelegate_8_0.java:281)
              at org.apache.qpid.client.AMQConnectionDelegate_8_0$1.execute(AMQConnectionDelegate_8_0.java:254)
              at org.apache.qpid.client.AMQConnectionDelegate_8_0.executeRetrySupport(AMQConnectionDelegate_8_0.java:408)
              at org.apache.qpid.client.AMQConnection.executeRetrySupport(AMQConnection.java:697)
              at org.apache.qpid.client.failover.FailoverRetrySupport.execute(FailoverRetrySupport.java:90)
              at org.apache.qpid.client.AMQConnectionDelegate_8_0.createSession(AMQConnectionDelegate_8_0.java:252)
              at org.apache.qpid.client.AMQConnection.createSession(AMQConnection.java:754)
              at org.apache.qpid.client.AMQConnection.createSession(AMQConnection.java:731)
              at org.apache.qpid.client.AMQConnection.createSession(AMQConnection.java:725)
              at org.apache.qpid.client.AMQConnection.createSession(AMQConnection.java:85)
              at org.apache.qpid.disttest.jms.QpidRestAPIQueueCreator.drain(QpidRestAPIQueueCreator.java:186)
              at org.apache.qpid.disttest.jms.QpidRestAPIQueueCreator.drainQueue(QpidRestAPIQueueCreator.java:167)
              ... 17 common frames omitted
      Caused by: org.apache.qpid.AMQException: Woken up due to class java.lang.NullPointerException
              at org.apache.qpid.client.util.BlockingWaiter.block(BlockingWaiter.java:195)
              at org.apache.qpid.client.protocol.BlockingMethodFrameListener.blockForFrame(BlockingMethodFrameListener.java:115)
              at org.apache.qpid.client.protocol.AMQProtocolHandler.writeCommandFrameAndWaitForReply(AMQProtocolHandler.java:656)
              at org.apache.qpid.client.protocol.AMQProtocolHandler.syncWrite(AMQProtocolHandler.java:677)
              at org.apache.qpid.client.protocol.AMQProtocolHandler.syncWrite(AMQProtocolHandler.java:671)
              at org.apache.qpid.client.AMQConnectionDelegate_8_0.createChannelOverWire(AMQConnectionDelegate_8_0.java:325)
              at org.apache.qpid.client.AMQConnectionDelegate_8_0.access$200(AMQConnectionDelegate_8_0.java:71)
              at org.apache.qpid.client.AMQConnectionDelegate_8_0$1.execute(AMQConnectionDelegate_8_0.java:275)
              ... 28 common frames omitted
      Caused by: java.lang.NullPointerException: null
              at org.apache.qpid.client.protocol.AMQProtocolSession.confirmConsumerCancelled(AMQProtocolSession.java:412)
              at org.apache.qpid.client.handler.BasicCancelOkMethodHandler.methodReceived(BasicCancelOkMethodHandler.java:53)
              at org.apache.qpid.client.handler.ClientMethodDispatcherImpl.dispatchBasicCancelOk(ClientMethodDispatcherImpl.java:160)
              at org.apache.qpid.framing.BasicCancelOkBody.execute(BasicCancelOkBody.java:87)
              at org.apache.qpid.client.state.AMQStateManager.methodReceived(AMQStateManager.java:116)
              at org.apache.qpid.client.protocol.AMQProtocolHandler.methodBodyReceived(AMQProtocolHandler.java:488)
              at org.apache.qpid.client.protocol.AMQProtocolSession.methodFrameReceived(AMQProtocolSession.java:471)
              at org.apache.qpid.framing.AMQMethodBodyImpl.handle(AMQMethodBodyImpl.java:93)
              at org.apache.qpid.client.protocol.AMQProtocolHandler.received(AMQProtocolHandler.java:447)
              at org.apache.qpid.client.protocol.AMQProtocolHandler.received(AMQProtocolHandler.java:75)
              at org.apache.qpid.client.AMQConnectionDelegate_8_0$ReceiverClosedWaiter.received(AMQConnectionDelegate_8_0.java:538)
              at org.apache.qpid.client.AMQConnectionDelegate_8_0$ReceiverClosedWaiter.received(AMQConnectionDelegate_8_0.java:524)
              at org.apache.qpid.transport.network.io.IoReceiver.run(IoReceiver.java:163)
              ... 1 common frames omitted
      2017-07-01 00:06:08,441 ERROR [org.apache.qpid.disttest.ControllerRunner.main()] o.a.q.d.ControllerRunner Problem running test
      org.apache.qpid.disttest.DistributedTestException: Failed to drain queue testQueue_8
              at org.apache.qpid.disttest.jms.QpidRestAPIQueueCreator.drainQueue(QpidRestAPIQueueCreator.java:176)
              at org.apache.qpid.disttest.jms.QpidRestAPIQueueCreator.deleteQueues(QpidRestAPIQueueCreator.java:110)
              at org.apache.qpid.disttest.jms.ControllerJmsDelegate.deleteQueues(ControllerJmsDelegate.java:237)
              at org.apache.qpid.disttest.controller.AbstractTestRunner.deleteQueues(AbstractTestRunner.java:208)
              at org.apache.qpid.disttest.controller.AbstractTestRunner.runParts(AbstractTestRunner.java:344)
              at org.apache.qpid.disttest.controller.AbstractTestRunner.doIt(AbstractTestRunner.java:297)
              at org.apache.qpid.disttest.controller.HillClimbingTestRunner.run(HillClimbingTestRunner.java:82)
              at org.apache.qpid.disttest.controller.Controller.runAllTests(Controller.java:174)
              at org.apache.qpid.disttest.ControllerRunner.runTest(ControllerRunner.java:218)
              at org.apache.qpid.disttest.ControllerRunner.runTests(ControllerRunner.java:193)
              at org.apache.qpid.disttest.ControllerRunner.runController(ControllerRunner.java:132)
              at org.apache.qpid.disttest.ControllerRunner.main(ControllerRunner.java:112)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:498)
              at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:293)
              at java.lang.Thread.run(Thread.java:745)
      Caused by: javax.jms.JMSException: Error creating session: org.apache.qpid.AMQException: Woken up due to class java.lang.NullPointerException
              at org.apache.qpid.client.AMQConnectionDelegate_8_0$1.execute(AMQConnectionDelegate_8_0.java:281)
              at org.apache.qpid.client.AMQConnectionDelegate_8_0$1.execute(AMQConnectionDelegate_8_0.java:254)
              at org.apache.qpid.client.AMQConnectionDelegate_8_0.executeRetrySupport(AMQConnectionDelegate_8_0.java:408)
              at org.apache.qpid.client.AMQConnection.executeRetrySupport(AMQConnection.java:697)
              at org.apache.qpid.client.failover.FailoverRetrySupport.execute(FailoverRetrySupport.java:90)
              at org.apache.qpid.client.AMQConnectionDelegate_8_0.createSession(AMQConnectionDelegate_8_0.java:252)
              at org.apache.qpid.client.AMQConnection.createSession(AMQConnection.java:754)
              at org.apache.qpid.client.AMQConnection.createSession(AMQConnection.java:731)
              at org.apache.qpid.client.AMQConnection.createSession(AMQConnection.java:725)
              at org.apache.qpid.client.AMQConnection.createSession(AMQConnection.java:85)
              at org.apache.qpid.disttest.jms.QpidRestAPIQueueCreator.drain(QpidRestAPIQueueCreator.java:186)
              at org.apache.qpid.disttest.jms.QpidRestAPIQueueCreator.drainQueue(QpidRestAPIQueueCreator.java:167)
              ... 17 common frames omitted
      Caused by: org.apache.qpid.AMQException: Woken up due to class java.lang.NullPointerException
              at org.apache.qpid.client.util.BlockingWaiter.block(BlockingWaiter.java:195)
              at org.apache.qpid.client.protocol.BlockingMethodFrameListener.blockForFrame(BlockingMethodFrameListener.java:115)
              at org.apache.qpid.client.protocol.AMQProtocolHandler.writeCommandFrameAndWaitForReply(AMQProtocolHandler.java:656)
              at org.apache.qpid.client.protocol.AMQProtocolHandler.syncWrite(AMQProtocolHandler.java:677)
              at org.apache.qpid.client.protocol.AMQProtocolHandler.syncWrite(AMQProtocolHandler.java:671)
              at org.apache.qpid.client.AMQConnectionDelegate_8_0.createChannelOverWire(AMQConnectionDelegate_8_0.java:325)
              at org.apache.qpid.client.AMQConnectionDelegate_8_0.access$200(AMQConnectionDelegate_8_0.java:71)
              at org.apache.qpid.client.AMQConnectionDelegate_8_0$1.execute(AMQConnectionDelegate_8_0.java:275)
              ... 28 common frames omitted
      Caused by: java.lang.NullPointerException: null
              at org.apache.qpid.client.protocol.AMQProtocolSession.confirmConsumerCancelled(AMQProtocolSession.java:412)
              at org.apache.qpid.client.handler.BasicCancelOkMethodHandler.methodReceived(BasicCancelOkMethodHandler.java:53)
              at org.apache.qpid.client.handler.ClientMethodDispatcherImpl.dispatchBasicCancelOk(ClientMethodDispatcherImpl.java:160)
              at org.apache.qpid.framing.BasicCancelOkBody.execute(BasicCancelOkBody.java:87)
              at org.apache.qpid.client.state.AMQStateManager.methodReceived(AMQStateManager.java:116)
              at org.apache.qpid.client.protocol.AMQProtocolHandler.methodBodyReceived(AMQProtocolHandler.java:488)
              at org.apache.qpid.client.protocol.AMQProtocolSession.methodFrameReceived(AMQProtocolSession.java:471)
              at org.apache.qpid.framing.AMQMethodBodyImpl.handle(AMQMethodBodyImpl.java:93)
              at org.apache.qpid.client.protocol.AMQProtocolHandler.received(AMQProtocolHandler.java:447)
              at org.apache.qpid.client.protocol.AMQProtocolHandler.received(AMQProtocolHandler.java:75)
              at org.apache.qpid.client.AMQConnectionDelegate_8_0$ReceiverClosedWaiter.received(AMQConnectionDelegate_8_0.java:538)
              at org.apache.qpid.client.AMQConnectionDelegate_8_0$ReceiverClosedWaiter.received(AMQConnectionDelegate_8_0.java:524)
              at org.apache.qpid.transport.network.io.IoReceiver.run(IoReceiver.java:163)
       
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              kwall Keith Wall
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: