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

Re: Possible CoreData Bug and NSPersistentStoreSaveError Problem


  • Subject: Re: Possible CoreData Bug and NSPersistentStoreSaveError Problem
  • From: mmalcolm crawford <email@hidden>
  • Date: Fri, 26 Aug 2005 10:49:10 -0700


On Aug 26, 2005, at 10:34 AM, David Garcea wrote:

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.

It's not entirely clear how you reach this conclusion.


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?



The error appears to be describing a problem in saving, not in loading...


It's not possible to give much more guidance without more information:
What entities do you have? Are you using a standard persistent document, or have you reconfigured it at all? Do any of your entities have an attribute called "desc"? ...


mmalc

_______________________________________________
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


References: 
 >Possible CoreData Bug and NSPersistentStoreSaveError Problem (From: David Garcea <email@hidden>)

  • Prev by Date: Re: Problem with Core-Data relationship
  • Next by Date: HELP : <Tab> does not move focus to next text field.
  • Previous by thread: Possible CoreData Bug and NSPersistentStoreSaveError Problem
  • Next by thread: HELP : <Tab> does not move focus to next text field.
  • Index(es):
    • Date
    • Thread