Hello all, I am trying to run the jdo tests and have run into a silly
snag. For some reason the mapping file/class combo for the TestNested
stuff isn't working correctly. When I go to run the tests I get the
following stack trace on the outputs:

testsuite: castor
testsuite: mysql
Test: TC01 Duplicate key detection
.Eorg.exolab.castor.mapping.MappingException: The method getValue2 in
class jdo.TestNestedFields accepting/returning object of type string was
not found
        at
org.exolab.castor.persist.FieldMolder.<init>(FieldMolder.java:604)
        at
org.exolab.castor.persist.ClassMolder.<init>(ClassMolder.java:375)
        at
org.exolab.castor.persist.ClassMolder.resolve(ClassMolder.java:526)
        at
org.exolab.castor.persist.LockEngine.<init>(LockEngine.java:164)
        at
org.exolab.castor.persist.PersistenceEngineFactory.createEngine(Persiste
nceEngineFactory.java:80)
        at
org.exolab.castor.jdo.engine.DatabaseRegistry.<init>(DatabaseRegistry.ja
va:200)
        at
org.exolab.castor.jdo.engine.DatabaseRegistry.<init>(DatabaseRegistry.ja
va:163)
        at
org.exolab.castor.jdo.engine.DatabaseRegistry.loadDatabase(DatabaseRegis
try.java:297)
        at org.exolab.castor.jdo.JDO.getDatabase(JDO.java:571)
        at jdo.JDOCategory.getDatabase(JDOCategory.java:88)
        at harness.CastorTestCase.clearCache(CastorTestCase.java:87)
        at harness.CastorTestCase.run(CastorTestCase.java:155)
        at junit.framework.TestSuite.runTest(TestSuite.java:208)
        at junit.framework.TestSuite.run(TestSuite.java:203)
        at harness.TestHarness.run(TestHarness.java:140)

(Output modified with a patch in bug 1689 (see notes there).)

I just commented out the value2 part in the mapping and all the tests
pass except of course the nested test. Any ideas?


The information contained in this message and any file transmitted with it may be 
privileged and confidential, and protected from disclosure. If the reader of this 
message is not the intended recipient, or an employee or agent responsible for 
delivering this message to the intended recipient, you are hereby notified that any 
dissemination, distribution or copying of this communications is strictly prohibited. 
If you have received this communication in error, please notify us immediately by 
replying to the message and deleting it from your computer. Finally, the recipient 
should check this email and any attachments for the presence of viruses.  The company 
accepts no liability for any damage caused by any virus transmitted by this email.  
Thank you, Vortechnics, Inc.




----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to