openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeremy Bauer (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (OPENJPA-819) NPE when no metadata is defined for a persistent class
Date Thu, 18 Dec 2008 20:41:44 GMT

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

Jeremy Bauer resolved OPENJPA-819.
----------------------------------

    Resolution: Fixed

Committed for Dianne Richards to trunk under revision 727813.  Resolving issue.

> NPE when no metadata is defined for a persistent class
> ------------------------------------------------------
>
>                 Key: OPENJPA-819
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-819
>             Project: OpenJPA
>          Issue Type: Bug
>          Components: kernel
>    Affects Versions: 2.0.0
>            Reporter: Dianne Richards
>            Assignee: Dianne Richards
>            Priority: Minor
>             Fix For: 2.0.0
>
>         Attachments: OPENJPA-819.patch, OPENJPA-819.patch
>
>
> The persistent class was specified in the persistence.xml under <class>, but persistence
metadata was not specified for the class, either through annotation or the orm.xml. A NPE
was thrown. We need a better message.
> This issue was reported in the user forum by post http://n2.nabble.com/NullPointerException-when-calling-createEntityManager-on--EntityManagerFactory-td1621881.html

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