qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Keith Wall (JIRA)" <j...@apache.org>
Subject [jira] [Created] (QPID-5784) BDB CoalescingCommiter can NPE on shutdown
Date Fri, 23 May 2014 16:24:01 GMT
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: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Mime
View raw message