You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Keith Wall (JIRA)" <ji...@apache.org> on 2018/07/27 15:17:00 UTC

[jira] [Created] (ARTEMIS-1993) AMQ224041: Failed to deliver: java.lang.ArrayIndexOutOfBoundsException occasionally seen when concurrent short-live connections consume from the same queue

Keith Wall created ARTEMIS-1993:
-----------------------------------

             Summary: AMQ224041: Failed to deliver: java.lang.ArrayIndexOutOfBoundsException occasionally seen when concurrent short-live connections consume from the same queue
                 Key: ARTEMIS-1993
                 URL: https://issues.apache.org/jira/browse/ARTEMIS-1993
             Project: ActiveMQ Artemis
          Issue Type: Bug
    Affects Versions: 2.5.0
            Reporter: Keith Wall


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 2.5.0 and master (f0c13622ac7e821a81a354b0242ef5235b6e82df).

 
{noformat}
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]{noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)