QMF NullPointerException on broker shutdown. --------------------------------------------
Key: QPID-2400 URL: https://issues.apache.org/jira/browse/QPID-2400 Project: Qpid Issue Type: Bug Reporter: Martin Ritchie 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. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mailto:dev-subscr...@qpid.apache.org