activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Tully (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AMQ-2863) KahaDB NPE can occur using random index removes
Date Mon, 09 Aug 2010 15:05:49 GMT

    [ https://issues.apache.org/activemq/browse/AMQ-2863?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=61119#action_61119
] 

Gary Tully commented on AMQ-2863:
---------------------------------

another variant of the stack trace:{code}java.lang.NullPointerException
        at org.apache.kahadb.index.BTreeNode.getRightLeaf(BTreeNode.java:239)
        at org.apache.kahadb.index.BTreeNode.remove(BTreeNode.java:309)
        at org.apache.kahadb.index.BTreeNode.remove(BTreeNode.java:287)
        at org.apache.kahadb.index.BTreeNode.remove(BTreeNode.java:287)
        at org.apache.kahadb.index.BTreeIndex.remove(BTreeIndex.java:194)
        at org.apache.activemq.store.kahadb.MessageDatabase.removeAckLocation(MessageDatabase.java:1314)
        at org.apache.activemq.store.kahadb.MessageDatabase.updateIndex(MessageDatabase.java:891)
        at org.apache.activemq.store.kahadb.MessageDatabase.access$700(MessageDatabase.java:82)
        at org.apache.activemq.store.kahadb.MessageDatabase$13.execute(MessageDatabase.java:757)
        at org.apache.kahadb.page.Transaction.execute(Transaction.java:728)
        at org.apache.activemq.store.kahadb.MessageDatabase.process(MessageDatabase.java:755)
        at org.apache.activemq.store.kahadb.MessageDatabase$11.visit(MessageDatabase.java:700)
        at org.apache.activemq.store.kahadb.data.KahaRemoveMessageCommand.visit(KahaRemoveMessageCommand.java:220)
        at org.apache.activemq.store.kahadb.MessageDatabase.process(MessageDatabase.java:692)
        at org.apache.activemq.store.kahadb.MessageDatabase.store(MessageDatabase.java:644)
        at org.apache.activemq.store.kahadb.KahaDBStore$KahaDBTopicMessageStore.acknowledge(KahaDBStore.java:316)
        at org.apache.activemq.broker.region.Topic.acknowledge(Topic.java:466)
        at org.apache.activemq.broker.region.DurableTopicSubscription.acknowledge(DurableTopicSubscription.java:230)
        at org.apache.activemq.broker.region.PrefetchSubscription.acknowledge(PrefetchSubscription.java:255)
        at org.apache.activemq.broker.region.AbstractRegion.acknowledge(AbstractRegion.java:373)
        at org.apache.activemq.broker.region.RegionBroker.acknowledge(RegionBroker.java:470)
        at org.apache.activemq.broker.BrokerFilter.acknowledge(BrokerFilter.java:74)
        at org.apache.activemq.broker.TransactionBroker.acknowledge(TransactionBroker.java:194)
        at org.apache.activemq.broker.BrokerFilter.acknowledge(BrokerFilter.java:74)
        at org.apache.activemq.broker.BrokerFilter.acknowledge(BrokerFilter.java:74)
        at org.apache.activemq.broker.MutableBrokerFilter.acknowledge(MutableBrokerFilter.java:85)
        at org.apache.activemq.broker.TransportConnection.processMessageAck(TransportConnection.java:459)
        at org.apache.activemq.command.MessageAck.visit(MessageAck.java:205)
        at org.apache.activemq.broker.TransportConnection.service(TransportConnection.java:303)
        at org.apache.activemq.broker.TransportConnection$1.onCommand(TransportConnection.java:181)
        at org.apache.activemq.transport.TransportFilter.onCommand(TransportFilter.java:68)
        at org.apache.activemq.transport.WireFormatNegotiator.onCommand(WireFormatNegotiator.java:113)
        at org.apache.activemq.transport.InactivityMonitor.onCommand(InactivityMonitor.java:216)
        at org.apache.activemq.transport.TransportSupport.doConsume(TransportSupport.java:84)
        at org.apache.activemq.transport.tcp.TcpTransport.doRun(TcpTransport.java:205)
        at org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:187)
        at java.lang.Thread.run(Thread.java:619){code}

> KahaDB NPE can occur using random index removes
> -----------------------------------------------
>
>                 Key: AMQ-2863
>                 URL: https://issues.apache.org/activemq/browse/AMQ-2863
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>            Reporter: Hiram Chirino
>            Assignee: Hiram Chirino
>             Fix For: 5.4.0
>
>
> Stack trace looks like:
> {code}
> java.lang.NullPointerException
> 	at org.apache.kahadb.index.BTreeNode.getRightLeaf(BTreeNode.java:239)
> 	at org.apache.kahadb.index.BTreeNode.remove(BTreeNode.java:314)
> 	at org.apache.kahadb.index.BTreeNode.remove(BTreeNode.java:292)
> 	at org.apache.kahadb.index.BTreeNode.remove(BTreeNode.java:292)
> 	at org.apache.kahadb.index.BTreeNode.remove(BTreeNode.java:292)
> 	at org.apache.kahadb.index.BTreeNode.remove(BTreeNode.java:292)
> 	at org.apache.kahadb.index.BTreeNode.remove(BTreeNode.java:292)
> 	at org.apache.kahadb.index.BTreeNode.remove(BTreeNode.java:292)
> 	at org.apache.kahadb.index.BTreeIndex.remove(BTreeIndex.java:194)
> {code}

-- 
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