Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipselink-dev] FW: ECLIPSELINK: Nightly Test Results 2008-06-26 - JPA failure

Looks like something is messed up with the namespaces.

In the XMLEntityMappingsReader/XMLEntityMappingsProject, the default root for entity-mappings is defined with the namespace "http://java.sun.com/xml/ns/persistence/orm";, but from the error message, the document that's being read in has a namespace of "http://www.eclipse.org/xml/ns/persistence/orm";. Was the namespace for entity-mappings changed?

-Matt

MICHAEL.OBRIEN@xxxxxxxxxx wrote:

Yes,
	I fail with the same error locally.

   [junit] Test org.eclipse.persistence.testing.tests.jpa.FullRegressionTestSuite FAILED
   generate-report:
   [junitreport] Transform time: 203ms
   BUILD SUCCESSFUL
   Total time: 2 seconds

	trunk>ant test-jpa
	Has been failing after 2 seconds with this error since at least noon yesterday in a clean view.
	We can't commit new changes until this fatal error is fixed as regression tests can be run.

	/michael

-----Original Message-----
From: JAMES.SUTHERLAND@xxxxxxxxxx Sent: Thursday, June 26, 2008 9:24 AM
To: Eclipselink-Dev@Eclipse. Org (E-mail)
Subject: [eclipselink-dev] FW: ECLIPSELINK: Nightly Test Results
2008-06-26


Anyone know what's up with our nightly tests?  There have been major failures the last two nights.  The JPA SRG, LRG, and OC4J LRG failed (but WLS passed somehow?).

The error is,

   [junit] Exception in thread "main" java.lang.reflect.InvocationTargetException
   [junit] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   [junit] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   [junit] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   [junit] 	at java.lang.reflect.Method.invoke(Method.java:585)
   [junit] 	at sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:141)
   [junit] Caused by: java.lang.reflect.InvocationTargetException
   [junit] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   [junit] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   [junit] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   [junit] 	at java.lang.reflect.Method.invoke(Method.java:585)
   [junit] 	at org.eclipse.persistence.internal.jpa.deployment.JavaSECMPInitializerAgent.initializeFromAgent(JavaSECMPInitializerAgent.java:45)
   [junit] 	at org.eclipse.persistence.internal.jpa.deployment.JavaSECMPInitializerAgent.premain(JavaSECMPInitializerAgent.java:38)
   [junit] 	... 5 more
   [junit] Caused by: java.lang.RuntimeException: Exception [EclipseLink-25008] (Eclipse Persistence Services - 1.0 (Build SNAPSHOT - 20080626)): org.eclipse.persistence.exceptions.XMLMarshalException
   [junit] Exception Description: A descriptor with default root element {http://www.eclipse.org/xml/ns/persistence/orm}entity-mappings was not found in the project
   [junit] 	at org.eclipse.persistence.internal.jpa.metadata.xml.XMLEntityMappingsReader.read(XMLEntityMappingsReader.java:67)
   [junit] 	at org.eclipse.persistence.internal.jpa.metadata.xml.XMLEntityMappingsReader.read(XMLEntityMappingsReader.java:105)
   [junit] 	at org.eclipse.persistence.internal.jpa.metadata.MetadataProcessor.loadSpecifiedMappingFiles(MetadataProcessor.java:306)
   [junit] 	at org.eclipse.persistence.internal.jpa.metadata.MetadataProcessor.loadMappingFiles(MetadataProcessor.java:274)
   [junit] 	at org.eclipse.persistence.internal.jpa.deployment.PersistenceUnitProcessor.buildPersistentClassSetFromXMLDocuments(PersistenceUnitProcessor.java:128)
   [junit] 	at org.eclipse.persistence.internal.jpa.deployment.PersistenceUnitProcessor.buildClassSet(PersistenceUnitProcessor.java:91)
   [junit] 	at org.eclipse.persistence.internal.jpa.deployment.JPAInitializer.callPredeploy(JPAInitializer.java:83)
   [junit] 	at org.eclipse.persistence.internal.jpa.deployment.JPAInitializer.initPersistenceUnits(JPAInitializer.java:149)
   [junit] 	at org.eclipse.persistence.internal.jpa.deployment.JPAInitializer.initialize(JPAInitializer.java:135)
   [junit] 	at org.eclipse.persistence.internal.jpa.deployment.JavaSECMPInitializer.initializeFromAgent(JavaSECMPInitializer.java:145)


-----Original Message-----
From: EDWIN.TANG@xxxxxxxxxx Sent: Thursday, June 26, 2008 6:26 AM
To: DOUGLAS.CLARKE@xxxxxxxxxx; JAMES.SUTHERLAND@xxxxxxxxxx; PETER.KROGH@xxxxxxxxxx; DAVID.TWELVES@xxxxxxxxxx; HUYEN.H.NGUYEN@xxxxxxxxxx; pkrogh_directs_ww@xxxxxxxxxx; dtwelves_directs_ww@xxxxxxxxxx; toplinkqa_ca@xxxxxxxxxx; ERIC.GWIN@xxxxxxxxxx
Subject: ECLIPSELINK: Nightly Test Results 2008-06-26

Latest test results:
http://stame02.us.oracle.com/eclipselink/2008-06-26
All test results:
http://stame02.us.oracle.com/eclipselink
_______________________________________________
eclipselink-dev mailing list
eclipselink-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/eclipselink-dev
_______________________________________________
eclipselink-dev mailing list
eclipselink-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/eclipselink-dev


Back to the top