• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
ClassCastException ERXValidationFactory... ??
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ClassCastException ERXValidationFactory... ??


  • Subject: ClassCastException ERXValidationFactory... ??
  • From: "Nathan Walker" <email@hidden>
  • Date: Mon, 28 Jan 2008 04:28:47 -0600

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@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: ClassCastException ERXValidationFactory... ??
      • From: Anjo Krank <email@hidden>
  • Prev by Date: Re: locations of DST information
  • Next by Date: Re: ClassCastException ERXValidationFactory... ??
  • Previous by thread: Re: help with eogenerator
  • Next by thread: Re: ClassCastException ERXValidationFactory... ??
  • Index(es):
    • Date
    • Thread