Closing ApplicationRegistry components can NPE and prevent others cleanly 
shutting down
---------------------------------------------------------------------------------------

                 Key: QPID-2622
                 URL: https://issues.apache.org/jira/browse/QPID-2622
             Project: Qpid
          Issue Type: Bug
          Components: Java Broker
    Affects Versions: 0.6, 0.5
            Reporter: Martin Ritchie
            Assignee: Martin Ritchie


The ApplicationRegistry has a close() method that peforms close() on a number 
of broker components.

However, it currently has a rather ugly structure:
try : close finally : try : close : finally ....

Also the items that are being closed need to be null tested in case there was 
an error during broker startup.

Refactor all the close methods so that they do not throw Exceptions as there is 
nothing we can do but report it during shutdown.

-- 
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:[email protected]

Reply via email to