db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vlada Djurovic <vdjuro...@gmail.com>
Subject Re: hsqldb and NullPointerException
Date Fri, 17 Jun 2005 21:24:22 GMT
> Hi Vlada,
> The more I think about it, the following scenario seems probable to me:
> You wrote that you have put the torque.jar in the jre library path. So
> maybe (I have no largeknowledge of class loaders) BasePeer tries to
> instantiate the Map builder classes in the System class loader. In this
> class loader, it cannot find the Map Builder classes.
> This would result in the following:
> - the static initializers of a Peer is called
> - it calls BasePeer.getMapBuilder(String)
> - This method cannot instantiate the Map Builder, but does not throw an
> Exception (BUG, I have already added it to scarab)
> - you end up with a message in your error log, but no other sign of the
> error except no db maps present
> Try to remove torque.jar from the jre path and (if you have a web
> application) put it in WEB-INF/lib instead or (if you have a standalone
> application) add it to the -classpath argument of your program start.
> Please tell us if that worked.
>      Thomas

SUCCESS!!!!!!!!!!!!!!!!!!FINALY! That was it.
I can't believe we did it. Thanks a lot, Thomas, I oaw you one.
I knew this would be something stupid, but I would've never thought of this.
Thanks again, man, I hope I'll be able to return the favor some day ;-).

To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org

View raw message