Keith Wall created QPID-5784:
--------------------------------

             Summary: BDB CoalescingCommiter can NPE on shutdown
                 Key: QPID-5784
                 URL: https://issues.apache.org/jira/browse/QPID-5784
             Project: Qpid
          Issue Type: Bug
          Components: Java Broker
            Reporter: Keith Wall
            Assignee: Keith Wall
            Priority: Minor
             Fix For: 0.29


Since QPID-5410, if the Broker is shutdown whilst the coalescing commiter is 
still completing jobs, there is an opportunity for a NPE from the commit 
thread.   This is being written to stderr. 

{noformat}
Exception in thread "Commit-Thread-test" java.lang.NullPointerException
        at 
org.apache.qpid.server.store.berkeleydb.CoalescingCommiter$CommitThread.processJobs(CoalescingCommiter.java:245)
        at 
org.apache.qpid.server.store.berkeleydb.CoalescingCommiter$CommitThread.run(CoalescingCommiter.java:214)
{noformat}

This defect has no end-user impact, as inflight transactions will still be 
aborted.

The code should be changed to avoid the NPE possibility.






--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to