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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to