Crashing while using Three20 With Monotouch.Dialog - three20

Hello I'm trying to use Three20 with my Monotouch Application with no luck.
I have added the Three20 dll file that I made and all the *.a files that created, to my project.
I have added the argument in my project option and everything was compiled witch means I did that part in the right way.
-gcc_flags "-framework QuartzCore -L${ProjectDir}} -|libThree20CoreSDK -|libThree20NetworkSDK -|libThree20SDK -|libThree20StyleSDK -|libThree20UICommonSDK -|libThree20UINavigatorSDK -|libThree20UISDK -ObjC"
I created a view for testing :
public partial class ViewForTesting : DialogViewController
{
public ViewForTesting () : base (UITableViewStyle.Grouped, null)
{
Section section = new Section();
TTTabBar strip = new TTTabBar(new RectangleF(0,0,200,40));
NSMutableArray arr = new NSMutableArray();
NSString a = new NSString("abc");
arr.Add(a);
arr.Add(a);
strip.TabItems = arr;
section.HeaderView = srtip;
root.Add(section);
this.Root = root;
}
}
and this is the error that i get
at (wrapper runtime-invoke) <Module>.runtime_invoke_void_object (object,intptr,intptr,intptr) <0xffffffff>
Native stacktrace:
0 Test 0x00090b7c mono_handle_native_sigsegv + 284
1 Test 0x00005f28 mono_sigsegv_signal_handler + 248
2 libsystem_c.dylib 0x9bbcb59b _sigtramp + 43
3 ??? 0xffffffff 0x0 + 4294967295
4 ??? 0x1162086c 0x0 + 291637356
5 ??? 0x11620158 0x0 + 291635544
6 ??? 0x0b5beb5b 0x0 + 190573403
7 ??? 0x0b5ba3a0 0x0 + 190555040
8 ??? 0x0b5ba4bf 0x0 + 190555327
9 Test 0x0000a292 mono_jit_runtime_invoke + 722
10 Test 0x0016a17e mono_runtime_invoke + 126
11 Test 0x0020683c monotouch_trampoline + 3372
12 UIKit 0x0218e9d6 -[UIApplication _callInitializationDelegatesForURL:payload:suspended:] + 1292
13 UIKit 0x0218f8a6 -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 508
14 UIKit 0x0219e743 -[UIApplication handleEvent:withNewEvent:] + 1027
15 UIKit 0x0219f1f8 -[UIApplication sendEvent:] + 68
16 UIKit 0x02192aa9 _UIApplicationHandleEvent + 8196
17 GraphicsServices 0x0478afa9 PurpleEventCallback + 1274
18 CoreFoundation 0x011951c5 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 53
19 CoreFoundation 0x010fa022 __CFRunLoopDoSource1 + 146
20 CoreFoundation 0x010f890a __CFRunLoopRun + 2218
21 CoreFoundation 0x010f7db4 CFRunLoopRunSpecific + 212
22 CoreFoundation 0x010f7ccb CFRunLoopRunInMode + 123
23 UIKit 0x0218f2a7 -[UIApplication _run] + 576
24 UIKit 0x02190a9b UIApplicationMain + 1175
25 ??? 0x0b5b779c 0x0 + 190543772
26 ??? 0x0b5b6980 0x0 + 190540160
27 ??? 0x0b5b6818 0x0 + 190539800
28 ??? 0x0b5b68a7 0x0 + 190539943
29 Test 0x0000a292 mono_jit_runtime_invoke + 722
30 Test 0x0016a17e mono_runtime_invoke + 126
31 Test 0x0016e264 mono_runtime_exec_main + 420
32 Test 0x00173685 mono_runtime_run_main + 725
33 Test 0x00067495 mono_jit_exec + 149
34 Test 0x002116c9 main + 2825
35 Test 0x000032e5 start + 53
=================================================================
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================
Also I have updated the monoTouch to 5.2.4
any idea?

You are setting the tabItems property of a TTTabBar to an array of NSStrings, were it should be an array of TTTabItem objects.

Related

Error while Launching saying NSInternalInconsistencyException

