You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Felix Meschberger (JIRA)" <ji...@apache.org> on 2007/06/12 03:56:26 UTC

[jira] Updated: (JCR-970) ClassDescriptor.getDescendantClassDescriptor may throw a NullPointerException

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

Felix Meschberger updated JCR-970:
----------------------------------

    Attachment: JCR-970.diff

Proposed fix.

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