You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Timothy Bish (Resolved) (JIRA)" <ji...@apache.org> on 2011/10/21 23:02:32 UTC

[jira] [Resolved] (AMQ-3559) KahaDB NPE when loading data from previous versions

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

Timothy Bish resolved AMQ-3559.
-------------------------------

    Resolution: Fixed

Fixed in trunk
                
> KahaDB NPE when loading data from previous versions
> ---------------------------------------------------
>
>                 Key: AMQ-3559
>                 URL: https://issues.apache.org/jira/browse/AMQ-3559
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.6.0
>            Reporter: Timothy Bish
>            Assignee: Timothy Bish
>             Fix For: 5.6.0
>
>
> When loading a data directory containing KahaDB logs from previous versions a NPE exception can be encountered.  The new Version in 5.6 is v4 however an if statement in the MessageDatabase still checks against a current of v3.  Code needs to be updated to use the VERSION field to ensure its checking against the most current value.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira