Skip to content

Instantly share code, notes, and snippets.

@Mohit-Kheterpal
Created June 25, 2015 07:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Mohit-Kheterpal/2eb6d4b7e59aad0f8651 to your computer and use it in GitHub Desktop.
Save Mohit-Kheterpal/2eb6d4b7e59aad0f8651 to your computer and use it in GitHub Desktop.
Foundation.MonoTouchException: 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 0x008a7214 __exceptionPreprocess + 180
1 libobjc.A.dylib 0x07b90e23 objc_exception_throw + 50
2 CoreFoundation 0x008a70aa +[NSException raise:format:arguments:] + 138
3 Foundation 0x00ee4c0c -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 118
4 UIKit 0x031d78c5 -[UIApplication _runWithMainScene:transitionContext:completion:] + 3674
5 UIKit 0x031f98c2 __84-[UIApplication _handleApplicationActivationWithScene:transitionContext:completion:]_block_invoke3054 + 68
6 UIKit 0x031d4555 -[UIApplication workspaceDidEndTransaction:] + 163
7 FrontBoardServices 0x0a5202ec FrontBoardServices + 70380
8 FrontBoardServices 0x0a51fdc3 FrontBoardServices + 69059
9 FrontBoardServices 0x0a53c781 FrontBoardServices + 186241
10 FrontBoardServices 0x0a53cba0 FrontBoardServices + 187296
11 FrontBoardServices 0x0a53beb4 FrontBoardServices + 183988
12 CoreFoundation 0x007c0e5f __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 15
13 CoreFoundation 0x007b69ab __CFRunLoopDoSources0 + 523
14 CoreFoundation 0x007b5dc8 __CFRunLoopRun + 1032
15 CoreFoundation 0x007b5706 CFRunLoopRunSpecific + 470
16 CoreFoundation 0x007b551b CFRunLoopRunInMode + 123
17 UIKit 0x031d3e3e -[UIApplication _run] + 540
18 UIKit 0x031d9038 UIApplicationMain + 160
19 ??? 0x17a8cb98 0x0 + 396938136
20 ??? 0x17a8c990 0x0 + 396937616
21 ??? 0x17a89060 0x0 + 396922976
22 ??? 0x17a88d9c 0x0 + 396922268
23 ??? 0x17a88f28 0x0 + 396922664
24 demosimple 0x0015b255 mono_jit_runtime_invoke + 725
25 demosimple 0x0021cc7f mono_runtime_invoke + 127
26 demosimple 0x00221b51 mono_runtime_exec_main + 401
27 demosimple 0x0022190b mono_runtime_run_main + 651
28 demosimple 0x000db3fd mono_jit_exec + 93
29 demosimple 0x002f5ed1 xamarin_main + 2497
30 demosimple 0x002f6952 main + 114
31 libdyld.dylib 0x0806ca21 libdyld.dylib + 10785
at ObjCRuntime.Runtime.ThrowNSException (IntPtr ns_exception) [0x00000] in /Users/builder/data/lanes/1898/55981a4b/source/maccore/src/ObjCRuntime/Runtime.cs:233
at ObjCRuntime.Runtime.throw_ns_exception (IntPtr exc) [0x00000] in /Users/builder/data/lanes/1898/55981a4b/source/maccore/runtime/Delegates.generated.cs:100
at at (wrapper native-to-managed) ObjCRuntime.Runtime:throw_ns_exception (intptr)
at at (wrapper managed-to-native) UIKit.UIApplication:UIApplicationMain (int,string[],intptr,intptr)
at UIKit.UIApplication.Main (System.String[] args, IntPtr principal, IntPtr delegate) [0x00005] in /Users/builder/data/lanes/1898/55981a4b/source/maccore/src/UIKit/UIApplication.cs:74
at UIKit.UIApplication.Main (System.String[] args, System.String principalClassName, System.String delegateClassName) [0x00038] in /Users/builder/data/lanes/1898/55981a4b/source/maccore/src/UIKit/UIApplication.cs:58
at demosimple.Application.Main (System.String[] args) [0x00008] in /Users/xamarin77/Downloads/demosimple/Main.cs:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment