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

Reply via email to