Need help. receiving below error while launching the application
Objective-C exception thrown. Name: NSInternalInconsistencyException Reason: Application windows are expected to have a root view controller at the end of application launch
Native stack trace:
0 CoreFoundation 0x00000001160421e6 exceptionPreprocess + 294
1 libobjc.A.dylib 0x0000000116fdf031 objc_exception_throw + 48
2 CoreFoundation 0x0000000116047472 +[NSException raise:format:arguments:] + 98
3 Foundation 0x0000000114f7b652 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 193
4 UIKit 0x0000000112d1bb96 -[UIApplication _runWithMainScene:transitionContext:completion:] + 3064
5 UIKit 0x00000001130dde4a __111-[__UICanvasLifecycleMonitor_Compatability _scheduleFirstCommitForScene:transition:firstActivation:completion:]_block_invoke + 866
6 UIKit 0x00000001134b0909 +[_UICanvas _enqueuePostSettingUpdateTransactionBlock:] + 153
7 UIKit 0x00000001130dda86 -[__UICanvasLifecycleMonitor_Compatability _scheduleFirstCommitForScene:transition:firstActivation:completion:] + 236
8 UIKit 0x00000001130de2a7 -[__UICanvasLifecycleMonitor_Compatability activateEventsOnly:withContext:completion:] + 675
9 UIKit 0x0000000113a4f4d4 __82-[_UIApplicationCanvas _transitionLifecycleStateWithTransitionContext:completion:]_block_invoke + 299
10 UIKit 0x0000000113a4f36e -[_UIApplicationCanvas _transitionLifecycleStateWithTransitionContext:completion:] + 433
11 UIKit 0x000000011373362d __125-[_UICanvasLifecycleSettingsDiffAction performActionsForCanvas:withUpdatedScene:settingsDiff:fromSettings:transitionContext:]_block_invoke + 221
12 UIKit 0x000000011392e387 _performActionsWithDelayForTransitionContext + 100
13 UIKit 0x00000001137334f7 -[_UICanvasLifecycleSettingsDiffAction performActionsForCanvas:withUpdatedScene:settingsDiff:fromSettings:transitionContext:] + 223
14 UIKit 0x00000001134affb0 -[_UICanvas scene:didUpdateWithDiff:transitionContext:completion:] + 392
15 UIKit 0x0000000112d19f0c -[UIApplication workspace:didCreateScene:withTransitionContext:completion:] + 515
16 UIKit 0x00000001132eca97 -[UIApplicationSceneClientAgent scene:didInitializeWithEvent:completion:] + 361
17 FrontBoardServices 0x000000011d9c32f3 -[FBSSceneImpl _didCreateWithTransitionContext:completion:] + 331
18 FrontBoardServices 0x000000011d9cbcfa __56-[FBSWorkspace client:handleCreateScene:withCompletion:]_block_invoke_2 + 225
19 libdispatch.dylib 0x0000000117c74779 _dispatch_client_callout + 8
20 libdispatch.dylib 0x0000000117c79931 _dispatch_block_invoke_direct + 317
21 FrontBoardServices 0x000000011d9f7470 __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK + 24
22 FrontBoardServices 0x000000011d9f712e -[FBSSerialQueue _performNext] + 439
23 FrontBoardServices 0x000000011d9f768e -[FBSSerialQueue _performNextFromRunLoopSource] + 45
24 CoreFoundation 0x0000000115fe4bb1 CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION + 17
25 CoreFoundation 0x0000000115fc94af __CFRunLoopDoSources0 + 271
26 CoreFoundation 0x0000000115fc8a6f __CFRunLoopRun + 1263
27 CoreFoundation 0x0000000115fc830b CFRunLoopRunSpecific + 635
28 GraphicsServices 0x0000000119779a73 GSEventRunModal + 62
29 UIKit 0x0000000112d1d0b7 UIApplicationMain + 159
30 ??? 0x000000013437347e 0x0 + 5171000446
31 ??? 0x0000000134373213 0x0 + 5170999827
Application windows are expected to have a root view controller at the end of application
It seems that you didn't set the RootViewController.It worked fine in old version.But in the new version ,you should set it in AppDelegate
public override bool FinishedLaunching (UIApplication application, NSDictionary launchOptions)
{
// Override point for customization after application launch.
// If not required for your application you can safely delete this method
var indexVC = new XXXViewController ();//your viewcontroller
Window = new UIWindow ((CGRect)UIScreen.MainScreen.Bounds);
Window .RootViewController = indexVC;
Window .MakeKeyAndVisible ();
return true;
}

NSInvalidArgumentException *** -[NSURL initFileURLWithPath:]: nil string parameter

i'm trying to develop a project with Xamarin Forms, specially Ios shared code where, after i binded the Google Vr SDK library perfect with ApDefinition & StructAndEnums classes and the GVRSDK static library, i ve some problem to solve.
When i insert the GVRVideoView widget into my ViewController, two buttons about Fullscreen and Cardboard View Mode doesn't appear; i've insert their own enable methods into code to do that.
Also when i tap them the app crashes and the debug console give me these exception. I don't know what i should try to do.
Maybe anyone can help and discuss with me these problem?
2017-04-12 12:45:00.413 App18.iOS[1335:1127396] INFO
[vr/gvr/capi/src/gvr.cc:109] Initialized GVR version 1.30.0
2017-04-12 12:45:04.872 App18.iOS[1335:1127349] Xamarin.iOS: Received
unhandled ObjectiveC exception: NSInvalidArgumentException *** -[NSURL
initFileURLWithPath:]: nil string parameter
2017-04-12 12:45:05.179 App18.iOS[1335:1127349] Objective-C exception
thrown. Name: NSInvalidArgumentException Reason: *** -[NSURL
initFileURLWithPath:]: nil string parameter
Native stack trace:
0 CoreFoundation 0x1b773b55 <redacted> + 152
1 libobjc.A.dylib 0x1a9fb067 objc_exception_throw + 38
2 CoreFoundation 0x1b773a85 <redacted> + 0
3 Foundation 0x1c01fc69 <redacted> + 120
4 Foundation 0x1c01fbdb <redacted> + 42
5 App18.iOS 0x00098e67 -[GVRTransitionView
loadView] + 510
6 App18.iOS 0x00098c0f -[GVRTransitionView
initWithFrame:delegate:] + 190
7 App18.iOS 0x0008e277 -
[GVROverlayViewController init] + 246
8 App18.iOS 0x000a0f6d -[GVRWidgetView
goIntoFullscreenMode] + 76
9 App18.iOS 0x000a198d -[GVRWidgetView
didTapFullscreenButton:] + 20
1
0 UIKit 0x209d6805 <redacted> + 76
11 UIKit 0x209d6799 <redacted> + 62
12 UIKit 0x209c0dc9 <redacted> + 478
13 UIKit 0x209d60d5 <redacted> + 604
14 UIKit 0x209d5c1f <redacted> + 2094
15 UIKit 0x209d0b5f <redacted> + 2798
16 UIKit 0x209a2703 <redacted> + 308
17 UIKit 0x21135d37 <redacted> + 2254
18 UIKit 0x211306db <redacted> + 4186
19 UIKit 0x21130abd <redacted> + 144
20 CoreFoundation 0x1b72ffdd <redacted> + 12
21 CoreFoundation 0x1b72fb05 <redacted> + 424
22 CoreFoundation 0x1b72df51 <redacted> + 1160
23 CoreFoundation 0x1b6810ef CFRunLoopRunSpecific +
470
24 CoreFoundation 0x1b680
f11 CFRunLoopRunInMode + 104
25 GraphicsServices 0x1ce2bb41 GSEventRunModal + 80
26 UIKit 0x20a05e83 UIApplicationMain + 150
27 App18.iOS 0x00fd2d6c
wrapper_managed_to_native_UIKit_UIApplication_UIApplicationMain_int_string___int
ptr_intptr + 324
28 App18.iOS 0x00f764b0
UIKit_UIApplication_Main_string___intptr_intptr + 52
29 App18.iOS 0x00f76470
UIKit_UIApplication_Main_string___string_string + 204
30 App18.iOS 0x0042d820
App18_iOS_Application_Main_string__ + 192
31 App18.iOS 0x00690ae4
wrapper_runtime_invoke_object_runtime_invoke_dynamic_intptr_intptr_intptr_intptr + 256
32 App18.iOS 0x0036cd45 mono_jit_runtime_invoke +
1528
33 App18.iOS 0x003b9937 do_runtime_invoke + 78
34 App18.iOS 0x003bb90d do_exec_main_checked + 84
35 App18.iOS
0x0035b0ad mono_jit_exec + 194
36 App18.iOS 0x0042c660 xamarin_main + 2484
37 App18.iOS 0x01143be1 main + 112
38 libdyld.dylib 0x1ae6e4eb + 2
Somehow you are passing 'nil' as the parameter in the method [NSURL
initFileURLWithPath:].
Add a breakpoint to check the value you are passing in the method.
Also share the code so we can advise you better.

Unrecognized Selector for NSNull isCString

