You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by Dave Frary <df...@charter.net> on 2003/04/04 03:02:22 UTC

DataBaseBrowser Error

Hi,

Yet another Jetspeed newbie.

I'm playing around with the DataBaseBrowser coffee example in the 
tutorial.  I get a java.lang.NullPointerException when I try to edit for 
the 10th time (first 9 work fine).  It's complaining trying to do the 
doSelect with the Torque criteria statement looking up the rowid to display 
the Edit portlet.  Is this possibly because only 10 connections are 
allocated and somehow they aren't being cleaned up?

I'm using Jetspeed 1.4dev4 (about a month or so old) and Tomcat 4.18 LE.

Any help or pointers would be greatly appreciated as I see the same problem 
with the DataBaseBrowser I created.

thanks,
Dave

partial stacktrace

java.lang.NullPointerException: Connection object was null.  This could be 
due to a misconfiguration of the DataSourceFactory.  Check the logs and 
Torque.properties to better determine the cause.
	at org.apache.torque.util.Transaction.rollback(Transaction.java:179)
	at org.apache.torque.util.BasePeer.doSelect(BasePeer.java:1333)
	at 
com.bluesunrise.jportal.om.BaseCoffeesPeer.doSelectVillageRecords(BaseCoffeesPeer.java:384)
	at 
com.bluesunrise.jportal.om.BaseCoffeesPeer.doSelectVillageRecords(BaseCoffeesPeet.java:351)
	at 
com.bluesunrise.jportal.om.BaseCoffeesPeer.doSelect(BaseCoffeesPeer.java:320)
	at 
com.bluesunrise.jportal.modules.actions.portlets.TutorialCoffeesAction.buildNormalContext(TutorialCoffeesAction.java:102)



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