Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 328888 - Dynamic JAXB: NPE bootstrapping from XSD with nested inner classes
Summary: Dynamic JAXB: NPE bootstrapping from XSD with nested inner classes
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Nobody - feel free to take it CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-27 16:27 EDT by Rick Barkhouse CLA
Modified: 2022-06-09 10:27 EDT (History)
0 users

See Also:


Attachments
Proposed patch. (45.09 KB, patch)
2010-10-29 14:34 EDT, Rick Barkhouse CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Rick Barkhouse CLA 2010-10-27 16:27:23 EDT
Forum post here:

http://www.eclipse.org/forums/index.php?t=post&reply_to=635483&S=6c718644751fe3ea317ba3730c78a278

We are incorrectly building the XJCJavaModel for multi-level inner types.
Comment 2 Rick Barkhouse CLA 2010-10-29 14:34:27 EDT
Created attachment 182072 [details]
Proposed patch.
Comment 3 Rick Barkhouse CLA 2010-11-01 12:08:22 EDT
Fixed.  Enabled JavaClass caching to ensure proper instances are returned when querying method return types, parameter types, etc.

Test case: o.e.p.testing.jaxb.dynamic.DynamicJAXBFromXSDTestCases::testNestedInnerClasses
Comment 4 Eclipse Webmaster CLA 2022-06-09 10:27:40 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink