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

Bug 367969

Summary: Bug with a JAXBElement<MyEnum> subclass
Product: z_Archived Reporter: Denise Smith <denise.mahar>
Component: EclipselinkAssignee: Nobody - feel free to take it <nobody>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
2.3 Proposed patch
none
trunk proposed patch none

Description Denise Smith CLA 2012-01-05 13:48:28 EST
The following exception occurs as the appropriate Enum converter is not getting set on a directmapping (currently creating a compositeobjectmapping).

   [exec] [testlogic] [2012-01-05 01:35:45,212] [junit] Caused by: java.lang.RuntimeException: javax.xml.bind.JAXBException:

     [exec] [testlogic] [2012-01-05 01:35:45,212] [junit] Descriptor Exceptions:

     [exec] [testlogic] [2012-01-05 01:35:45,212] [junit] ---------------------------------------------------------

     [exec] [testlogic] [2012-01-05 01:35:45,212] [junit] Exception [EclipseLink-110] (Eclipse Persistence Services - 2.4.0.v20120104-r10637): org.eclipse.persistence.exceptions.DescriptorException

     [exec] [testlogic] [2012-01-05 01:35:45,212] [junit] Exception Description: Descriptor is missing for class [oracle.security.xml.ws.trust.wssx.bindings.RequestTypeEnum].

     [exec] [testlogic] [2012-01-05 01:35:45,212] [junit] Mapping: org.eclipse.persistence.oxm.mappings.XMLCompositeObjectMapping[value]

     [exec] [testlogic] [2012-01-05 01:35:45,212] [junit] Descriptor: XMLDescriptor(oracle.security.xml.ws.trust.wssx.bindings.RequestType --> [DatabaseTable(ns0:RequestType)])

     [exec] [testlogic] [2012-01-05 01:35:45,212] [junit] Exception [EclipseLink-110] (Eclipse Persistence Services - 2.4.0.v20120104-r10637): org.eclipse.persistence.exceptions.DescriptorException

     [exec] [testlogic] [2012-01-05 01:35:45,212] [junit] Exception Description: Descriptor is missing for class [oracle.security.xml.ws.trust.wssx.bindings.KeyTypeEnum].

     [exec] [testlogic] [2012-01-05 01:35:45,212] [junit] Mapping: org.eclipse.persistence.oxm.mappings.XMLCompositeObjectMapping[value]

     [exec] [testlogic] [2012-01-05 01:35:45,212] [junit] Descriptor: XMLDescriptor(oracle.security.xml.ws.trust.wssx.bindings.KeyType --> [DatabaseTable(ns0:KeyType)])

     [exec] [testlogic] [2012-01-05 01:35:45,212] [junit] Runtime Exceptions:
Comment 1 Denise Smith CLA 2012-01-05 13:50:04 EST
Created attachment 209095 [details]
2.3 Proposed patch
Comment 2 Denise Smith CLA 2012-01-05 14:23:28 EST
Created attachment 209097 [details]
trunk proposed patch
Comment 3 Denise Smith CLA 2012-01-06 10:23:07 EST
Fix checked in to trunk
Comment 4 Denise Smith CLA 2012-01-06 11:44:51 EST
Fix checked in to 2.3.3
Comment 5 Eclipse Webmaster CLA 2022-06-09 10:33:08 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink