• 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 the dreaded "CoreData could not fulfill a fault...."
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Debugging the dreaded "CoreData could not fulfill a fault...."


  • Subject: Re: Debugging the dreaded "CoreData could not fulfill a fault...."
  • From: Jerry Krinock <email@hidden>
  • Date: Fri, 27 Feb 2009 19:28:22 -0800

I believe I've found the cause of this.

For future reference, the successful troubleshoot was logging at the beginning and end of any methods which might be invoked automatically to update views, such as -reloadData, -menuNeedsUpdate, - validateMenuItem, etc.

In my case, it looks like the deleted object is retained in a 'selectedObjects' instance variable which I had foolishly added in order to gain observability for some bindings. Then, upon deleting an object, a menu-update notification accesses 'selectedObjects' before the notification which updates and removes the deleted object from 'selectedObjects'.

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Debugging the dreaded "CoreData could not fulfill a fault...." (From: Jerry Krinock <email@hidden>)
 >RE: Debugging the dreaded "CoreData could not fulfill a fault...." (From: Jesper Storm Bache <email@hidden>)
 >Re: Debugging the dreaded "CoreData could not fulfill a fault...." (From: Jerry Krinock <email@hidden>)

  • Prev by Date: Re: Debugging the dreaded "CoreData could not fulfill a fault...."
  • Next by Date: NSSplitView splitViewDidResizeSubviews
  • Previous by thread: Re: Debugging the dreaded "CoreData could not fulfill a fault...."
  • Next by thread: Re: Debugging the dreaded "CoreData could not fulfill a fault...."
  • Index(es):
    • Date
    • Thread