Hi,

On Xcode 4.2 I am getting some error that makes no sense to me and all similar 
reports on the web don't seem to apply:


CoreData: FATAL ERROR: The persistent cache of section information does not 
match the current configuration.  You have illegally mutated the 
NSFetchedResultsController's fetch request, its predicate, or its sort 
descriptor without either disabling caching or using +deleteCacheWithName:


After I reset the simulator device it works once, I quit the app, launch it and 
get the same message. The first launch I did make a fetch, it downloads some 
data and puts them into the sqlite core data store, then I call

    [self saveContext];

If I don't call saveContext, my data is not saved, and next launch it needs to 
download it all over again. If I do save I get aforementioned message.

At the end of the message which also lists all objects in core data, it states:

 *** Terminating app due to uncaught exception 
'NSInternalInconsistencyException', reason: 'CoreData: FATAL ERROR: The 
persistent cache of section information does not match the current 
configuration.  You have illegally mutated the NSFetchedResultsController's 
fetch request, its predicate, or its sort descriptor without either disabling 
caching or using +deleteCacheWithName:'

When looking at the documentation on deleteCacheWithName, things make even less 
sense to me, because I never cached anything.

Please, could someone help?

Thanks
Alex

_______________________________________________

Cocoa-dev mailing list ([email protected])

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