Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 367969 - Bug with a JAXBElement<MyEnum> subclass
Summary: Bug with a JAXBElement<MyEnum> subclass
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: 2012-01-05 13:48 EST by Denise Smith CLA
Modified: 2022-06-09 10:33 EDT (History)
0 users

See Also:


Attachments
2.3 Proposed patch (10.42 KB, patch)
2012-01-05 13:50 EST, Denise Smith CLA
no flags Details | Diff
trunk proposed patch (10.38 KB, patch)
2012-01-05 14:23 EST, 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 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