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

[Java Broker] Restoring durable AMQP 1.0 messages leads to IndexOutOfBoundsException

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 0.29
    • Fix Version/s: 0.30
    • Component/s: Broker-J
    • Labels:
      None

      Description

      java.lang.IndexOutOfBoundsException
      	at java.nio.ByteBuffer.wrap(ByteBuffer.java:371)
      	at org.apache.qpid.server.store.berkeleydb.AbstractBDBMessageStore$StoredBDBMessage.getContent(AbstractBDBMessageStore.java:1337)
      	at org.apache.qpid.server.protocol.v1_0.Message_1_0.restoreFragments(Message_1_0.java:52)
      	at org.apache.qpid.server.protocol.v1_0.Message_1_0.<init>(Message_1_0.java:40)
      	at org.apache.qpid.server.protocol.v1_0.MessageMetaDataType_1_0.createMessage(MessageMetaDataType_1_0.java:52)
      	at org.apache.qpid.server.virtualhost.AsynchronousMessageStoreRecoverer$AsynchronousRecoverer.getRecoveredMessage(AsynchronousMessageStoreRecoverer.java:192)
      	at org.apache.qpid.server.virtualhost.AsynchronousMessageStoreRecoverer$AsynchronousRecoverer.access$600(AsynchronousMessageStoreRecoverer.java:68)
      	at org.apache.qpid.server.virtualhost.AsynchronousMessageStoreRecoverer$AsynchronousRecoverer$MessageInstanceVisitor.handle(AsynchronousMessageStoreRecoverer.java:388)
      	at org.apache.qpid.server.store.berkeleydb.AbstractBDBMessageStore.visitMessageInstances(AbstractBDBMessageStore.java:232)
      	at org.apache.qpid.server.virtualhost.AsynchronousMessageStoreRecoverer$AsynchronousRecoverer.recoverQueue(AsynchronousMessageStoreRecoverer.java:131)
      	at org.apache.qpid.server.virtualhost.AsynchronousMessageStoreRecoverer$AsynchronousRecoverer.access$800(AsynchronousMessageStoreRecoverer.java:68)
      	at org.apache.qpid.server.virtualhost.AsynchronousMessageStoreRecoverer$AsynchronousRecoverer$QueueRecoveringTask.run(AsynchronousMessageStoreRecoverer.java:367)
      	at java.lang.Thread.run(Thread.java:724)
      

        Attachments

          Activity

            People

            • Assignee:
              macbean Andrew MacBean
              Reporter:
              rgodfrey Robert Godfrey
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: