On Sat, Aug 14, 2010 at 6:05 PM, Ferhat Ayaz <co...@me.com> wrote: > yes I looked. But I don't get it. Sorry but I can not find the place in the > documentation of NSManagedObject and in the hole Core Data documentation.
NSManagedObject doesn't respond to -isTemporaryID. That's an NSManagedObjectID instance method. This means that someone's sending -isTemporaryID to the wrong object. Most commonly this is a memory management bug—an instance of NSManagedObjectID has been deallocated prematurely, and an instance of NSManagedObject has taken its address in RAM. Code with a pointer to what it thinks is still an NSManagedObjectID now sends -isTemporaryID to the NSManagedObject. Make sure you're running with the analyzer enabled to help catch your memory management bugs, and read up on general debugging techniques. At the very least, you should have been running in the debugger and gotten a backtrace from the exception. --Kyle Sluder _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com