Uploaded image for project: 'AMQ Broker'
  1. AMQ Broker
  2. ENTMQBR-1840

AMQ224041: Failed to deliver: java.lang.ArrayIndexOutOfBoundsException occasionally seen when concurrent short-lived connections consume from the same queue

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.5.0.CR3
    • None
    • None
    • None

      https://issues.apache.org/jira/browse/ARTEMIS-1993

      The following issue is occasionally seen when multiple short lived concurrent connections consume from the same queue. When the issue occurs, there tends to be a swathe of these messages written to the logs at one time. Apart from the error message, there is no other obvious functional defect.

      The issue has been reproduced with Artemis 2.5.0 and master (f0c13622ac7e821a81a354b0242ef5235b6e82df).

      2018-07-27 14:47:54,491 ERROR [org.apache.activemq.artemis.core.server] AMQ224041: Failed to deliver: java.lang.ArrayIndexOutOfBoundsException: 78
      at java.util.concurrent.CopyOnWriteArrayList.get(CopyOnWriteArrayList.java:388) [rt.jar:1.8.0_181]
      at java.util.concurrent.CopyOnWriteArrayList.get(CopyOnWriteArrayList.java:397) [rt.jar:1.8.0_181]
      at org.apache.activemq.artemis.core.server.impl.QueueImpl.deliver(QueueImpl.java:2289) [artemis-server-2.7.0-SNAPSHOT.jar:2.7.0-SNAPSHOT]
      at org.apache.activemq.artemis.core.server.impl.QueueImpl.access$2000(QueueImpl.java:107) [artemis-server-2.7.0-SNAPSHOT.jar:2.7.0-SNAPSHOT]
      at org.apache.activemq.artemis.core.server.impl.QueueImpl$DeliverRunner.run(QueueImpl.java:3209) [artemis-server-2.7.0-SNAPSHOT.jar:2.7.0-SNAPSHOT]
      at org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:42) [artemis-commons-2.7.0-SNAPSHOT.jar:2.7.0-SNAPSHOT]
      at org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:31) [artemis-commons-2.7.0-SNAPSHOT.jar:2.7.0-SNAPSHOT]
      at org.apache.activemq.artemis.utils.actors.ProcessorBase.executePendingTasks(ProcessorBase.java:66) [artemis-commons-2.7.0-SNAPSHOT.jar:2.7.0-SNAPSHOT]
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [rt.jar:1.8.0_181]
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [rt.jar:1.8.0_181]
      at org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run(ActiveMQThreadFactory.java:118) [artemis-commons-2.7.0-SNAPSHOT.jar:2.7.0-SNAPSHOT]
      

              rh-ee-ataylor Andy Taylor
              keithbwall Keith Wall
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: