ec.saveChages gives null exception (didn't before)
ec.saveChages gives null exception (didn't before)
- Subject: ec.saveChages gives null exception (didn't before)
- From: Drew Thoeni <email@hidden>
- Date: Sun, 6 Mar 2005 23:08:15 -0500
For quite some time, this method, and all others that save to the Class
table (like a classroom, not an object definition) worked fine. I've
looked at the SQL that is being generated and it appears fine. There is
only one not-null column in the table (the key) and the failures are on
updates to an existing record. Clearly, something is null that should
not be. And, it seems it's a result of something I've done. But I've
spent about an hour tinkering with this and (probably in 10 minutes)
reached my level of expertise.
Can anyone suggest what I might check into regarding this exception?
[2005-03-06 22:49:59 EST] <main> Waiting for requests...
[2005-03-06 22:58:35 EST] <WorkerThread8> java.lang.NullPointerException
at
com.webobjects.jdbcadaptor.JDBCAdaptor.isValidQualifierType(JDBCAdaptor.
java:659)
at
com.webobjects.eoaccess.EODatabaseContext.isValidQualifierTypeForAttribu
te(EODatabaseContext.java:5146)
at
com.webobjects.eoaccess.EODatabaseContext.lockingNonQualifiableAttribute
s(EODatabaseContext.java:5160)
at
com.webobjects.eoaccess.EODatabaseContext.createAdaptorOperationsForData
baseOperationAttributes(EODatabaseContext.java:5346)
at
com.webobjects.eoaccess.EODatabaseContext.createAdaptorOperationsForData
baseOperation(EODatabaseContext.java:5520)
at
com.webobjects.eoaccess.EODatabaseContext.performChanges(EODatabaseConte
xt.java:6337)
at
com.webobjects.eocontrol.EOObjectStoreCoordinator.saveChangesInEditingCo
ntext(EOObjectStoreCoordinator.java:411)
at
com.webobjects.eocontrol.EOEditingContext.saveChanges(EOEditingContext.j
ava:3148)
at ClassAdmin.saveClass(ClassAdmin.java:63)
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden