NullPointerException Problem
NullPointerException Problem
- Subject: NullPointerException Problem
- From: "Robert Snyder" <email@hidden>
- Date: Sat, 17 Jul 2004 20:30:48 -0400
- Organization: Penn State World Campus
Hello,
I have an application that collect time tracking information. The user
can save time, based on categories he selects from a pull down menu to a
TTRecord table. Selecting a category adds a new row to the TTRecord.
Some of the categories have a relationship to specific project billing
codes, some do not. If the category selected is one for which a billable
budget must be selected, the UI presents the user with a new category
row, with pulldown menus for the program and course to be billed.
This was working fine, but then something happened during changes made
elsewhere in the application and to the data model, and now only the
first category row with a program/course relationship gets saved, while
any other rows on the week's record get null values for the program and
course.
The following error is thrown.
java.lang.NullPointerException
at com.webobjects.eocontrol.EOCustom
Object.willReadRelationship(EOCustomObject.java:1293)
at com.webobjects.eocontrol._EOMutab
leKnownKeyDictionary$Initializer$_Laz
yGenericRecordBinding.valueInObject(_EOMutableKnownKeyDictionary.java:560)
at com.webobjects.eocontrol.EOCustom
Object.storedValueForKey(EOCustomObject.java:1736)
at TTRecord.program(TTRecord.java:188)
My guess is that there is some kind of disconnect at the EO level. Any
suggestions?
Robert
____________________________________________
Robert Snyder, Director
World Campus Data Management Services
The Pennsylvania State University
105 Mitchell Building
University Park PA 16802
Phone: 814-865-0912 Fax: 814-865-4406
E-mail: email@hidden
URL: http://www.worldcampus.psu.edu/my.campus
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.