| Summary: | NPE while using eclipselink in the application | ||||||
|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Tanuja <tanujakotappa> | ||||
| Component: | Eclipselink | Assignee: | Guy Pelletier <guy.pelletier> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P2 | CC: | eclipselink.orm-inbox, guy.pelletier, laeubi, michael.munn, mitesh.meswani, remy.suen, tom.ware | ||||
| Version: | unspecified | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | All | ||||||
| OS: | other | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Tanuja
Please open EclipseLink bugs with EclipseLink. From an email conversation about this bug: The fault (on our end) seems to lie on reloading a MappedSuperclass (from XML) to an Embeddable class to create our internal metamodel. If they annotated the mapped superclass (rather than map it in XML), it may get them by the problem. Alternatively, it would seem that the embeddable class is only annotated and if it were mapped in XML it could alleviate the problem (oddly enough). So may it may be as simple as adding in XML <embeddable class="blah"/> For the embeddable classes that inherit from a mapped superclass. Setting target and priority. See the following page for the meanings of these fields: http://wiki.eclipse.org/EclipseLink/Development/Bugs/Guidelines Community: Please vote for this bug if it is important to you. Votes are one of the main criteria we use to determine which bugs to fix next. Created attachment 199183 [details]
Proposed changes
Changes have been submitted to both the 2.3.1 and trunk streams. Verified by: Tom Ware Tests: Metadata processing error. New test model created, with fix in place no NPE occurs. *** Bug 358795 has been marked as a duplicate of this bug. *** Is this included in 2.3.1-M8 ?? This fix should appear in 2.3.1 M8. (It was fixed quite early in our 2.3.1 development and likely appears as early as M2) The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink |