• 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
Re: Debugging
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Debugging


  • Subject: Re: Debugging
  • From: Ramsey Gurley <email@hidden>
  • Date: Tue, 27 Apr 2010 17:13:00 -0400


On Apr 27, 2010, at 4:37 PM, Martin Samm wrote:

I'm trying to debug this exception in Eclipse:

Apr 27 21:33:13 AdTracker[57153] WARN NSLog - AdvertManagement:saveAd - exception
<er.extensions.validation.ERXValidationException object: <com.aetopia.model.AdDesign pk:"null">; propertyKey: advertID; type: NullPropertyException; additionalExceptions: ()>


<er.extensions.validation.ERXValidationException object: <com.aetopia.model.AdDesign pk:"null">; propertyKey: advertID; type: NullPropertyException; additionalExceptions: ()>
at com.webobjects.eoaccess.EOAttribute.validateValue(EOAttribute.java: 2541)
at com .webobjects .eoaccess .EOEntityClassDescription .validateValueForKey(EOEntityClassDescription.java:452)
at er .extensions .eof .ERXEntityClassDescription .validateValueForKey(ERXEntityClassDescription.java:814)
at com .webobjects .eocontrol.EOCustomObject.validateValueForKey(EOCustomObject.java: 1311)
at er .extensions .eof.ERXGenericRecord.validateValueForKey(ERXGenericRecord.java:1248)
...


whilst i have source for ERXEntityClassDescription so i can setup a break point there, i'd like to do so further up the stack but as yet cant find where to get source to do this.

Can anyone help?

For reference (in case anything is obvious) the exception is cause by adding an object to a relationship (addTo<RelationshipName>) and then issuing a saveChanges().
The advertID is the property (FK column) in the child which references the parent (PK).


Thanks
Martin Samm


Unfortunately, source for WebObjects is not available. Source would make debugging a lot easier, but the only way I know of to really see what's going on in there is to step into the method and crawl your way to it. Something like Jadclipse can be enlightening as well...


http://wiki.objectstyle.org/confluence/display/WOL/Useful+Eclipse+Plugins

Ramsey

_______________________________________________
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: Debugging
      • From: Mike Schrag <email@hidden>
References: 
 >Debugging (From: Martin Samm <email@hidden>)

  • Prev by Date: Re: Instance gets down after approx 500 hits; Database backup; Connection pooling with Single Database Context
  • Next by Date: Re: need help with datepicker.....
  • Previous by thread: Debugging
  • Next by thread: Re: Debugging
  • Index(es):
    • Date
    • Thread