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

Matt Baker commented on AMQ-4462:
---------------------------------

I don't have any .xml file since it is configured entirely through java using 
the properties setup mentioned above.  Its kind of random.  On a clean jvm 
shutdown this happens on restart.  If I kill the java.exe process and then 
restart this doesn't happen. 

I will try with a 5.9 snapshot when I get a chance...will be a few days.
                
> 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