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 2019/07/01 11:01:00 UTC

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

    [ https://issues.apache.org/jira/browse/ARTEMIS-1993?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16876109#comment-16876109 ] 

Keith Wall commented on ARTEMIS-1993:
-------------------------------------

I retested this issue against today whilst verifying ARTEMIS-2002 against master (5896dcc6fbb9e81194c458baca79fb46b36470c5).  My reproducer no longer brings out this problem.  It is possible it is resolved.

> AMQ224041: Failed to deliver: java.lang.ArrayIndexOutOfBoundsException occasionally seen when concurrent short-lived 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
>            Priority: Major
>
> 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)