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)" <qp...@incubator.apache.org> on 2010/04/19 10:36:54 UTC

[jira] Updated: (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 updated QPID-2400:
---------------------------------

    Status: Ready To Review  (was: In Progress)

> 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
>
> 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-subscribe@qpid.apache.org