jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Felix Meschberger (JIRA)" <j...@apache.org>
Subject [jira] Closed: (JCR-970) ClassDescriptor.getDescendantClassDescriptor may throw a NullPointerException
Date Sun, 14 Oct 2007 11:16:50 GMT

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

Felix Meschberger closed JCR-970.
---------------------------------

       Resolution: Duplicate
    Fix Version/s: 1.4
         Assignee: Felix Meschberger

This is actually a duplicate of JCR-1143 (or the other way around) and has already been fixed.
So, I close this issue as a duplicate.

Thanks for the reminder.

> ClassDescriptor.getDescendantClassDescriptor may throw a NullPointerException
> -----------------------------------------------------------------------------
>
>                 Key: JCR-970
>                 URL: https://issues.apache.org/jira/browse/JCR-970
>             Project: Jackrabbit
>          Issue Type: Bug
>          Components: jcr-mapping
>            Reporter: Felix Meschberger
>            Assignee: Felix Meschberger
>             Fix For: 1.4
>
>         Attachments: JCR-970.diff
>
>
> When a Class Descriptor has no jcrNodeType set, which is allowed, the ClassDescriptor.getDescendantClassDescriptor
will throw a NullPointerException when checking the descriptor. This may easily be prevent
by reverting the test for the jcr nodetype.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message