[ 
https://issues.apache.org/jira/browse/AMQ-5097?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Timothy Bish closed AMQ-5097.
-----------------------------
    Resolution: Won't Fix

LevelDB has been deprecated and is no longer supported.

> ElectingLevelDBStore - NPE in doStop
> ------------------------------------
>
>                 Key: AMQ-5097
>                 URL: https://issues.apache.org/jira/browse/AMQ-5097
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: activemq-leveldb-store
>    Affects Versions: 5.10.0
>            Reporter: Claus Ibsen
>            Priority: Minor
>
> I copied the examples/conf/activemq-leveldb-replicating.xml to the conf 
> directory and started AMQ
> bin/activemq console xbean:conf/activemq-leveldb-replicating.xml
> Then after a while it give up, and you get this NPE
> {code}
> ERROR | Could not stop service: Replicated 
> LevelDB[/opt/apache-activemq-5.10-SNAPSHOT/data, 
> 127.0.0.1:2181//activemq/leveldb-stores]. Reason: 
> java.lang.NullPointerException
> java.lang.NullPointerException
>       at 
> org.apache.activemq.leveldb.replicated.ElectingLevelDBStore.doStop(ElectingLevelDBStore.scala:276)
>       at org.apache.activemq.util.ServiceSupport.stop(ServiceSupport.java:71)
>       at org.apache.activemq.util.ServiceStopper.stop(ServiceStopper.java:41)
>       at org.apache.activemq.broker.BrokerService.stop(BrokerService.java:775)
>       at 
> org.apache.activemq.xbean.XBeanBrokerService.stop(XBeanBrokerService.java:122)
>       at 
> org.apache.activemq.broker.BrokerService.start(BrokerService.java:601)
>       at 
> org.apache.activemq.console.command.StartCommand.runTask(StartCommand.java:88)
>       at 
> org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:57)
>       at 
> org.apache.activemq.console.command.ShellCommand.runTask(ShellCommand.java:150)
>       at 
> org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:57)
>       at 
> org.apache.activemq.console.command.ShellCommand.main(ShellCommand.java:104)
>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>       at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>       at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>       at java.lang.reflect.Method.invoke(Method.java:606)
>       at org.apache.activemq.console.Main.runTaskClass(Main.java:262)
>       at org.apache.activemq.console.Main.main(Main.java:115)
> ERROR | Could not stop service: Replicated 
> LevelDB[/opt/apache-activemq-5.10-SNAPSHOT/data, 
> 127.0.0.1:2181//activemq/leveldb-stores]. Reason: 
> java.lang.NullPointerException
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to