Welcome to iPadForums.net Guest - Click Here to Register

iPad application development error

This is a discussion on iPad application development error within the iPad Development forums, part of the iPad App Store category; Hi 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 ...

Register with iPad Forums
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    iPad Noob!
    Member #
    49962
    Join Date
    Apr 2011
    Posts
    3

    iPad application development error

    Hi

    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'


  2. #2
    Super Moderator
    Member #
    27654
    Liked
    96 times
    Join Date
    Jan 2011
    Location
    Scotland
    Posts
    15,270
    I moved this to the Development section, as I thought it might receive better attention there. I hope that was OK.

    Tim
    iPad Forum moderator

  3. #3
    iPF Novice
    Member #
    35884
    Join Date
    Feb 2011
    Posts
    11
    You have not inserted any value At 0 index, That's why this error occur. Insert some value at 0 Index and run your app.I think it will be helpful to you.

  4. #4
    iPad Noob!
    Member #
    49962
    Join Date
    Apr 2011
    Posts
    3
    @Tim: Thanks buddy. My bad for posting in the wrong forum.

    @Christopher: I redid the sqlite table and again tested the file but this time it created a different error. I am not very comfortable with sqlite and datamodels. However, I figured out that it is the connectivity issue now.

    It is through fetch error. I believe there is some error with xcdatamodel file. If you suggest, i can PM the sqlite db and the file in concern. May be we can get forward with it?

    TIA


Home | Forum | Active Topics | What's New

Sponsors

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Similar Threads

  1. App Development for the iPad 2
    By Appsempire in forum iPad General Discussions
    Replies: 4
    Last Post: 07-15-2011, 04:48 AM

Search tags for this page

*** -[ nsarraym insertobject:atindex:]: object cannot be nil
,
*** -[ nsarraym insertobject:atindex:]: object cannot be nil.
,

[ nsarraym insertobject:atindex:]: object cannot be nil

,

[ nsarraym insertobject:atindex:]: object cannot be nil'

,
[ nsarraym insertobject:atindex:]: object cannot be nil' core data
,
how to fix mewseek error insert object
,
insert object at index mewseek
,
mergedmodelfrombundles nsinvalidargumentexception
,

mergedmodelfrombundles object cannot be nil

,
mewseek an attemp to insert nil at 0
,

mewseek attempt to insert nil object at 0

,
mewseek error mutable array
,
mewseek nil at 0
,
mewseek nsmutablearray error
,

nsarraym insertobject:atindex:]: object cannot be nil

,
nsarraym insertobject:atindex:]: object cannot be nil nsmanagedobjectmodel mergedmodelfrombundles:
,
nsarraym insertobject:atindex:]: object cannot be nil'
,
nsmanagedobjectmodel mergedmodelfrombundles nsarraym insertobject:atindex
,
nsmutablearray mewseek
,

terminating app due to uncaught exception 'nsinvalidargumentexception', reason: *** -[ nsarraym insertobject:atindex:]:

Click on a term to search for related topics.