Uploaded image for project: 'ActiveMQ Classic'
  1. ActiveMQ Classic
  2. AMQ-3627

IndexOutOfBoundsException in org.apache.activemq.store.kahadb.MessageDatabase.getFirstInProgressTxLocation()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 5.5.1
    • 5.6.0
    • Message Store
    • None
    • ActiveMQ 5.5.1

    Description

      Following error is happening once a day. The messages in the affected queue are hanging until restart.

      java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
              at java.util.ArrayList.rangeCheck(ArrayList.java:604)
              at java.util.ArrayList.get(ArrayList.java:382)
              at java.util.Collections$SynchronizedList.get(Collections.java:1873)
              at org.apache.activemq.store.kahadb.MessageDatabase.getFirstInProgressTxLocation(MessageDatabase.java:430)
              at org.apache.activemq.store.kahadb.MessageDatabase.checkpointUpdate(MessageDatabase.java:1168)
              at org.apache.activemq.store.kahadb.MessageDatabase$10.execute(MessageDatabase.java:730)
              at org.apache.kahadb.page.Transaction.execute(Transaction.java:728)
              at org.apache.activemq.store.kahadb.MessageDatabase.checkpointCleanup(MessageDatabase.java:728)
              at org.apache.activemq.store.kahadb.MessageDatabase$3.run(MessageDatabase.java:303)
      
      KahaDB: Recovering checkpoint thread after death
      

      Attachments

        Issue Links

          Activity

            People

              gtully Gary Tully
              joerg.wassmer Jörg Waßmer
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: