Hi,

I've tried to run the castor jdo test suite, but I run into problems at the very beginning. I got this exception for every test case. I've built from a current CVS version.

 

1) [castor.sapdb.TC01] Duplicate key detection

 

org.xml.sax.SAXException: unable to find FieldDescriptor for 'driver' in ClassDescriptor of jdo-conf

      at org.exolab.castor.xml.UnmarshalHandler.startElement(UnmarshalHandler.java:1793)

      at org.exolab.castor.xml.UnmarshalHandler.startElement(UnmarshalHandler.java:1292)

      at org.apache.xerces.parsers.SAXParser.startElement(SAXParser.java:1376)

      at org.apache.xerces.validators.common.XMLValidator.callStartElement(XMLValidator.java:1197)

      at org.apache.xerces.framework.XMLDocumentScanner.scanElement(XMLDocumentScanner.java:1862)

      at org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XMLDocumentScanner.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:605)

      at org.exolab.castor.jdo.engine.JDOConfLoader.loadConfiguration(JDOConfLoader.java:85)

      at org.exolab.castor.jdo.engine.JDOConfLoader.getDatabase(JDOConfLoader.java:101)

      at org.exolab.castor.jdo.engine.DatabaseRegistry.loadDatabase(DatabaseRegistry.java:235)

      at org.exolab.castor.jdo.JDO.getDatabase(JDO.java:570)

      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:152)

      at junit.textui.TestRunner.doRun(TestRunner.java:74)

      at junit.textui.TestRunner.run(TestRunner.java:201)

      at Main.main(Main.java:226)

 

Any ideas?

 

Regards,

Emir

 

 

Reply via email to