Core Data Exception: NSTemporaryObjectID_default
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