jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christophe Lombart (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (JCR-1142) ocm fails with NPE when a ClassDescriptor isn't found
Date Mon, 24 Sep 2007 20:48:50 GMT

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


Mime
View raw message