APPNameCoreDataEvent is the subclass of NSManagedObject. The crash happend in the property of APPNAMEEvent. What's wrong with it ??
Is there something that I missuse??
@class APPNAMECoreDataHeader;
@protocol APPNAMEPersistent
@property (nonatomic,strong) NSObject *model;
@end
@interface APPNameCoreDataEvent : NSManagedObject <APPNAMEEvent,APPNAMEPersistent>
/
* subclass of NSManagedObject
*/
@property (nonatomic, retain) APPNAMECoreDataHeader * header;
@property (nonatomic,strong) APPNAMEEvent *model;
@end
Here's the Crash Log:
Thread 36 Crashed:
0 CoreData snapshot_get_value_as_object + 68
1 CoreData _PF_Handler_Public_GetProperty + 83
2 APPName -[APPNameCoreDataEvent model] (APPNameCoreDataEvent.m:35)
3 APPName __54-[APPNameCoreDataManager removeHistoryAnalytics:]_block_invoke (APPNameCoreDataManager71)
4 CoreData developerSubmittedBlockToNSManagedObjectContextPerform + 179
5 libdispatch.dylib _dispatch_queue_drain + 1763
6 libdispatch.dylib _dispatch_queue_invoke + 283
7 libdispatch.dylib _dispatch_root_queue_drain + 1573
8 libdispatch.dylib _dispatch_worker_thread3 + 95
9 libsystem_pthread.dylib _pthread_wqthread + 1025
10 libsystem_pthread.dylib start_wqthread + 8