Hi Guys
I am a newbie to ios. i am stuck with xcdatamodeld which is corrupted and sqlite database which stores various objects of pdf file.
Can anyone help, pretty please 8-I
I will send along the file that has all the storage details etc along with sqlite db. I really need to understand how is it happening; following is the error from console:
[Session started at 2011-05-10 14:00:32 +0530.]
2011-05-10 14:01:07.351 ReportViewer[7376:207] *** p4 is successful ***
2011-05-10 14:01:07.353 ReportViewer[7376:207] *** p5 is successful ***
2011-05-10 14:01:07.984 ReportViewer[7376:207] *** p5 context is successful ***
2011-05-10 14:01:08.293 ReportViewer[7376:207] *** p1 at cdreport is successful ***
2011-05-10 14:01:08.294 ReportViewer[7376:207] *** fetch at CDReport ***
2011-05-10 14:01:08.622 ReportViewer[7376:207] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'executeFetchRequest:error: A fetch request must have an entity.'
*** Call stack at first throw:
(
0 CoreFoundation 0x015f3be9 __exceptionPreprocess + 185
1 libobjc.A.dylib 0x017485c2 objc_exception_throw + 47
2 CoreData 0x00d005fa -[NSManagedObjectContext executeFetchRequest:error:] + 3930
3 ReportViewer 0x00004331 -[ReportStorage getInitialReport] + 262
4 ReportViewer 0x00004684 -[ReportStorage getPagesCount] + 59
5 ReportViewer 0x000110dd -[OneImageDataProvider getNumberOfSpreads] + 53
6 ReportViewer 0x00002de6 -[ReportDataManager getNumberOfSpreads] + 53
7 ReportViewer 0x00009998 -[FlipViewController refreshContentSize] + 55
8 ReportViewer 0x0000ad61 -[FlipViewController viewDidAppear:] + 91
9 UIKit 0x003b9287 -[UIViewController viewDidMoveToWindow:shouldAppearOrDisappear:] + 694
10 UIKit 0x0033e3af -[UIView(Internal) _didMoveFromWindow:toWindow:] + 918
11 UIKit 0x0033cfc4 -[UIView(Hierarchy) _postMovedFromSuperview:] + 166
12 UIKit 0x00335dfc -[UIView(Internal) _addSubview:positioned:relativeTo:] + 1080
13 UIKit 0x0033414f -[UIView(Hierarchy) addSubview:] + 57
14 ReportViewer 0x0001c898 -[StartFakeViewController dbMoveComplete] + 683
15 Foundation 0x000837f6 __NSFireDelayedPerform + 441
16 CoreFoundation 0x015d4fe3 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 19
17 CoreFoundation 0x015d6594 __CFRunLoopDoTimer + 1220
18 CoreFoundation 0x01532cc9 __CFRunLoopRun + 1817
19 CoreFoundation 0x01532240 CFRunLoopRunSpecific + 208
20 CoreFoundation 0x01532161 CFRunLoopRunInMode + 97
21 GraphicsServices 0x01e95268 GSEventRunModal + 217
22 GraphicsServices 0x01e9532d GSEventRun + 115
23 UIKit 0x0031342e UIApplicationMain + 1160
24 ReportViewer 0x00002928 main + 102
25 ReportViewer 0x000028b9 start + 53
)
terminate called after throwing an instance of 'NSException'
TIA

