Hi,
I am getting the following exception when trying to run the JDO test suite
with the current cvs version:
1) [castor.oracle.TC01] Duplicate key detection
org.xml.sax.SAXException: unable to find FieldDescriptor for 'key-generator'
in ClassDescriptor of mapping
at
org.exolab.castor.xml.UnmarshalHandler.startElement(UnmarshalHandler.java:97
5)
at org.apache.xerces.parsers.SAXParser.startElement(SAXParser.java:1340)
at
org.apache.xerces.validators.common.XMLValidator.callStartElement(XMLValidat
or.java:1197)
at
org.apache.xerces.framework.XMLDocumentScanner.scanElement(XMLDocumentScanne
r.java:1862)
at
org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XM
LDocumentScanner.java:1238)
at
org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.
java:381)
at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1035)
at org.exolab.castor.xml.Unmarshaller.unmarshal(Unmarshaller.java:463)
at org.exolab.castor.mapping.Mapping.loadMappingInternal(Mapping.java:477)
at org.exolab.castor.mapping.Mapping.loadMappingInternal(Mapping.java:436)
at org.exolab.castor.mapping.Mapping.loadMapping(Mapping.java:363)
at
org.exolab.castor.jdo.engine.DatabaseRegistry.loadDatabase(DatabaseRegistry.
java:264)
at org.exolab.castor.jdo.JDO.getDatabase(JDO.java:583)
at jdo.JDOCategory.getDatabase(JDOCategory.java:88)
at jdo.DuplicateKey.setUp(DuplicateKey.java:98)
at junit.framework.TestCase.runBare(TestCase.java:128)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:121)
at harness.CastorTestCase.run(CastorTestCase.java:134)
at junit.framework.TestSuite.runTest(TestSuite.java:157)
at junit.framework.TestSuite.run(TestSuite.java:152)
at harness.TestHarness.run(TestHarness.java:142)
at junit.framework.TestSuite.runTest(TestSuite.java:157)
at junit.framework.TestSuite.run(TestSuite.java:152)
at harness.TestHarness.run(TestHarness.java:142)
at Main.run(Main.java:164)
at junit.textui.TestRunner.doRun(TestRunner.java:74)
at junit.textui.TestRunner.run(TestRunner.java:201)
at Main.main(Main.java:238)
The same exception is repeated for each of the 29 tests.
Any ideas?
Regards,
Sergey.
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev