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 A7D59FB52 for ; Wed, 17 Apr 2013 18:09:20 +0000 (UTC) Received: (qmail 56937 invoked by uid 500); 17 Apr 2013 18:09:17 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 56853 invoked by uid 500); 17 Apr 2013 18:09:17 -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 56778 invoked by uid 99); 17 Apr 2013 18:09:16 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Apr 2013 18:09:16 +0000 Date: Wed, 17 Apr 2013 18:09:16 +0000 (UTC) From: "Timothy Bish (JIRA)" To: dev@activemq.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (AMQ-4475) NullPointerException with IndividualDeadLetterStrategy and TimeStampBrokerPlugin 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-4475?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Timothy Bish resolved AMQ-4475. ------------------------------- Resolution: Fixed Fixed on trunk > NullPointerException with IndividualDeadLetterStrategy and TimeStampBrokerPlugin > -------------------------------------------------------------------------------- > > Key: AMQ-4475 > URL: https://issues.apache.org/jira/browse/AMQ-4475 > Project: ActiveMQ > Issue Type: Bug > Components: Broker > Affects Versions: 5.8.0 > Reporter: Timothy Bish > Assignee: Timothy Bish > Fix For: 5.9.0 > > > When using the IndividualDeadLetterStrategy and and the TimestampBrokerPlugin if a Message is forwarded from one Queue to another over the VM Transport you get a NullPointerException > {noformat} > We are getting the null pointer below when using TimeStampingBrokerPlugin & IndividualDeadLetterStrategy: > Caused by: java.lang.NullPointerException > at org.apache.activemq.broker.region.policy.IndividualDeadLetterStrategy.getDeadLetterQueueFor(IndividualDeadLetterStrategy.java:44) > at org.apache.activemq.broker.util.TimeStampingBrokerPlugin.isDestinationDLQ(TimeStampingBrokerPlugin.java:148) > at org.apache.activemq.broker.util.TimeStampingBrokerPlugin.send(TimeStampingBrokerPlugin.java:105) > at org.apache.activemq.broker.MutableBrokerFilter.send(MutableBrokerFilter.java:135) > at org.apache.activemq.broker.TransportConnection.processMessage(TransportConnection.java:450) > at org.apache.activemq.command.ActiveMQMessage.visit(ActiveMQMessage.java:680) > at org.apache.activemq.broker.TransportConnection.service(TransportConnection.java:294) > at org.apache.activemq.broker.TransportConnection$1.onCommand(TransportConnection.java:152) > at org.apache.activemq.transport.ResponseCorrelator.onCommand(ResponseCorrelator.java:116) > at org.apache.activemq.transport.MutexTransport.onCommand(MutexTransport.java:50) > at org.apache.activemq.transport.vm.VMTransport.iterate(VMTransport.java:241) > at org.apache.activemq.thread.PooledTaskRunner.runTask(PooledTaskRunner.java:129) > at org.apache.activemq.thread.PooledTaskRunner$1.run(PooledTaskRunner.java:47) > {noformat} -- 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