You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-user@db.apache.org by Gareth Cronin <ga...@kiwiplan.co.nz> on 2003/03/19 23:58:54 UTC
0.9.8 -> 1.0 upgrade issue - Instantiating of current set RowReader
failed
This exception is occurring on a
PersistenceBrokerFactory.defaultPersistenceBroker()
Has there been some change to the way the default row-reader should be
specified? It looks like there is no matching constructor wherever the
default RowReader one is supposed to be.
Useful bits of the stack trace follow:
Could not read repository class descriptor data, using repository:
repository.xml: Instantiating of current set RowReader failed
java.lang.NoSuchMethodException
at java.lang.Class.getConstructor0(Class.java:1755)
at java.lang.Class.getConstructor(Class.java:990)
at org.apache.ojb.broker.util.ClassHelper.newInstance(Unknown Source)
at org.apache.ojb.broker.util.ClassHelper.newInstance(Unknown Source)
at org.apache.ojb.broker.util.ClassHelper.newInstance(Unknown Source)
at
org.apache.ojb.broker.metadata.ClassDescriptor.setRowReader(Unknown Source)
at
org.apache.ojb.broker.metadata.RepositoryXmlHandler.startElement(Unknown
Source)
rethrown as org.apache.ojb.broker.metadata.MetadataException:
Instantiating of current set RowReader failed
at
org.apache.ojb.broker.metadata.ClassDescriptor.setRowReader(Unknown Source)
at
org.apache.ojb.broker.metadata.RepositoryXmlHandler.startElement(Unknown
Source)
at
org.apache.xerces.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:454)
--
-------------------
Gareth Cronin
Analyst/Programmer
Kiwiplan NZ Ltd
www.kiwiplan.com
Ph 2727622 x854
-------------------