Hello All,

I downloaded the castor-0.9.3 code from CVS.

I am trying to run the sample on a MySQL database. I am encountering a
problem when I run the JDO samples.

This is the exception I am getting.

[test] Loading mapping descriptors from 
file:/home/castor-0.9.3/examples/jdo/mapping.xml
[test] org.exolab.castor.jdo.DatabaseNotFoundException: Nested error: 
java.lang.NullPointerException
[test] java.lang.NullPointerException
[test]  at org.exolab.castor.jdo.engine.SQLEngine.<init>(SQLEngine.java:281)
[test]  at 
org.exolab.castor.jdo.engine.BaseFactory.getPersistence(BaseFactory.java:79)
[test]  at org.exolab.castor.persist.ClassMolder.resolve(ClassMolder.java:512)
[test]  at org.exolab.castor.persist.LockEngine.<init>(LockEngine.java:168)
[test]  at 
org.exolab.castor.persist.PersistenceEngineFactory.createEngine(PersistenceEngineFactory.java:83)
[test]  at 
org.exolab.castor.jdo.engine.DatabaseRegistry.<init>(DatabaseRegistry.java:204)
[test]  at 
org.exolab.castor.jdo.engine.DatabaseRegistry.<init>(DatabaseRegistry.java:163)
[test]  at 
org.exolab.castor.jdo.engine.DatabaseRegistry.loadDatabase(DatabaseRegistry.java:289)
[test]  at org.exolab.castor.jdo.JDO.getDatabase(JDO.java:538)
[test]  at jdo.Test.run(Test.java:90)
[test]  at jdo.Test.main(Test.java:54)

I would appreciate any help.

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

Reply via email to