Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 362791

Summary: JAXB project with XmlList, NPE during validation
Product: [WebTools] Dali JPA Tools Reporter: Karen Butzke <karenfbutzke>
Component: JAXBAssignee: dali.general-inbox <dali.general-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: paul.fullbright
Version: 3.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
stack trace none

Description Karen Butzke CLA 2011-11-03 09:34:58 EDT
Created attachment 206405 [details]
stack trace

I have an eclipseLink jaxb project with the following to classes. I get the attached NPE whenever validation runs.

@XmlType
public class Foo {
    @XmlList List<Bar> foo3; // only if Bar maps to a simple type
}

public class Bar {
}
Comment 1 Paul Fullbright CLA 2011-11-03 09:36:43 EDT

*** This bug has been marked as a duplicate of bug 362713 ***