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 3D477F2DF for ; Mon, 8 Apr 2013 19:01:17 +0000 (UTC) Received: (qmail 46878 invoked by uid 500); 8 Apr 2013 19:01:17 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 46837 invoked by uid 500); 8 Apr 2013 19:01:16 -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 46828 invoked by uid 99); 8 Apr 2013 19:01:16 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Apr 2013 19:01:16 +0000 Date: Mon, 8 Apr 2013 19:01:16 +0000 (UTC) From: "Timothy Bish (JIRA)" To: dev@activemq.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMQ-4462) nullpointerexception in KahaDBStore.getDestinations on startup 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-4462?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13625673#comment-13625673 ] Timothy Bish commented on AMQ-4462: ----------------------------------- We'll need more information like broker configs or a unit test. Have you tried a recent 5.9-SNAPSHOT to see if your issue is already fixed? > nullpointerexception in KahaDBStore.getDestinations on startup > -------------------------------------------------------------- > > Key: AMQ-4462 > URL: https://issues.apache.org/jira/browse/AMQ-4462 > Project: ActiveMQ > Issue Type: Bug > Components: Broker > Affects Versions: 5.8.0 > Environment: windows 7 64bit > Reporter: Matt Baker > > I continuously get the following nullpointerexception from KahaDBStore.getDestinations(). > This is on fresh startup with no files for the kaha database. > I am using an embedded broker. > deleteallmessagesonstartup is set to true > persistent is set to true > jmx is disabled > advisory support is enabled > temp data directory and data directory are both explicitly set to valid directories. > java.lang.NullPointerException > at org.apache.activemq.store.kahadb.KahaDBStore.getDestinations(KahaDBStore.java:951) > at org.apache.activemq.store.kahadb.KahaDBPersistenceAdapter.getDestinations(KahaDBPersistenceAdapter.java:141) > at org.apache.activemq.broker.region.DestinationFactoryImpl.getDestinations(DestinationFactoryImpl.java:68) > at org.apache.activemq.broker.BrokerService.startVirtualConsumerDestinations(BrokerService.java:2467) > at org.apache.activemq.broker.BrokerService.startDestinations(BrokerService.java:2318) > at org.apache.activemq.broker.BrokerService.doStartBroker(BrokerService.java:625) > at org.apache.activemq.broker.BrokerService.startBroker(BrokerService.java:617) > at org.apache.activemq.broker.BrokerService.start(BrokerService.java:553) -- 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