You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Christophe Lombart (JIRA)" <ji...@apache.org> on 2007/09/24 22:48:50 UTC

[jira] Resolved: (JCR-1142) ocm fails with NPE when a ClassDescriptor isn't found

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

Christophe Lombart resolved JCR-1142.
-------------------------------------

    Resolution: Fixed

Patch applied. I suggest to add more unit tests on ocm.getObject(class, string) before closing this issue.

> ocm fails with NPE when a ClassDescriptor isn't found
> -----------------------------------------------------
>
>                 Key: JCR-1142
>                 URL: https://issues.apache.org/jira/browse/JCR-1142
>             Project: Jackrabbit
>          Issue Type: Improvement
>          Components: jcr-mapping
>            Reporter: Edgar Poce
>            Assignee: Christophe Lombart
>            Priority: Minor
>         Attachments: JCR-1142.patch
>
>
> ObjectConverterImpl#getObject(Session session, Class clazz, String path) should validate whether there's a suitable mapping in order to throw a more descriptive exception as ObjectConverterImpl#getObject(Session session, String path) does.

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