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

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=14007325#comment-14007325 ] 

ASF subversion and git services commented on QPID-5784:
-------------------------------------------------------

Commit 1597122 from [~k-wall] in branch 'qpid/trunk'
[ https://svn.apache.org/r1597122 ]

QPID-5784: [Java Broker] Prevent NPE possibility from BDB store\'s coalescing committer on 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