You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "John Arnesen (JIRA)" <ji...@apache.org> on 2014/11/17 19:42:33 UTC
[jira] [Created] (AMQ-5442) NullPointerException in
SimpleDiscoveryEvent on Shutdown
John Arnesen created AMQ-5442:
---------------------------------
Summary: NullPointerException in SimpleDiscoveryEvent on Shutdown
Key: AMQ-5442
URL: https://issues.apache.org/jira/browse/AMQ-5442
Project: ActiveMQ
Issue Type: Bug
Components: Broker
Affects Versions: 5.10.0
Reporter: John Arnesen
If startup of a broker fails when using SimpleDiscoveryAgent, then you will encounter a NullPointerException on shutdown because the TaskRunnerFactory instance is created during startup and there is no check to ensure it was created before attempting the shutdown:
{quote}
org.apache.activemq.network.DiscoveryNetworkConnector Could not stop service: DiscoveryNetworkConnector:NC:BrokerService[...]. Reason: java.lang.NullPointerException
at org.apache.activemq.transport.discovery.simple.SimpleDiscoveryAgent.stop(SimpleDiscoveryAgent.java:96)
{quote}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)