Followup:
Is it possible that they are not being found?
I tried to put the types.xml in with my cayenne.xml etc.
It didn't make a difference.
Troy
----- Original Message -----
From: "Andrus Adamchik" <andru..bjectstyle.org>
To: "cayenne-user" <cayenne-use..bjectstyle.org>
Sent: Tuesday, September 16, 2003 3:53 PM
Subject: Re: Troubles packaging cayenne in a java GUI exe for windows
> Troy,
>
> do you have all the "types.xml" files bundled with Cayenne? There is
> one under "....cayenne.dba." package and one per each adapter package.
> Make sure you include them in the corresponding Java packages. From the
> stack trace below I conclude that at least
> org/objectstyle/cayenne/dba/types.xml is missing somehow.
>
> Andrus
>
> On Tuesday, September 16, 2003, at 06:38 PM, Troy McKinnon wrote:
>
> > DEBUG RuntimeLoadDelegate: loading <node name='testDataNode'
> > datasource='testDataNode.driver.xml' factory='org.o
> > bjectstyle.cayenne.conf.DriverDataSourceFactory'>.
> > DEBUG RuntimeLoadDelegate: instantiating adapter failed, using default
> > adapter.
> > java.lang.NullPointerException
> >
> ....
> > org.objectstyle.cayenne.dba.TypesHandler.<init>(TypesHandler.java:112)
> > at
> > org.objectstyle.cayenne.dba.TypesHandler.getHandler(TypesHandler.java:1
> > 01)
> > at
> > org.objectstyle.cayenne.dba.TypesHandler.getHandler(TypesHandler.java:9
> > 2)
> > at
> > org.objectstyle.cayenne.dba.JdbcAdapter.<init>(JdbcAdapter.java:117)
> > at
> > sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> > Method)
> > at
> > sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructor
> > Acces
>
>
This archive was generated by hypermail 2.0.0 : Tue Sep 16 2003 - 19:22:01 EDT