• 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: isTemporaryID unrecognized selector?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: isTemporaryID unrecognized selector?


  • Subject: Re: isTemporaryID unrecognized selector?
  • From: Kyle Sluder <email@hidden>
  • Date: Sat, 14 Aug 2010 18:20:26 -0700

On Sat, Aug 14, 2010 at 6:05 PM, Ferhat Ayaz <email@hidden> 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 (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: isTemporaryID unrecognized selector?
      • From: Ferhat Ayaz <email@hidden>
References: 
 >isTemporaryID unrecognized selector? (From: Ferhat Ayaz <email@hidden>)
 >Re: isTemporaryID unrecognized selector? (From: Keary Suska <email@hidden>)
 >Re: isTemporaryID unrecognized selector? (From: Ferhat Ayaz <email@hidden>)

  • Prev by Date: Re: isTemporaryID unrecognized selector?
  • Next by Date: Re: isTemporaryID unrecognized selector?
  • Previous by thread: Re: isTemporaryID unrecognized selector?
  • Next by thread: Re: isTemporaryID unrecognized selector?
  • Index(es):
    • Date
    • Thread