What is the best way to debug this:
java.lang.ClassCastException: com.webobjects.eoaccess.EOAttribute
at er.extensions.ERXValidationFactory.convertException(
ERXValidationFactory.java:293)
at er.extensions.ERXEntityClassDescription.validateValueForKey(
ERXEntityClassDescription.java:718)
at com.webobjects.eocontrol.EOCustomObject.validateValueForKey(
EOCustomObject.java:1339)
at com.webobjects.eocontrol.EOCustomObject.validateForSave(
EOCustomObject.java:1411)
at com.webobjects.eocontrol.EOCustomObject.validateForInsert(
EOCustomObject.java:1473)
at com.webobjects.eocontrol.EOEditingContext.validateTable(
EOEditingContext.java:2249)
at com.webobjects.eocontrol.EOEditingContext.validateChangesForSave(
EOEditingContext.java:3029)
at com.webobjects.eocontrol.EOEditingContext._prepareForPushChanges(
EOEditingContext.java:3283)
at com.webobjects.eocontrol.EOEditingContext.saveChanges(
EOEditingContext.java:3213)
This is a COMPLETE show-stopper, my app won't run after running into this.
Basically, I've inserted two objects into the defaultEditingContext and I'm
trying to saveChanges() but get this error when I try to save. Where can I
find out which EOAttribute is getting a ClassCastException ??
Thanks...
_______________________________________________
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]