• 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
[Leopard] CoreData fails to save, fails to report error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Leopard] CoreData fails to save, fails to report error


  • Subject: [Leopard] CoreData fails to save, fails to report error
  • From: Pierre Bernard <email@hidden>
  • Date: Sat, 10 Nov 2007 23:01:12 +0100

Hi!

I am having a problem where my CoreData document fails to save. The problem is most certainly of my making, as it just cropped up.

Trouble is that I can't make much sense of it because CoreData seems to fail at creating the error message:

*** -[NSCFDictionary setObject:forKey:]: attempt to insert nil value (key: NSLocalizedDescription)

#0 0x909794b6 in -[NSCFDictionary setObject:forKey:] ()
#1 0x96d1263d in -[NSManagedObject(_NSInternalMethods) _generateErrorWithCode:andMessage:forKey:andValue:additionalDetail:] ()
#2 0x96cbe98e in -[NSRelationshipDescription(_NSInternalMethods) _nonPredicateValidateValue:forKey:inObject:error:] ()
#3 0x96cbdcce in -[NSManagedObject(_NSInternalMethods) _validateValue:forProperty:andKey:withIndex:error:] ()
#4 0x96cbd9dd in -[NSManagedObject(_NSInternalMethods) _validatePropertiesWithError:] ()
#5 0x96cbd80b in -[NSManagedObject(_NSInternalMethods) _validateForSave:] ()
#6 0x96cbd600 in -[NSManagedObjectContext(_NSInternalAdditions) _validateObjects:forOperation:error:exhaustive:forSave:] ()
#7 0x96cbd04f in -[NSManagedObjectContext(_NSInternalAdditions) _validateChangesForSave:] ()
#8 0x96cbcd52 in - [NSManagedObjectContext(_NSInternalChangeProcessing) _prepareForPushChanges:] ()
#9 0x96cbc5f6 in -[NSManagedObjectContext save:] ()
#10 0x91693a8a in -[NSPersistentDocument writeToURL:ofType:forSaveOperation:originalContentsURL:error:] ()
#11 0x0000f0a7 in -[Document writeToURL:ofType:forSaveOperation:originalContentsURL:error:] ()
#12 0x91489635 in -[NSDocument _writeSafelyToURL:ofType:forSaveOperation:error:] ()
#13 0x914894f8 in -[NSDocument writeSafelyToURL:ofType:forSaveOperation:error:] ()
#14 0x91693e49 in -[NSPersistentDocument writeSafelyToURL:ofType:forSaveOperation:error:] ()
#15 0x91488f87 in -[NSDocument saveToURL:ofType:forSaveOperation:error:] ()
#16 0x0000f054 in -[Document saveToURL:ofType:forSaveOperation:error:] ()
#17 0x91488c10 in -[NSDocument _saveToURL:ofType:forSaveOperation:delegate:didSaveSelector:contextInfo :] ()
#18 0x91488bc1 in -[NSDocument saveToURL:ofType:forSaveOperation:delegate:didSaveSelector:contextInfo :] ()
#19 0x914887f6 in -[NSDocument _savePanelWasPresented:withResult:inContext:] ()
#20 0x9148850a in -[NSSavePanel(NSSavePanelRuntime) _didEndSheet:returnCode:contextInfo:] ()
#21 0x91290b8c in -[NSApplication endSheet:returnCode:] ()
#22 0x913dab39 in -[NSSavePanel(NSSavePanelRuntime) dismissWindow:] ()
#23 0x913da9f5 in -[NSSavePanel(NSSavePanelRuntime) ok:] ()
#24 0x9124ef94 in -[NSApplication sendAction:to:from:] ()
#25 0x9124eed4 in -[NSControl sendAction:to:] ()
#26 0x9124ed5a in -[NSCell _sendActionFrom:] ()
#27 0x9124e3bb in -[NSCell trackMouse:inRect:ofView:untilMouseUp:] ()
#28 0x9124dc12 in -[NSButtonCell trackMouse:inRect:ofView:untilMouseUp:] ()
#29 0x9124d4cc in -[NSControl mouseDown:] ()
#30 0x9124bd9b in -[NSWindow sendEvent:] ()
#31 0x91218a2c in -[NSApplication sendEvent:] ()
#32 0x91176705 in -[NSApplication run] ()
#33 0x911439ba in NSApplicationMain ()
#34 0x00001f8a in start ()



Do I have any chance to figure out what is going wrong here?

Pierre

---
Pierre Bernard
http://www.bernard-web.com/pierre
http://www.houdah.com



_______________________________________________

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: [Leopard] CoreData fails to save, fails to report error
      • From: Pierre Bernard <email@hidden>
  • Prev by Date: Re: Where are the books?
  • Next by Date: Apologies to the list
  • Previous by thread: Re: Hierarchical defaults in NSUserDefaults?
  • Next by thread: Re: [Leopard] CoreData fails to save, fails to report error
  • Index(es):
    • Date
    • Thread