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] Updated: (JCR-970) ClassDescriptor.getDescendantClassDescriptor may throw a NullPointerException
Date Tue, 12 Jun 2007 01:56:26 GMT

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


Mime
View raw message