Awesome. That was the problem.
Cheers, Baiss On Jul 4, 2010, at 8:55 PM, Chuck Hill wrote: > > On Jul 4, 2010, at 5:49 PM, Baiss Eric Magnusson wrote: > >> In changing to EODatabaseDataSource in the Session and ERXDisplayGroup in >> the WOComponent from using templated woo files, I tripped up on the way >> because I get a <java.lang.NullPointerException> when I try to bring in the >> current transactions at startup. >> ... >> Caused by: java.lang.NullPointerException >> at >> com.webobjects.eoaccess.EODatabaseDataSource.fetchObjects(EODatabaseDataSource.java:589) >> at >> com.webobjects.appserver.WODisplayGroup.fetch(WODisplayGroup.java:2132) >> at >> er.extensions.appserver.ERXDisplayGroup.fetch(ERXDisplayGroup.java:123) >> at Components.CurrentSit.fillDisplayGroup(CurrentSit.java:64) >> ... 46 more > > That seems to come from having a null editing context. Are you somehow not > setting the EC for this EODatabaseDataSource? > > > -- > Chuck Hill Senior Consultant / VP Development > > Practical WebObjects - for developers who want to increase their overall > knowledge of WebObjects or who are trying to solve specific problems. > http://www.global-village.net/products/practical_webobjects > > > > > > > _______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
