Re: empty optional to-many relations
Timo Hoepfner <[email protected]>
| Newsgroups | gmane.comp.web.webobjects.devel |
|---|---|
| Message-ID | <[email protected]> |
Am 14.08.2006 um 20:24 schrieb Zak Burke: > <com.webobjects.appserver._private.WOComponentRequestHandler>: > Exception > occurred while handling request: > java.lang.NullPointerException > DEBUG [2006-08-14 13:58:39,270] (LogPrintStream.java:96) - > java.lang.NullPointerException > at > com.webobjects.jdbcadaptor.JDBCAdaptor.isValidQualifierType > (JDBCAdaptor.java:659) > at > com.webobjects.eoaccess.EODatabaseContext.isValidQualifierTypeForAttri > bute(EODatabaseContext.java:5174) Hi Zak, I had exactly that a few weeks ago. I was banging my head onto the desk for several hours (not that it helped...) Finally it turned out, that somehow either the "valueClassName" (e.g. "NSNumber") or the "valueType" (e.g. "i") was empty for some arbitrary numeric attribute of an Entity. Double-check every attribute of the Entities you suspect to be related. Timo