Hi
I am stuck while developing an application for iPad.
Can anyone help??
Following is the console output:
I am stuck while developing an application for iPad.
Can anyone help??
Following is the console output:
Code:
2011-05-09 18:31:55.078 ReportViewer[3636:207] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[NSMutableArray insertObject:atIndex:]: attempt to insert nil object at 0'
*** Call stack at first throw:
(
0 CoreFoundation 0x015f3be9 __exceptionPreprocess + 185
1 libobjc.A.dylib 0x017485c2 objc_exception_throw + 47
2 CoreFoundation 0x015ed7f1 -[__NSArrayM insertObject:atIndex:] + 225
3 CoreFoundation 0x015e8c44 -[__NSArrayM addObject:] + 68
4 CoreData 0x00d99f2e +[NSManagedObjectModel mergedModelFromBundles:] + 350
5 ReportViewer 0x00007963 -[ReportStorage managedObjectModel] + 115
6 ReportViewer 0x00007acd -[ReportStorage persistentStoreCoordinator] + 307
7 ReportViewer 0x00007851 -[ReportStorage managedObjectContext] + 85
8 ReportViewer 0x00003511 -[ReportStorage init] + 85
9 ReportViewer 0x00002d98 -[ReportDataManager init] + 137
10 ReportViewer 0x00002c0c +[ReportDataManager sharedManager] + 88
11 ReportViewer 0x00009c80 -[FlipViewController viewDidLoad] + 327
12 UIKit 0x003b265e -[UIViewController view] + 179
13 ReportViewer 0x0001ba6b -[StartFakeViewController dbMoveComplete] + 518
14 Foundation 0x000839a6 __NSThreadPerformPerform + 251
15 CoreFoundation 0x015d501f __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 15
16 CoreFoundation 0x0153328b __CFRunLoopDoSources0 + 571
17 CoreFoundation 0x01532786 __CFRunLoopRun + 470
18 CoreFoundation 0x01532240 CFRunLoopRunSpecific + 208
19 CoreFoundation 0x01532161 CFRunLoopRunInMode + 97
20 GraphicsServices 0x01e95268 GSEventRunModal + 217
21 GraphicsServices 0x01e9532d GSEventRun + 115
22 UIKit 0x0031342e UIApplicationMain + 1160
23 ReportViewer 0x00001c90 main + 102
24 ReportViewer 0x00001c21 start + 53
)
terminate called after throwing an instance of 'NSException'