Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 365312 - with xmlparser, in test-oxm, 18 Inheritance test cases failed with Missing class for indicator field value
Summary: with xmlparser, in test-oxm, 18 Inheritance test cases failed with Missing cl...
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Nobody - feel free to take it CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-01 09:19 EST by Praba Vijayaratnam CLA
Modified: 2022-06-09 10:25 EDT (History)
3 users (show)

See Also:


Attachments
Patch (949 bytes, patch)
2012-05-07 12:52 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 Praba Vijayaratnam CLA 2011-12-01 09:19:32 EST
Test Config:

Java Development Kit: jdk16
Ant parameters:
-Dxml.platform=org.eclipse.persistence.platform.xml.xdk.XDKPlatform
-Dxml.parser.jar=xmlparserv2.jar

---------
org.eclipse.persistence.testing.oxm.deploymentxml.inheritance.InheritanceCarDefaultNSTestCases.Deployment XML w/DOM Parsing: InheritanceCarDefaultNSTestCase: testXMLToObjectFromInputStream

org.eclipse.persistence.testing.oxm.deploymentxml.inheritance.InheritanceCarDefaultNSTestCases.Deployment XML w/DOM Parsing: InheritanceCarDefaultNSTestCase: testXMLToObjectFromNode

org.eclipse.persistence.testing.oxm.deploymentxml.inheritance.InheritanceCarDefaultNSTestCases.Deployment XML w/DOM Parsing: InheritanceCarDefaultNSTestCase: testXMLToObjectFromXMLStreamReader

org.eclipse.persistence.testing.oxm.deploymentxml.inheritance.InheritanceCarDefaultNSTestCases.Deployment XML w/DOM Parsing: InheritanceCarDefaultNSTestCase: testXMLToObjectFromXMLEventReader

org.eclipse.persistence.testing.oxm.deploymentxml.inheritance.InheritanceCarDefaultNSTestCases.Deployment XML w/DOM Parsing: InheritanceCarDefaultNSTestCase: testXMLToObjectFromURL

org.eclipse.persistence.testing.oxm.deploymentxml.inheritance.InheritanceCarDefaultNSTestCases.Deployment XML w/DOM Parsing: InheritanceCarDefaultNSTestCase: testUnmarshallerHandler

-------------

Exception Description: Missing class for indicator field value [car-type] of type [class java.lang.String]. Descriptor: XMLDescriptor(org.eclipse.persistence.testing.oxm.inheritance.Vehicle --> [DatabaseTable(prefix:vehicle)]) 

Local Exception Stack: 
Exception [EclipseLink-43] (Eclipse Persistence Services - 2.4.0.v20111130-r10478): org.eclipse.persistence.exceptions.DescriptorException
Exception Description: Missing class for indicator field value [car-type] of type [class java.lang.String].
Descriptor: XMLDescriptor(org.eclipse.persistence.testing.oxm.inheritance.Vehicle --> [DatabaseTable(prefix:vehicle)])
at org.eclipse.persistence.exceptions.DescriptorException.missingClassForIndicatorFieldValue(DescriptorException.java:937)
at org.eclipse.persistence.internal.oxm.QNameInheritancePolicy.classFromRow(QNameInheritancePolicy.java:198)
at org.eclipse.persistence.internal.oxm.XMLObjectBuilder.buildObject(XMLObjectBuilder.java:248)
at org.eclipse.persistence.internal.oxm.record.DOMUnmarshaller.xmlToObject(DOMUnmarshaller.java:456)
at org.eclipse.persistence.internal.oxm.record.DOMUnmarshaller.xmlToObject(DOMUnmarshaller.java:382)
at org.eclipse.persistence.internal.oxm.record.DOMUnmarshaller.unmarshal(DOMUnmarshaller.java:162)
at org.eclipse.persistence.oxm.XMLUnmarshaller.unmarshal(XMLUnmarshaller.java:364)
at org.eclipse.persistence.testing.oxm.mappings.XMLMappingTestCases.testXMLToObjectFromInputStream(XMLMappingTestCases.java:207)
Comment 1 Rick Barkhouse CLA 2012-05-07 12:52:25 EDT
Created attachment 215192 [details]
Patch
Comment 2 Rick Barkhouse CLA 2012-05-07 12:55:04 EDT
This patch applies the JAXPPlatform fix from  bug 219496 (No name space does not work with inheritance) to the XDKPlatform.
Comment 3 Rick Barkhouse CLA 2012-05-07 13:33:26 EDT
Fixed and checked into trunk (verified in Eclipse).  Reviewed by mmacivor.
Comment 4 Eclipse Webmaster CLA 2022-06-09 10:25:53 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink