• 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
NSManagedObjectContext Multiple Selection Error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSManagedObjectContext Multiple Selection Error


  • Subject: NSManagedObjectContext Multiple Selection Error
  • From: Peter Passaro <email@hidden>
  • Date: Thu, 5 Oct 2006 19:35:05 +0100

I have a Core Data app in development and I'm experiencing a strange error saving a managed object context to its store whenever I make a change to a multiple selection of an attribute in a table view that is connected to an array controller. Changes to a single selection of an attribute work without a problem. It seems as if the MOC is not committing the changes for a multiple selection and generates a pointer error. I have tried to force it to commit changes with - commitEditing, but this doesn't seem to help. I'm periodically sending the [MOC save] inside an NSTimer. Once this error occurs, the MOC also cannot be saved manually.

2006-10-05 19:05:39.209 NEM-SFN[7304] *** -[NSCFNumber length]: selector not recognized [self = 0x34f020]
2006-10-05 19:05:39.211 NEM-SFN[7304] *** NSTimer discarding exception '*** -[NSCFNumber length]: selector not recognized [self = 0x34f020]' that raised during firing of timer with target 355e50 and selector 'runModel'


The line throwing the error is:
[[self managedObjectContext] save:NULL];

Any suggestions?

Peter Passaro


_______________________________________________ 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
  • Prev by Date: Re: Finding all deleted objects from Core Data
  • Next by Date: Always use the constants (was Re: Finding all deleted objects from Core Data)
  • Previous by thread: Re: bindings from threads
  • Next by thread: FileHandle in Threads
  • Index(es):
    • Date
    • Thread