Trying to track down error in NSPersistentDocument when saving
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