activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chad Brandon (JIRA)" <j...@apache.org>
Subject [jira] Created: (AMQ-1246) Sporatic ArrayOutOfBoundsException with Kaha persistence (in org.apache.activemq.kaha.impl.index.hash.HashPage.addHashEntry)
Date Mon, 14 May 2007 15:17:34 GMT
Sporatic ArrayOutOfBoundsException with Kaha persistence (in org.apache.activemq.kaha.impl.index.hash.HashPage.addHashEntry)
----------------------------------------------------------------------------------------------------------------------------

                 Key: AMQ-1246
                 URL: https://issues.apache.org/activemq/browse/AMQ-1246
             Project: ActiveMQ
          Issue Type: Bug
    Affects Versions: 4.2.0
         Environment: 4.2-SNAPSHOT (build from 3/26/2007)
            Reporter: Chad Brandon


This error just started occurring after restarting activemq after its memory got fairly high
(we've been running our app with this same ActiveMQ 4.2 build for several months without ever
seeing this).  It's happening on a persistent topic and doesn't happen after each message
is added to the topic but happens every 20 - 30 messages (the occurrence isn't very consistent).

java.lang.IndexOutOfBoundsException: Index: 25, Size: 22
        at java.util.ArrayList.add(ArrayList.java:368)
        at org.apache.activemq.kaha.impl.index.hash.HashPage.addHashEntry(HashPage.java:197)
        at org.apache.activemq.kaha.impl.index.hash.HashPageInfo.addHashEntry(HashPageInfo.java:65)
        at org.apache.activemq.kaha.impl.index.hash.HashBin.addHashEntry(HashBin.java:181)
        at org.apache.activemq.kaha.impl.index.hash.HashBin.put(HashBin.java:144)
        at org.apache.activemq.kaha.impl.index.hash.HashIndex.store(HashIndex.java:230)
        at org.apache.activemq.kaha.impl.container.MapContainerImpl.place(MapContainerImpl.java:389)
        at org.apache.activemq.store.kahadaptor.KahaTopicMessageStore.addMessage(KahaTopicMessageStore.java:62)
        at org.apache.activemq.store.kahadaptor.KahaTransactionStore.addMessage(KahaTransactionStore.java:133)
        at org.apache.activemq.store.kahadaptor.KahaTransactionStore$2.addMessage(KahaTransactionStore.java:68)
        at org.apache.activemq.broker.region.Topic.doMessageSend(Topic.java:349)
        at org.apache.activemq.broker.region.Topic.send(Topic.java:341)
        at org.apache.activemq.broker.region.AbstractRegion.send(AbstractRegion.java:306)
        at org.apache.activemq.broker.region.RegionBroker.send(RegionBroker.java:407)
        at org.apache.activemq.broker.TransactionBroker.send(TransactionBroker.java:203)
        at org.apache.activemq.broker.BrokerFilter.send(BrokerFilter.java:127)
        at org.apache.activemq.broker.CompositeDestinationBroker.send(CompositeDestinationBroker.java:97)
        at org.apache.activemq.broker.MutableBrokerFilter.send(MutableBrokerFilter.java:137)
        at org.apache.activemq.broker.TransportConnection.processMessage(TransportConnection.java:474)
        at org.apache.activemq.command.ActiveMQMessage.visit(ActiveMQMessage.java:618)
        at org.apache.activemq.broker.TransportConnection.service(TransportConnection.java:282)
        at org.apache.activemq.broker.TransportConnection$1.onCommand(TransportConnection.java:188)
        at org.apache.activemq.transport.TransportFilter.onCommand(TransportFilter.java:65)
        at org.apache.activemq.transport.WireFormatNegotiator.onCommand(WireFormatNegotiator.java:133)
        at org.apache.activemq.transport.InactivityMonitor.onCommand(InactivityMonitor.java:121)
        at org.apache.activemq.transport.TransportSupport.doConsume(TransportSupport.java:84)
        at org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:137)
        at java.lang.Thread.run(Thread.java:595)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message