2012-03-29 15:18:51.257 BaseiOSViewControllers-DemoProject[5227:b603] *** Terminating app due to uncaught exception 'NSObjectInaccessibleException', reason: 'This fetch request (0x5a97b90) was created with a string name (ToDo), and cannot respond to -entity until used by an NSManagedObjectContext'
*** Call stack at first throw:
(
0 CoreFoundation 0x011e15a9 __exceptionPreprocess + 185
1 libobjc.A.dylib 0x0158b313 objc_exception_throw + 44
2 CoreData 0x00e4868f -[NSFetchRequest entity] + 159
3 CoreData 0x00f297fb -[NSFetchedResultsController initWithFetchRequest:managedObjectContext:sectionNameKeyPath:cacheName:] + 763
4 BaseiOSViewControllers-DemoProject 0x00002d62 -[JSBaseCoreDataTableViewController fetchedResultsController] + 290
5 BaseiOSViewControllers-DemoProject 0x00002956 -[JSBaseCoreDataTableViewController viewDidLoad] + 102
6 UIKit 0x00247089 -[UIViewController view] + 179
7 UIKit 0x00259f54 -[UITabBarController transitionFromViewController:toViewController:transition:shouldSetSelected:] + 120
8 UIKit 0x00258aaa -[UITabBarController transitionFromViewController:toViewController:] + 64
9 UIKit 0x0025a8a2 -[UITabBarController _setSelectedViewController:] + 263
10 UIKit 0x0025a711 -[UITabBarController _tabBarItemClicked:] + 352
11 UIKit 0x001974fd -[UIApplication sendAction:to:from:forEvent:] + 119
12 UIKit 0x00399ce6 -[UITabBar _sendAction:withEvent:] + 422
13 UIKit 0x001974fd -[UIApplication sendAction:to:from:forEvent:] + 119
14 UIKit 0x00227799 -[UIControl sendAction:to:forEvent:] + 67
15 UIKit 0x00229c2b -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 527
16 UIKit 0x00227750 -[UIControl sendActionsForControlEvents:] + 49
17 UIKit 0x001974fd -[UIApplication sendAction:to:from:forEvent:] + 119
18 UIKit 0x00227799 -[UIControl sendAction:to:forEvent:] + 67
19 UIKit 0x00229c2b -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 527
20 UIKit 0x002287d8 -[UIControl touchesEnded:withEvent:] + 458
21 UIKit 0x001bbded -[UIWindow _sendTouchesForEvent:] + 567
22 UIKit 0x0019cc37 -[UIApplication sendEvent:] + 447
23 UIKit 0x001a1f2e _UIApplicationHandleEvent + 7576
24 GraphicsServices 0x01c64992 PurpleEventCallback + 1550
25 CoreFoundation 0x011c2944 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 52
26 CoreFoundation 0x01122cf7 __CFRunLoopDoSource1 + 215
27 CoreFoundation 0x0111ff83 __CFRunLoopRun + 979
28 CoreFoundation 0x0111f840 CFRunLoopRunSpecific + 208
29 CoreFoundation 0x0111f761 CFRunLoopRunInMode + 97
30 GraphicsServices 0x01c631c4 GSEventRunModal + 217
31 GraphicsServices 0x01c63289 GSEventRun + 115
32 UIKit 0x001a5c93 UIApplicationMain + 1160
33 BaseiOSViewControllers-DemoProject 0x00001e2a main + 170
34 BaseiOSViewControllers-DemoProject 0x00001d75 start + 53
)