RestKit/RestKit — Issue #397: Object's persistent store is not reachable from this NSManagedObjectContext's coordinator 
Author: frapet
Created: 2011-10-12 10:11:46+00:00
State: open

Hello,
I have the following error using my app:

'Object's persistent store is not reachable from this NSManagedObjectContext's coordinator'

Now, my app has RestKit and standard coreData configuration to be able to store other information. it works really well but sometimes I receive that crash. Do you know why?

I have the last version of Restkit with the fix:
// Clear the current managed object context. Will be re-created next time it is accessed.
NSMutableDictionary* threadDictionary = [[NSThread currentThread] threadDictionary];
if ([threadDictionary objectForKey:kRKManagedObjectContextKey]) {
[threadDictionary removeObjectForKey:kRKManagedObjectContextKey];
}

but I think that error is still there.
Any ideas?

Thanks!!