You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2016/04/14 20:40:25 UTC

[jira] [Commented] (AMQ-6250) MultiKahaDBTransactionStore should have null protection in close

    [ https://issues.apache.org/jira/browse/AMQ-6250?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15241698#comment-15241698 ] 

ASF subversion and git services commented on AMQ-6250:
------------------------------------------------------

Commit 092c56d70c1440fbdb1e91447a1bc4a2c461e5c7 in activemq's branch refs/heads/master from [~cshannon]
[ https://git-wip-us.apache.org/repos/asf?p=activemq.git;h=092c56d ]

https://issues.apache.org/jira/browse/AMQ-6250

Checking for null before closing the journal in
MultiKahaDBPersistentAdapter.  Also protecting against multiple calls to
start and stop.


> MultiKahaDBTransactionStore should have null protection in close
> ----------------------------------------------------------------
>
>                 Key: AMQ-6250
>                 URL: https://issues.apache.org/jira/browse/AMQ-6250
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: KahaDB
>    Affects Versions: 5.9.1, 5.13.2
>            Reporter: james
>            Priority: Minor
>             Fix For: 5.14.0
>
>
> When utilizing the MultiKahaDBPersistenceAdapter and there is a failure during broker startup, (depending on when the startup failure occurs) a secondary NullPointerException can be generated from MultiKahaDBTransactionStore.close.  this happens if the transaction store is closed when it has not yet been opened.  the problem is that the close method does not check the journal for null before closing.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)