Community
Participate
Working Groups
Test Env: Ant target: test-jaxb Java Development Kit: jdk16 Ant parameters: -Dxml.platform=org.eclipse.persistence.platform.xml.xdk.XDKPlatform -Dxml.parser.jar.dir=/net/ottvm033.ca.oracle.com/scratch/aime/eclipselink/org.eclipse.persistence/extension.oracle.lib.external -Dxml.parser.jar=xmlparserv2.jar Following tests failed: org.eclipse.persistence.testing.jaxb.xmlmarshaller.NoSchemaRefTestCases.testValidateNoSchemaReference ------------------------ javax.xml.bind.ValidationException - with linked exception: [Exception [EclipseLink-25005] (Eclipse Persistence Services - 2.3.0.v20110303-r9068): org.eclipse.persistence.exceptions.XMLMarshalException Exception Description: An error occurred validating the object Internal Exception: Exception [EclipseLink-27005] (Eclipse Persistence Services - 2.3.0.v20110303-r9068): org.eclipse.persistence.platform.xml.XMLPlatformException Exception Description: An error occurred while validating the document. Internal Exception: Exception [EclipseLink-25012] (Eclipse Persistence Services - 2.3.0.v20110303-r9068): org.eclipse.persistence.exceptions.XMLMarshalException Exception Description: An error occurred resolving the XML Schema. Internal Exception: java.lang.NullPointerException] at org.eclipse.persistence.jaxb.JAXBValidator.validate(JAXBValidator.java:77) at org.eclipse.persistence.testing.jaxb.xmlmarshaller.NoSchemaRefTestCases.testValidateNoSchemaReference(NoSchemaRefTestCases.java:48) Caused by: Exception [EclipseLink-25005] (Eclipse Persistence Services - 2.3.0.v20110303-r9068): org.eclipse.persistence.exceptions.XMLMarshalException Exception Description: An error occurred validating the object Internal Exception: Exception [EclipseLink-27005] (Eclipse Persistence Services - 2.3.0.v20110303-r9068): org.eclipse.persistence.platform.xml.XMLPlatformException Exception Description: An error occurred while validating the document. Internal Exception: Exception [EclipseLink-25012] (Eclipse Persistence Services - 2.3.0.v20110303-r9068): org.eclipse.persistence.exceptions.XMLMarshalException Exception Description: An error occurred resolving the XML Schema. Internal Exception: java.lang.NullPointerException at org.eclipse.persistence.exceptions.XMLMarshalException.validateException(XMLMarshalException.java:103) at org.eclipse.persistence.oxm.XMLValidator.validate(XMLValidator.java:101) at org.eclipse.persistence.jaxb.JAXBValidator.validate(JAXBValidator.java:75) Caused by: Exception [EclipseLink-27005] (Eclipse Persistence Services - 2.3.0.v20110303-r9068): org.eclipse.persistence.platform.xml.XMLPlatformException Exception Description: An error occurred while validating the document. Internal Exception: Exception [EclipseLink-25012] (Eclipse Persistence Services - 2.3.0.v20110303-r9068): org.eclipse.persistence.exceptions.XMLMarshalException Exception Description: An error occurred resolving the XML Schema. Internal Exception: java.lang.NullPointerException at org.eclipse.persistence.platform.xml.XMLPlatformException.xmlPlatformValidationException(XMLPlatformException.java:77) at org.eclipse.persistence.platform.xml.xdk.XDKPlatform.validate(XDKPlatform.java:256) at org.eclipse.persistence.oxm.XMLValidator.validate(XMLValidator.java:99) Caused by: Exception [EclipseLink-25012] (Eclipse Persistence Services - 2.3.0.v20110303-r9068): org.eclipse.persistence.exceptions.XMLMarshalException Exception Description: An error occurred resolving the XML Schema. Internal Exception: java.lang.NullPointerException at org.eclipse.persistence.exceptions.XMLMarshalException.errorResolvingXMLSchema(XMLMarshalException.java:152) at org.eclipse.persistence.oxm.schema.XMLSchemaClassPathReference.getURL(XMLSchemaClassPathReference.java:47) at org.eclipse.persistence.platform.xml.xdk.XDKPlatform.validate(XDKPlatform.java:252) Caused by: java.lang.NullPointerException at sun.misc.MetaIndex.mayContain(MetaIndex.java:225) at sun.misc.URLClassPath$JarLoader.getResource(URLClassPath.java:747) at sun.misc.URLClassPath.getResource(URLClassPath.java:169) at sun.misc.URLClassPath.getResource(URLClassPath.java:221) at java.lang.ClassLoader.getBootstrapResource(ClassLoader.java:1151) at java.lang.ClassLoader.getResource(ClassLoader.java:1000) at java.lang.ClassLoader.getResource(ClassLoader.java:998) at java.lang.ClassLoader.getResource(ClassLoader.java:998) at org.eclipse.persistence.oxm.schema.XMLSchemaClassPathReference.getURL(XMLSchemaClassPathReference.java:45)
Created attachment 190591 [details] Patch - phase 1
Created attachment 214877 [details] Patch
Test case fixed and checked into trunk, reviewed by bdoughan
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink