• 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
Core Data Exception: NSTemporaryObjectID_default
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Core Data Exception: NSTemporaryObjectID_default


  • Subject: Core Data Exception: NSTemporaryObjectID_default
  • From: Stefan Mueller <email@hidden>
  • Date: Sat, 8 Mar 2008 19:33:51 +0100

Hello

I think I've stumbled on a rare Core Data exception. I'm working with two threads, each with its own context, but shared coordinator.
When I try to save the data generated in the background thread, I occasionally get the exception.
It's also very difficult to debug, since I can't reproduce it reliably.



*** -_referenceData64 only defined for abstract class. Define - [NSTemporaryObjectID_default _referenceData64]!
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: \
'*** -_referenceData64 only defined for abstract class. Define - [NSTemporaryObjectID_default _referenceData64]!'



Thread 1 Thread 2 - create Object - save - load the object into the context using the ObjectID - generate data hanging off the object - save <-- Exception happens here - refresh object


regards stefan mueller _______________________________________________

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


  • Prev by Date: Re: IB3 Application vs File Owner
  • Next by Date: RE: Glyph Generator & hiding glyphs -> _NSBlockNumberForIndex() errors
  • Previous by thread: Re: Binding NSTabViews in NSCollectionViews?
  • Next by thread: RE: Glyph Generator & hiding glyphs -> _NSBlockNumberForIndex() errors
  • Index(es):
    • Date
    • Thread