Community
Participate
Working Groups
Build Identifier: M20110909-1335 1. Load the attached repository 2. Open Employee class and go to either "employees" or "phones" field 3. Try to comment out @XmlIDREF JAXB validation will stop working with the following NPE: java.lang.NullPointerException at org.eclipse.jpt.jaxb.core.internal.context.java.GenericJavaXmlList.validate(GenericJavaXmlList.java:90) at org.eclipse.jpt.jaxb.core.internal.context.java.GenericJavaBasicMapping.validate(GenericJavaBasicMapping.java:474) at org.eclipse.jpt.jaxb.core.internal.context.java.GenericJavaXmlElementMapping.validate(GenericJavaXmlElementMapping.java:226) The full stack trace and repository are attached. Reproducible: Always
Created attachment 206362 [details] Stack Trace
Created attachment 206363 [details] Repository
*** Bug 362791 has been marked as a duplicate of this bug. ***
Created attachment 206409 [details] Stack Trace 2 JAXB validation also stops working when generating classes from a schema. The stack trace looks similar so I attach the stack trace and the schema I am using to this bug. If opening a new bug is necessary, please let me know.
Created attachment 206410 [details] Schema
fixed for 3.1 m3