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 (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 [EMAIL PROTECTED]

Reply via email to