I am experiencing unrecognized selector for this:
-[NSNull _isCString]: unrecognized selector sent to instance
The given log crashes my app. What are the possible causes of this error? Can anyone give some ideas? Any response will be very much appreciated. Thank you very much!
Actually, I just want to edit a row from a table view controller. I have noticed that when I click the EDIT at the navigation bar of my table view controller, the rows 0, 2 and 4 gets the error but the rows 1 and 3 doesn't.
2014-08-13 11:39:27.531 boysenios[5253:60b] -[NSNull _isCString]: unrecognized selector sent to instance 0x2068068
2014-08-13 11:39:27.535 boysenios[5253:60b] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSNull _isCString]: unrecognized selector sent to instance 0x2068068'
*** First throw call stack:
(
0 CoreFoundation 0x01f1c1e4 __exceptionPreprocess + 180
1 libobjc.A.dylib 0x01c9b8e5 objc_exception_throw + 44
2 CoreFoundation 0x01fb9243 -[NSObject(NSObject) doesNotRecognizeSelector:] + 275
3 CoreFoundation 0x01f0c50b ___forwarding___ + 1019
4 CoreFoundation 0x01f0c0ee _CF_forwarding_prep_0 + 14
5 Foundation 0x018cc986 -[NSBigMutableString replaceCharactersInRange:withString:] + 317
6 Foundation 0x018cc815 -[NSConcreteMutableAttributedString replaceCharactersInRange:withAttributedString:] + 384
7 UIFoundation 0x03e86774 __71-[NSConcreteTextStorage replaceCharactersInRange:withAttributedString:]_block_invoke + 68
8 UIFoundation 0x03e866af -[NSConcreteTextStorage replaceCharactersInRange:withAttributedString:] + 121
9 Foundation 0x018f6f76 -[NSMutableAttributedString setAttributedString:] + 90
10 UIKit 0x01065c6c __32-[UITextView setAttributedText:]_block_invoke + 43
11 UIFoundation 0x03e84211 -[NSTextStorage coordinateEditing:] + 48
12 UIKit 0x010658cb -[UITextView setAttributedText:] + 254
13 UIKit 0x01069eb5 -[UITextView setText:] + 149
14 boysenios 0x000233c6 -[ProjectFormTableViewController resetView] + 3873
15 boysenios 0x00022494 -[ProjectFormTableViewController setViewToEdit:] + 61
16 libobjc.A.dylib 0x01cad880 -[NSObject performSelector:withObject:withObject:] + 77
17 UIKit 0x0095d3b9 -[UIApplication sendAction:to:from:forEvent:] + 108
18 UIKit 0x00c4a8df -[UIBarButtonItem(UIInternal) _sendAction:withEvent:] + 139
19 libobjc.A.dylib 0x01cad880 -[NSObject performSelector:withObject:withObject:] + 77
20 UIKit 0x0095d3b9 -[UIApplication sendAction:to:from:forEvent:] + 108
21 UIKit 0x0095d345 -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 61
22 UIKit 0x00a5ebd1 -[UIControl sendAction:to:forEvent:] + 66
23 UIKit 0x00a5efc6 -[UIControl _sendActionsForEvents:withEvent:] + 577
24 UIKit 0x00a5e243 -[UIControl touchesEnded:withEvent:] + 641
25 UIKit 0x0099cddd -[UIWindow _sendTouchesForEvent:] + 852
26 UIKit 0x0099d9d1 -[UIWindow sendEvent:] + 1117
27 UIKit 0x0096f5f2 -[UIApplication sendEvent:] + 242
28 UIKit 0x00959353 _UIApplicationHandleEventQueue + 11455
29 CoreFoundation 0x01ea577f __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 15
30 CoreFoundation 0x01ea510b __CFRunLoopDoSources0 + 235
31 CoreFoundation 0x01ec21ae __CFRunLoopRun + 910
32 CoreFoundation 0x01ec19d3 CFRunLoopRunSpecific + 467
33 CoreFoundation 0x01ec17eb CFRunLoopRunInMode + 123
34 GraphicsServices 0x033345ee GSEventRunModal + 192
35 GraphicsServices 0x0333442b GSEventRun + 104
36 UIKit 0x0095bf9b UIApplicationMain + 1225
37 boysenios 0x00027f83 main + 94
38 libdyld.dylib 0x02fcd701 start + 1
39 ??? 0x00000001 0x0 + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
NSNull is a class that class does not implement _isCString, hence the unrecognized selector error. Objective-C usually uses nil to represent a 0 or a null pointer value. However, standard containers like NSDictionary and NSArray cannot hold nil values, so you occasionally see [NSNull null] used instead.
It's basically convention in your code that determines whether you check for myVal == [NSNull null] or myVal == nil.
Based on the trace you posted, it appears you need to do a myVal == [NSNull null] check somewhere.

(iOS) What does kbViewRecoverNormalState means?

We have this crash in our app that has this kind of log.
"date= 2013-02-03 07:12:17 +0000;
buildVersion = 1.0.0;
model = iPhone;
systemName = iPhone OS;
systemVersion = 5.1.1;
timeSpent = 1008.14;
uid = 63743f3790afda4d3bffc7beb8877fa9cfbfedfe;
reason = -[__NSCFType kbViewRecoverNormalState]: unrecognized selector sent to instance 0xdd1dfe0;
stackTrace =
(
0 CoreFoundation 0x371288a7 __exceptionPreprocess + 186
1 libobjc.A.dylib 0x34e2d259 objc_exception_throw + 32
2 CoreFoundation 0x3712ba9b -[NSObject doesNotRecognizeSelector:] + 174
3 CoreFoundation 0x3712a915 ___forwarding___ + 300
4 CoreFoundation 0x37085650 _CF_forwarding_prep_0 + 48
5 SogouInputIPhone4.dylib 0x01a1982b -[AppStateMonitor exitSogouInputMethod] + 190
6 SogouInputIPhone4.dylib 0x01a196e5 -[AppStateMonitor didEnterBackground] + 20
7 Foundation 0x3798d4ff __57 -[NSNotificationCenteraddObserver:selector:name:object:] _block_invoke_0 + 18
8 CoreFoundation 0x370f4547 ___CFXNotificationPost_block_invoke_0 + 70
9 CoreFoundation 0x37080097 _CFXNotificationPost + 1406
10 Foundation 0x379013eb -[NSNotificationCenterpostNotificationName:object:userInfo:] + 66
11 UIKit 0x30e6c255 -[UIApplication _handleApplicationSuspend:eventInfo:] +792
12 UIKit 0x30dfceff -[UIApplication handleEvent:withNewEvent:] + 2094
13 UIKit 0x30dfc567 -[UIApplication sendEvent:] + 54
14 UIKit 0x30dfbf3b _UIApplicationHandleEvent + 5826
15 GraphicsServices 0x3383e22b PurpleEventCallback + 882
16 CoreFoundation 0x370fc523 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__+ 38
17 CoreFoundation 0x370fc4c5 __CFRunLoopDoSource1 + 140
18 CoreFoundation 0x370fb313 __CFRunLoopRun + 1370
19 CoreFoundation 0x3707e4a5 CFRunLoopRunSpecific + 300
20 CoreFoundation 0x3707e36d CFRunLoopRunInMode + 104
21 GraphicsServices 0x3383d439 GSEventRunModal + 136
22 UIKit 0x30e2acd5 UIApplicationMain + 1080
23 MyApp 0x0014506f _mh_execute_header + 295023
24 MyApp 0x000ff058 _mh_execute_header + 8280
);"
That is a custom crash log that is not symbolicated when we migrated to Xcode 4.5.
My question is, what is kbViewRecoverNormalState means? What class calls this selector? Since we can't read the stack trace clearly, we don't have any idea about this.
And is there any possible solution for this uninformative call stack? It is working on the device if it is connected to Xcode (debug/release). But when release on iTunes and/or created an IPA file, it doesn't work.
Thanks!
It seems like you are test your app in jailbroken device.
SogouInputIPhone4.dylib 0x01a1982b -[AppStateMonitor exitSogouInputMethod]
Its the SogouInputIPhone4 which cause the crash

iPad crashes when Simulator doesn't when loading a view

my app crashes on iPad when I open a new view even though in the simulator it works like a charm.
Any help is strongly appreciated!
Thanks in advance
Console Output:
2012-07-18 10:32:19.783 Coverdale[3484:707] *** Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[__NSArrayM objectAtIndex:]: index 4 beyond bounds [0 .. 3]'
First throw call stack:
(0x3757688f 0x315eb259 0x374bf9db 0x37745 0x35c3f 0x306e3c8b 0x30708481 0x306ccbd5 0x3078f359 0x306d53b5 0x306d53d1 0x306d5263 0x3078f31f 0x307446cb 0x3074400f 0x3078dc05 0x3078c367 0x307e76a7 0x2c4fb 0x3075c93d 0x307d6627 0x33093933 0x3754aa33 0x3754a699 0x3754926f 0x374cc4a5 0x374cc36d 0x376c5439 0x306d8cd5 0x22103 0x220a8)
terminate called throwing an exception(lldb)
Crash Report
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x00000000, 0x00000000
Crashed Thread: 0
Last Exception Backtrace:
0 CoreFoundation 0x3757688f __exceptionPreprocess + 163
1 libobjc.A.dylib 0x315eb259 objc_exception_throw + 33
2 CoreFoundation 0x374bf9db -[__NSArrayM objectAtIndex:] + 271
3 Coverdale 0x00092745 -[PreparationViewController setDetails:newFile:] (PreparationViewController.m:376)
4 Coverdale 0x00090c3f -[PreparationViewController viewDidLoad] (PreparationViewController.m:70)
5 UIKit 0x306e3c8b -[UIViewController view] + 167
6 UIKit 0x30708481 -[UIViewController nextResponder] + 21
7 UIKit 0x306ccbd5 -[UIResponder _containsResponder:] + 37
8 UIKit 0x3078f359 -[UINavigationController defaultFirstResponder] + 57
9 UIKit 0x306d53b5 -[UIResponder(Internal) _deepestDefaultFirstResponder] + 25
10 UIKit 0x306d53d1 -[UIResponder(Internal) _deepestDefaultFirstResponder] + 53
11 UIKit 0x306d5263 -[UIResponder(Internal) _promoteDeepestDefaultFirstResponder] + 31
12 UIKit 0x3078f31f -[UIWindowController transitionViewDidStart:] + 83
13 UIKit 0x307446cb -[UITransitionView _didStartTransition] + 71
14 UIKit 0x3074400f -[UITransitionView transition:fromView:toView:] + 999
15 UIKit 0x3078dc05 -[UIWindowController transition:fromViewController:toViewController:target:didEndSelector:] + 4937
16 UIKit 0x3078c367 -[UIViewController presentViewController:withTransition:completion:] + 3123
17 UIKit 0x307e76a7 -[UIViewController presentModalViewController:animated:] + 31
18 Coverdale 0x000874fb -[IntroTableViewController tableView:didSelectRowAtIndexPath:] (IntroTableViewController.m:498)
19 UIKit 0x3075c93d -[UITableView _selectRowAtIndexPath:animated:scrollPosition:notifyDelegate:] + 945
20 UIKit 0x307d6627 -[UITableView _userSelectRowAtPendingSelectionIndexPath:] + 159
21 Foundation 0x33093933 __NSFireDelayedPerform + 415
22 CoreFoundation 0x3754aa33 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 15
23 CoreFoundation 0x3754a699 __CFRunLoopDoTimer + 365
24 CoreFoundation 0x3754926f __CFRunLoopRun + 1207
25 CoreFoundation 0x374cc4a5 CFRunLoopRunSpecific + 301
26 CoreFoundation 0x374cc36d CFRunLoopRunInMode + 105
27 GraphicsServices 0x376c5439 GSEventRunModal + 137
28 UIKit 0x306d8cd5 UIApplicationMain + 1081
29 Coverdale 0x0007d103 main (main.m:17)
30 Coverdale 0x0007d0a8 start + 40
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x3291b32c __pthread_kill + 8
1 libsystem_c.dylib 0x34c90208 pthread_kill + 48
2 libsystem_c.dylib 0x34c89298 abort + 88
3 libc++abi.dylib 0x3229ef64 abort_message + 40
4 libc++abi.dylib 0x3229c346 _ZL17default_terminatev + 18
5 libobjc.A.dylib 0x315eb350 _objc_terminate + 140
6 libc++abi.dylib 0x3229c3be _ZL19safe_handler_callerPFvvE + 70
7 libc++abi.dylib 0x3229c44a std::terminate() + 14
8 libc++abi.dylib 0x3229d81e __cxa_rethrow + 82
9 libobjc.A.dylib 0x315eb2a2 objc_exception_rethrow + 6
10 CoreFoundation 0x374cc506 CFRunLoopRunSpecific + 398
11 CoreFoundation 0x374cc366 CFRunLoopRunInMode + 98
12 GraphicsServices 0x376c5432 GSEventRunModal + 130
13 UIKit 0x306d8cce UIApplicationMain + 1074
14 Coverdale 0x0007d0fc main (main.m:17)
15 Coverdale 0x0007d0a0 start + 32
I deleted the App on the iPad and run it again.
It looks like that an array generated from a text file which i am reading out with componentsSeparatedByString: had less entries than i was accessing.

Resources