You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Robbie Gemmell (JIRA)" <ji...@apache.org> on 2011/06/07 17:29:59 UTC
[jira] [Resolved] (QPID-2400) QMF NullPointerException on broker
shutdown.
[ https://issues.apache.org/jira/browse/QPID-2400?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robbie Gemmell resolved QPID-2400.
----------------------------------
Resolution: Fixed
Fix Version/s: 0.6
Closing out old issue.
> QMF NullPointerException on broker shutdown.
> --------------------------------------------
>
> Key: QPID-2400
> URL: https://issues.apache.org/jira/browse/QPID-2400
> Project: Qpid
> Issue Type: Bug
> Components: Java Broker, Java Management : QMF
> Reporter: Martin Ritchie
> Assignee: Robbie Gemmell
> Fix For: 0.6
>
>
> The broker failed to bind throwing:
> BROKER: main 2010-02-10 13:24:30,472 ERROR [Qpid.Broker] Error initialising message broker: java.net.BindException: Could not bind to 0.0.0.0/0.0.0.0:15672
> BROKER: java.net.BindException: Could not bind to 0.0.0.0/0.0.0.0:15672
> BROKER: at org.apache.qpid.transport.network.mina.MINANetworkDriver.bind(MINANetworkDriver.java:165)
> BROKER: at org.apache.qpid.server.Main.startup(Main.java:431)
> BROKER: at org.apache.qpid.server.Main.execute(Main.java:233)
> BROKER: at org.apache.qpid.server.Main.<init>(Main.java:104)
> BROKER: at org.apache.qpid.server.Main.main(Main.java:541)
> So when it then goes to shutdown the QMF throws a NPE.
> BROKER: java.lang.NullPointerException
> BROKER: at java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:768)
> BROKER: at org.apache.qpid.qmf.QMFService.unmanageObject(QMFService.java:417)
> BROKER: at org.apache.qpid.qmf.QMFService.onEvent(QMFService.java:395)
> BROKER: at org.apache.qpid.server.configuration.ConfigStore.sendEvent(ConfigStore.java:149)
> BROKER: at org.apache.qpid.server.configuration.ConfigStore.removeConfiguredObject(ConfigStore.java:111)
> BROKER: at org.apache.qpid.server.configuration.SystemConfigImpl.removeBroker(SystemConfigImpl.java:128)
> BROKER: at org.apache.qpid.server.registry.ApplicationRegistry.remove(ApplicationRegistry.java:198)
> BROKER: at org.apache.qpid.server.registry.ApplicationRegistry.removeAll(ApplicationRegistry.java:217)
> BROKER: at org.apache.qpid.server.Main.shutdown(Main.java:254)
> BROKER: at org.apache.qpid.server.Main.execute(Main.java:247)
> BROKER: at org.apache.qpid.server.Main.<init>(Main.java:104)
> BROKER: at org.apache.qpid.server.Main.main(Main.java:541)
> Now I can't tell if the broker always fails to shutdown QMF as the test profiles do not cleanly shutdown the broker. QTC test do an effective kill -9 on the external broker.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org