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

[0-8..0-9-1] Client AMQSession#getQueueDepth() call fails against pre 0.30 java brokers

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.30
    • Fix Version/s: 0.30, 0.31
    • Component/s: Broker-J, JMS AMQP 0-x
    • Labels:
      None

      Description

      When I try to enquire queue depth using the non-JMS API (AMQSession#getQueueDepth()) against a pre 0.30 Java Broker using the 0-8..0-9-1 protocol, the call ends with the following exception.

      2014-09-02 09:03:42,147 ERROR [IoReceiver - /127.0.0.1:59381] (protocol.AMQProtocolEngine) - Unexpected exception while processing frame.   Closing connection. org.apache.qpid.AMQException: Exchange exchange must not be null at 
      org.apache.qpid.server.handler.ExchangeBoundHandler.methodReceived(ExchangeBoundHandler.java:89) at 
      org.apache.qpid.server.handler.ServerMethodDispatcherImpl.dispatchExchangeBound(ServerMethodDispatcherImpl.java:458) at 
      org.apache.qpid.framing.amqp_0_9.ExchangeBoundBodyImpl.execute(ExchangeBoundBodyImpl.java:130) at 
      org.apache.qpid.server.state.AMQStateManager.methodReceived(AMQStateManager.java:120) at 
      org.apache.qpid.server.protocol.AMQProtocolEngine.methodFrameReceived(AMQProtocolEngine.java:569) at 
      org.apache.qpid.framing.AMQMethodBodyImpl.handle(AMQMethodBodyImpl.java:97) at 
      org.apache.qpid.server.protocol.AMQProtocolEngine.frameReceived(AMQProtocolEngine.java:433) at 
      org.apache.qpid.server.protocol.AMQProtocolEngine.dataBlockReceived(AMQProtocolEngine.java:356) at 
      org.apache.qpid.server.protocol.AMQProtocolEngine.received(AMQProtocolEngine.java:277) at 
      org.apache.qpid.server.protocol.AMQProtocolEngine.received(AMQProtocolEngine.java:103) at 
      org.apache.qpid.server.protocol.MultiVersionProtocolEngine.received(MultiVersionProtocolEngine.java:118) at 
      org.apache.qpid.server.protocol.MultiVersionProtocolEngine.received(MultiVersionProtocolEngine.java:37) at 
      org.apache.qpid.transport.network.io.IoReceiver.run(IoReceiver.java:161) at java.lang.Thread.run(Thread.java:745)
      
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                orudyy Alex Rudyy
                Reporter:
                kwall Keith Wall
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: