• 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
Possible CoreData Bug and NSPersistentStoreSaveError Problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Possible CoreData Bug and NSPersistentStoreSaveError Problem


  • Subject: Possible CoreData Bug and NSPersistentStoreSaveError Problem
  • From: David Garcea <email@hidden>
  • Date: Fri, 26 Aug 2005 13:34:22 -0400

I am encountering a problem opening a CoreData based document in my application. The document saves without any errors, but when I try to open it, this message is logged to the console:

[NSArrayController presentError:]: selector not recognized [self = 0x44119f0]
2005-08-26 13:10:04.362 Seagull 3[6515] *** NSRunLoop ignoring exception '*** -[NSArrayController presentError:]: selector not recognized [self = 0x44119f0]' that raised during posting of delayed perform with target 4e0ac00 and selector 'invokeWithTarget:'


NSArrayController does not respond to presentError:, so I think this is a bug in CoreData. In order to determine what the error was, I subclassed NSArrayController and implemented presentError:. This is the error that it is receiving:

NSError "An error occurred while saving." Domain=NSCocoaErrorDomain Code=134030 UserInfo={
NSLocalizedDescription = "An error occurred while saving.";
NSUnderlyingError = NSError "An error occurred while saving." Domain=NSCocoaErrorDomain Code=134030 UserInfo={NSUnderlyingException = no such column: DESC; };
NSUnderlyingException = no such column: DESC;
}


Can anyone tell me why my application is notified of a save error while opening the file, instead of while saving the file? And more importantly, what should I check in order to resolve the "no such column" error?

Thanks in advance.

Regards,

David

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Possible CoreData Bug and NSPersistentStoreSaveError Problem
      • From: mmalcolm crawford <email@hidden>
  • Prev by Date: RE: Icons in the menu bar
  • Next by Date: Re: Problem with Core-Data relationship
  • Previous by thread: Creating multiple ABPerson instances from a single vcard file
  • Next by thread: Re: Possible CoreData Bug and NSPersistentStoreSaveError Problem
  • Index(es):
    • Date
    • Thread