You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Keith Wall (JIRA)" <ji...@apache.org> on 2014/05/23 18:24:01 UTC

[jira] [Updated] (QPID-5784) BDB store's CoalescingCommiter can NPE on Broker shutdown

     [ https://issues.apache.org/jira/browse/QPID-5784?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Keith Wall updated QPID-5784:
-----------------------------

    Summary: BDB store's CoalescingCommiter can NPE on Broker shutdown  (was: BDB CoalescingCommiter can NPE on Broker shutdown)

> BDB store's CoalescingCommiter can NPE on Broker 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