Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 331063 - NOSUCHMETHODEXCEPTION/DESCRIPTOREXCEPTION ON LISTOFSTRING
Summary: NOSUCHMETHODEXCEPTION/DESCRIPTOREXCEPTION ON LISTOFSTRING
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-11-24 16:09 EST by Matt MacIvor CLA
Modified: 2022-06-09 10:35 EDT (History)
0 users

See Also:


Attachments
proposed fix and test case (7.18 KB, patch)
2010-11-24 16:35 EST, Matt MacIvor CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Matt MacIvor CLA 2010-11-24 16:09:31 EST
This seems depend on the 'combination' of types to create the jaxbContext.
The java types we give to jaxb come from the methods on the SEI(service
endpoint interface). I have a SEI with 3 methods, and this problem only
happen in some
combination of these 3 methods.

Exception [EclipseLink-60] (Eclipse Persistence Services -
2.2.0.v20101012-r8345):
org.eclipse.persistence.exceptions.DescriptorException
Exception Description: The method [setValue] or [getValue] is not defined in
the object [jaxb.dev.java.net.java.lang.ListOfString2].
Internal Exception: java.lang.NoSuchMethodException:
jaxb.dev.java.net.java.lang.ListOfString2.getValue()
Mapping:
org.eclipse.persistence.oxm.mappings.XMLDirectMapping[value-->text()]
Descriptor: XMLDescriptor(jaxb.dev.java.net.java.lang.ListOfString2 -->
[DatabaseTable(ns0:sayHello)])
Comment 1 Matt MacIvor CLA 2010-11-24 16:18:00 EST
This bug is related to an issue in MappingsGenerator. A check is incorrectly determining that two separate TypeMappingInfo objects should map to the same complex type.
Comment 2 Matt MacIvor CLA 2010-11-24 16:35:50 EST
Created attachment 183803 [details]
proposed fix and test case
Comment 3 Matt MacIvor CLA 2010-11-24 16:48:27 EST
Attached patch checked in to SVN
Reviewed by David McCann
Comment 4 Matt MacIvor CLA 2010-11-24 16:48:39 EST
closing as fixed
Comment 5 Eclipse Webmaster CLA 2022-06-09 10:35:14 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink