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

Francesco Nigro commented on ARTEMIS-1494:
------------------------------------------

The stack trace collected is:

{code:java}
19:00:28,662 WARN  [org.apache.activemq.artemis.core.server] AMQ222225: Sending 
unexpected exception to the client: java.lang.ArrayIndexOutOfBoundsException: 
1220
        at 
org.apache.activemq.artemis.utils.collections.ConcurrentLongHashMap$Section.get(ConcurrentLongHashMap.java:230)
 [artemis-commons-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT]
        at 
org.apache.activemq.artemis.utils.collections.ConcurrentLongHashMap.get(ConcurrentLongHashMap.java:117)
 [artemis-commons-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT]
        at 
org.apache.activemq.artemis.utils.collections.ConcurrentLongHashMap.containsKey(ConcurrentLongHashMap.java:121)
 [artemis-commons-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT]
        at 
org.apache.activemq.artemis.core.journal.impl.JournalImpl.checkKnownRecordID(JournalImpl.java:996)
 [artemis-journal-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT]
        at 
org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendUpdateRecord(JournalImpl.java:838)
 [artemis-journal-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT]
        at 
org.apache.activemq.artemis.core.journal.Journal.appendUpdateRecord(Journal.java:98)
 [artemis-journal-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT]
        at 
org.apache.activemq.artemis.core.persistence.impl.journal.AbstractJournalStorageManager.storeReference(AbstractJournalStorageManager.java:389)
 [artemis-server-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT]
        at 
org.apache.activemq.artemis.core.postoffice.impl.PostOfficeImpl.processRoute(PostOfficeImpl.java:1157)
 [artemis-server-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT]
        at 
org.apache.activemq.artemis.core.postoffice.impl.PostOfficeImpl.route(PostOfficeImpl.java:822)
 [artemis-server-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT]
        at 
org.apache.activemq.artemis.core.postoffice.impl.PostOfficeImpl.route(PostOfficeImpl.java:724)
 [artemis-server-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT]
        at 
org.apache.activemq.artemis.core.server.impl.ServerSessionImpl.doSend(ServerSessionImpl.java:1712)
 [artemis-server-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT]
        at 
org.apache.activemq.artemis.core.server.impl.ServerSessionImpl.send(ServerSessionImpl.java:1385)
 [artemis-server-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT]
        at 
org.apache.activemq.artemis.core.server.impl.ServerSessionImpl.send(ServerSessionImpl.java:1311)
 [artemis-server-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT]
        at 
org.apache.activemq.artemis.core.server.impl.ServerSessionImpl.send(ServerSessionImpl.java:1304)
 [artemis-server-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT]
        at 
org.apache.activemq.artemis.core.protocol.core.ServerSessionPacketHandler.onSessionSend(ServerSessionPacketHandler.java:690)
 [artemis-server-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT]
        at 
org.apache.activemq.artemis.core.protocol.core.ServerSessionPacketHandler.onMessagePacket(ServerSessionPacketHandler.java:290)
 [artemis-server-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT]
        at org.apache.activemq.artemis.utils.actors.Actor.doTask(Actor.java:33) 
[artemis-commons-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT]
        at 
org.apache.activemq.artemis.utils.actors.ProcessorBase$ExecutorTask.run(ProcessorBase.java:53)
 [artemis-commons-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT]
        at 
org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:42)
 [artemis-commons-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT]
        at 
org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:31)
 [artemis-commons-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT]
        at 
org.apache.activemq.artemis.utils.actors.ProcessorBase$ExecutorTask.run(ProcessorBase.java:53)
 [artemis-commons-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT]
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) 
[rt.jar:1.8.0_102]
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) 
[rt.jar:1.8.0_102]
        at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_102]
{code}


> AMQ222225: Sending unexpected exception to the client: 
> java.lang.ArrayIndexOutOfBoundsException: 1220
> -----------------------------------------------------------------------------------------------------
>
>                 Key: ARTEMIS-1494
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-1494
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>          Components: Broker
>            Reporter: Francesco Nigro
>            Priority: Normal
>
> When the broker is under load with JMS (100 producers/100 consumers/1 
> persistent queue) it could fail with AMQ222225: Sending unexpected exception 
> to the client: java.lang.ArrayIndexOutOfBoundsException: 1220



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to