magicalpanda/MagicalRecord

CoreData could not fulfill a fault crash and method - (NSManagedObject *)objectWithID:(NSManagedObjectID *)objectID;

crespoxiao opened this issue · 0 comments

hi there,
I got a core data crash on ios8 ,please check http://crashes.to/s/8c100d267af
I search the crash reason "CoreData could not fulfill a fault" then find a link: http://www.cnblogs.com/breezemist/p/4654448.html
it seems the method - (NSManagedObject *)objectWithID:(NSManagedObjectID *)objectID; is not safe ,MagicalRecord (2.3.2) the file NSManagedObjectContext+MagicalRecord.m used this method, could it leads crash ? could this code be optimized ?
I know it hard to say, there are many reasons. #945
http://stackoverflow.com/questions/17037785/how-to-find-a-coredata-could-not-fulfill-a-fault-exception
waiting for your reply, thanks !