[ 
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

Reply via email to