I'm getting a NullPointerException at TurbineResources.java:377 when trying
to get DBConnection accorting to the javadoc:
DBConnection db = PoolBrokerService.getInstance().getConnection(driver, url,
username, password);
The exception occurs on this line
return getGeneric().getBoolean(name, def); // Here,
Seems like getGeneric() returns null. What could this be?
java.lang.NullPointerException
at
org.apache.turbine.services.resources.TurbineResources.getInt(TurbineResourc
es.java:377)
at
org.apache.turbine.util.db.pool.ConnectionPool.<init>(ConnectionPool.java:14
4)
at
org.apache.turbine.services.db.PoolBrokerService.getConnection(PoolBrokerSer
vice.java:220)
at
com.handpoint.util.db.ConnectionPoolImpl.testTurbineConnectionPooling(Connec
tionPoolImpl.java:409)
at
com.handpoint.util.db.ConnectionPoolImpl.<init>(ConnectionPoolImpl.java:97)
at
com.handpoint.infopoint.services.ConnectionPoolService.service(ConnectionPoo
lService.java:43)
at
com.handpoint.infopoint.services.InfoPointService$1.run(InfoPointService.jav
a:96)
at java.lang.Thread.run(Thread.java:479)
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]