Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 355719 - Exception during marshal and unmarshal with XmlValue on a collection or array
Summary: Exception during marshal and unmarshal with XmlValue on a collection or array
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Nobody - feel free to take it CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-24 11:27 EDT by Denise Smith CLA
Modified: 2022-06-09 10:31 EDT (History)
2 users (show)

See Also:


Attachments
2.3 patch (26.22 KB, patch)
2011-09-16 13:31 EDT, Denise Smith CLA
no flags Details | Diff
2.4 patch (2.15 KB, patch)
2011-09-16 13:32 EDT, Denise Smith CLA
no flags Details | Diff
2.3 patch (42.41 KB, patch)
2011-09-16 13:34 EDT, Denise Smith CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Denise Smith CLA 2011-08-24 11:27:27 EDT
To reproduce this run the following tests
org.eclipse.persistence.testing.jaxb.externalizedmetadata.xmlvalue.XmlValueInternationalPricesTestCases and 
org.eclipse.persistence.testing.jaxb.externalizedmetadata.xmlvalue.XmlValueCdnPricesTestCases

When fixed uncomment the following lines in ExternalizedMetadataTestSuite 
     //suite.addTestSuite(XmlValueInternationalPricesTestCases.class);
     //suite.addTestSuite(XmlValueCdnPricesTestCases.class);
   
Currently there is a NPE during marshal operations and nothing is read in during the unmarshal.
Comment 1 Denise Smith CLA 2011-09-16 13:31:40 EDT
Created attachment 203504 [details]
2.3 patch
Comment 2 Denise Smith CLA 2011-09-16 13:32:01 EDT
Created attachment 203505 [details]
2.4 patch
Comment 3 Denise Smith CLA 2011-09-16 13:34:26 EDT
Created attachment 203506 [details]
2.3 patch
Comment 4 Denise Smith CLA 2011-09-16 14:05:44 EDT
Fixed in MappingsGenerator to turn on usesSingleNode on a CompositeDirectCollectionMapping if an XmlValue annotation is on a List property.
Comment 5 Eclipse Webmaster CLA 2022-06-09 10:31:28 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink