• 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
Trying to track down error in NSPersistentDocument when saving
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Trying to track down error in NSPersistentDocument when saving


  • Subject: Trying to track down error in NSPersistentDocument when saving
  • From: Gideon King <email@hidden>
  • Date: Sun, 16 Aug 2009 21:26:45 +1000

Hi, I'm hoping someone may have encountered something like this before, or have knowledge of the internals of NSPersistentStore...

I am getting an exception on NSDictionary setObject:forKey: (attempt to insert nil key), and although I am not getting any stacktrace, it appears when I step through it that the problem occurs in NSPersistentDocument writeToURL:ofType:forSaveOperation:originalContentsURL:error: I have also tried breaking on NSException raise, and that didn't help, and did a print and continue breakpoint on setObject:forKey:, but that didn't turn up anything (except for showing me that this method is called a lot!

Any suggestions as to where to look for a solution to this would be very welcome.

Thanks


Gideon _______________________________________________

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


  • Follow-Ups:
    • Re: Trying to track down error in NSPersistentDocument when saving
      • From: Graham Cox <email@hidden>
  • Prev by Date: Re: Is it possible to detour a drag and drop operation?
  • Next by Date: Re: Trying to track down error in NSPersistentDocument when saving
  • Previous by thread: Re: signals question
  • Next by thread: Re: Trying to track down error in NSPersistentDocument when saving
  • Index(es):
    • Date
    • Thread