• 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
isTemporaryID unrecognized selector - how do I debug this?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

isTemporaryID unrecognized selector - how do I debug this?


  • Subject: isTemporaryID unrecognized selector - how do I debug this?
  • From: Gideon King <email@hidden>
  • Date: Sat, 4 Sep 2010 11:43:54 +1000

Hi, I have a custom NSManagedObject subclass that I am having a problem with. When I delete the object, I get the "isTemporaryID unrecognized selector sent to instance" message being sent to the object being deleted - but ONLY if the object has been loaded from a file. If I have created it and then delete it while the file is still open (either a new file or a file I have loaded), then it works fine, but for objects that were there when I loaded the file, it crashes with this exception.

I suspect it may have something to do with some relationship not being loaded properly or something, but this particular entity has 12 relationships off it, so am not sure what to look for or even whether it could be related to relationships, or something else entirely. Unfortunately the error message doesn't have any additional information.

#0  0x00007fff874570da in objc_exception_throw ()
#1  0x00007fff83622140 in -[NSObject(NSObject) doesNotRecognizeSelector:] ()
#2  0x00007fff8359acdf in ___forwarding___ ()
#3  0x00007fff83596e28 in __forwarding_prep_0___ ()
#4  0x00007fff850bd341 in getValueCore ()
#5  0x00007fff850bd2e4 in _PFCMT_GetValue ()
#6  0x00007fff850bd22d in -[NSManagedObjectContext(_NSInternalAdditions) _retainedObjectWithID:optionalHandler:withInlineStorage:] ()
#7  0x00007fff850bfedd in _PF_FulfillDeferredFault ()
#8  0x00007fff850de431 in _PF_Handler_WillAccess_Property ()
#9  0x00007fff850de2a5 in _PF_ManagedObject_WillChangeValueForKeyIndex ()
#10 0x00007fff850de242 in _sharedIMPL_setvfk_core ()
#11 0x00007fff850c9638 in -[NSManagedObject(_PFDynamicAccessorsAndPropertySupport) _setGenericValue:forKey:withIndex:flags:] ()

Where do I look for the cause of this error, or how do I get more information about what is going on?

Thanks

Gideon


_______________________________________________

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 - how do I debug this?
      • From: Jerry Krinock <email@hidden>
  • Prev by Date: Re: CALayer instant content update
  • Next by Date: Re: isTemporaryID unrecognized selector - how do I debug this?
  • Previous by thread: [JOB] iPhone Developer - New York City
  • Next by thread: Re: isTemporaryID unrecognized selector - how do I debug this?
  • Index(es):
    • Date
    • Thread