[Objectbridge-jdo-dev] Issues with DescriptorRepository
Brought to you by:
thma
From: <tr...@th...> - 2002-05-30 18:57:58
|
When I run the app after building the repos from jdo file, The repos seems to be fine until I call a getCollectionByQuery() (probably other things would cause the same thing to happen). before calling: REPOS: DescriptorRepository JdbcConnectionDescriptor hsqldb org.hsqldb.jdbcDriver jdbc hsqldb ../OJB sa {class test.ojb.tutorial4.Product=table: Product FieldDescriptions: [Lojb.broker.metadata.FieldDescriptor;@174b07} after calling: REPOS: null java.lang.NullPointerException at ojb.broker.singlevm.PersistenceBrokerImpl.getCollectionByQuery(PersistenceBrokerImpl.java:958) at ojb.broker.singlevm.PersistenceBrokerImpl.getCollectionByQuery(PersistenceBrokerImpl.java:1061) at ojb.broker.singlevm.PersistenceBrokerImpl.getCollectionByQuery(PersistenceBrokerImpl.java:1048) Any ideas? It seems that DescriptorRepository descriptorRepository in PersistenceBrokerImpl is getting set to null for some reason? Travis |