You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Julian Reschke (Updated) (JIRA)" <ji...@apache.org> on 2011/09/29 13:40:45 UTC

[jira] [Updated] (JCR-3085) better diagnostics when version storage is broken

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

Julian Reschke updated JCR-3085:
--------------------------------

    Affects Version/s: 2.4
                       2.2.8
        Fix Version/s: 2.2.9
    
> better diagnostics when version storage is broken
> -------------------------------------------------
>
>                 Key: JCR-3085
>                 URL: https://issues.apache.org/jira/browse/JCR-3085
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>          Components: jackrabbit-core
>    Affects Versions: 2.2.8, 2.4
>            Reporter: Julian Reschke
>            Assignee: Julian Reschke
>             Fix For: 2.2.9
>
>
> In InternalVersionManagerBase, the code doesn't do a null-check on the predecessors property, assuming it'll always be present. When this is not the case due to a repository problem, we'll see a NPE.
> Proposal: add code that generates a more meaningful error message; making it easier to debug in production.

--
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