openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin Sutter (JIRA)" <>
Subject [jira] [Created] (OPENJPA-2331) NPE during enhancement processing
Date Mon, 11 Feb 2013 15:27:14 GMT
Kevin Sutter created OPENJPA-2331:

             Summary: NPE during enhancement processing
                 Key: OPENJPA-2331
             Project: OpenJPA
          Issue Type: Bug
          Components: Enhance
    Affects Versions: 2.0.1, 2.0.2, 2.0.3
            Reporter: Kevin Sutter

Based on a discussion in the Users mailing list:

The user was migrating an application from Hibernate to OpenJPA.  The application used inheritance.
 The Hibernate mapping file did not have separate entity mappings for one of the parent entity
classes.  The tooling [1] generated an orm.xml file with attributes of the parent entity class
mixed in with the child class.  These errant attributes caused the issues with the enhancement

So, a combination of the migration tools along with the mixed up orm xml files led to these
errors.  But, still an NPE is not good and we should handle these conditions better.  Thus,
this JIRA...


This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message