Return-Path: X-Original-To: apmail-activemq-dev-archive@www.apache.org Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 99F9BDD5B for ; Thu, 13 Dec 2012 16:46:15 +0000 (UTC) Received: (qmail 45259 invoked by uid 500); 13 Dec 2012 16:46:15 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 45011 invoked by uid 500); 13 Dec 2012 16:46:15 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 44515 invoked by uid 99); 13 Dec 2012 16:46:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Dec 2012 16:46:13 +0000 Date: Thu, 13 Dec 2012 16:46:13 +0000 (UTC) From: "Gary Tully (JIRA)" To: dev@activemq.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (AMQ-4221) NPE plist (temp) sparse removal - filependingmessagecursor with selector and expiry MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMQ-4221?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gary Tully resolved AMQ-4221. ----------------------------- Resolution: Fixed fix in http://svn.apache.org/viewvc?rev=1421373&view=rev dangling reference to free page in listindex, can lead to npe (best case) or corruption if page is subsequently reused by another listindex or cce in other cases. Effects the filependingmessage cursor with sparse expiry, one example would be a sparse selector where the remainder (on disk) expire. > NPE plist (temp) sparse removal - filependingmessagecursor with selector and expiry > ----------------------------------------------------------------------------------- > > Key: AMQ-4221 > URL: https://issues.apache.org/jira/browse/AMQ-4221 > Project: ActiveMQ > Issue Type: Bug > Components: Broker > Affects Versions: 5.7.0 > Reporter: Gary Tully > Assignee: Gary Tully > Fix For: 5.8.0 > > > {code}2012-12-13 11:37:27,027 [calhost] Task-1] - ERROR Queue - Failed to page in more queue messages > java.lang.NullPointerException > at org.apache.kahadb.index.ListNode.access$200(ListNode.java:37) > at org.apache.kahadb.index.ListNode$NodeMarshaller.writePayload(ListNode.java:265) > at org.apache.kahadb.index.ListNode$NodeMarshaller.writePayload(ListNode.java:255) > at org.apache.kahadb.page.Transaction.store(Transaction.java:248) > at org.apache.kahadb.index.ListIndex.storeNode(ListIndex.java:326) > at org.apache.kahadb.index.ListNode.store(ListNode.java:332) > at org.apache.kahadb.index.ListNode.access$500(ListNode.java:37) > at org.apache.kahadb.index.ListNode$ListIterator.remove(ListNode.java:227) > at org.apache.activemq.store.kahadb.plist.PList$PListIterator$1.execute(PList.java:229) > at org.apache.kahadb.page.Transaction.execute(Transaction.java:771) > at org.apache.activemq.store.kahadb.plist.PList$PListIterator.remove(PList.java:226) > at org.apache.activemq.broker.region.cursors.FilePendingMessageCursor$DiskIterator.remove(FilePendingMessageCursor.java:517) > at org.apache.activemq.broker.region.cursors.FilePendingMessageCursor.remove(FilePendingMessageCursor.java:321) > at org.apache.activemq.broker.region.Queue.doPageInForDispatch(Queue.java:1735) > at org.apache.activemq.broker.region.Queue.pageInMessages(Queue.java:1948) > at org.apache.activemq.broker.region.Queue.iterate(Queue.java:1465) > at org.apache.activemq.thread.PooledTaskRunner.runTask(PooledTaskRunner.java:122) > at org.apache.activemq.thread.PooledTaskRunner$1.run(PooledTaskRunner.java:43) > at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) > at java.lang.Thread.run(Thread.java:680) > {code} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira