jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Julian Reschke (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (JCR-3111) InternalVersionManagerBase; missing null check after getNode()
Date Fri, 14 Oct 2011 11:58:11 GMT

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

Julian Reschke updated JCR-3111:

    Attachment: JCR-3111.patch

new proposed patch, just adding explicit exceptions supplying more information
> InternalVersionManagerBase; missing null check after getNode()
> --------------------------------------------------------------
>                 Key: JCR-3111
>                 URL: https://issues.apache.org/jira/browse/JCR-3111
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-core, versioning
>            Reporter: Julian Reschke
>            Assignee: Julian Reschke
>         Attachments: JCR-3111.patch, JCR-3111.patch
> There are at least two instances where we check for a node with hasNode(), and then call
getNode() without checking for null.

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


View raw message