Skip to content

Instantly share code, notes, and snippets.

@wethu
Created February 1, 2015 04:03
Show Gist options
  • Select an option

  • Save wethu/fdd6e29017da51290f49 to your computer and use it in GitHub Desktop.

Select an option

Save wethu/fdd6e29017da51290f49 to your computer and use it in GitHub Desktop.
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: '-[UIViewController _loadViewFromNibNamed:bundle:] loaded the "CPClientForm" nib but the view outlet was not set.'
*** First throw call stack:
(
0 CoreFoundation 0x0194c946 __exceptionPreprocess + 182
1 libobjc.A.dylib 0x015d5a97 objc_exception_throw + 44
2 CoreFoundation 0x0194c86d +[NSException raise:format:] + 141
3 UIKit 0x01e56708 -[UIViewController _loadViewFromNibNamed:bundle:] + 498
4 UIKit 0x01e56dbb -[UIViewController loadView] + 295
5 UIKit 0x01e56fef -[UIViewController loadViewIfRequired] + 78
6 UIKit 0x01e57595 -[UIViewController view] + 35
7 comprintapp 0x00047edb -[CPViewController displayForm:] + 2155
8 comprintapp 0x000320a0 -[CPMenuVC tableView:didSelectRowAtIndexPath:] + 1120
9 UIKit 0x01e0f94c -[UITableView _selectRowAtIndexPath:animated:scrollPosition:notifyDelegate:] + 1559
10 UIKit 0x01e0faf7 -[UITableView _userSelectRowAtPendingSelectionIndexPath:] + 285
11 UIKit 0x01e14df3 __38-[UITableView touchesEnded:withEvent:]_block_invoke + 43
12 UIKit 0x01d290ce ___afterCACommitHandler_block_invoke + 15
13 UIKit 0x01d29079 _applyBlockToCFArrayCopiedToStack + 415
14 UIKit 0x01d28e8e _afterCACommitHandler + 545
15 CoreFoundation 0x0186f9de __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 30
16 CoreFoundation 0x0186f920 __CFRunLoopDoObservers + 400
17 CoreFoundation 0x0186535a __CFRunLoopRun + 1226
18 CoreFoundation 0x01864bcb CFRunLoopRunSpecific + 443
19 CoreFoundation 0x018649fb CFRunLoopRunInMode + 123
20 GraphicsServices 0x04ced24f GSEventRunModal + 192
21 GraphicsServices 0x04ced08c GSEventRun + 104
22 UIKit 0x01cff8b6 UIApplicationMain + 1526
23 comprintapp 0x000511dd main + 141
24 libdyld.dylib 0x03687ac9 start + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb)
*** Terminating app due to uncaught exception 'UIViewControllerHierarchyInconsistency', reason: 'A view can only be associated with at most one view controller at a time! View <UIView: 0x7b761890; frame = (0 0; 1024 768); autoresize = W+H; layer = <CALayer: 0x7b7e0750>> is associated with <CPClientFormController: 0x7b761ad0>. Clear this association before associating this view with <CPClientFormController: 0x7b7f6560>.'
*** First throw call stack:
(
0 CoreFoundation 0x0193d946 __exceptionPreprocess + 182
1 libobjc.A.dylib 0x015c6a97 objc_exception_throw + 44
2 CoreFoundation 0x0193d86d +[NSException raise:format:] + 141
3 UIKit 0x01d78612 -[UIView(Internal) _setViewDelegate:] + 265
4 UIKit 0x01e4ef16 +[UIViewController setViewController:forView:] + 40
5 UIKit 0x01e48a0e -[UIViewController setView:] + 546
6 Foundation 0x011aa138 _NSSetUsingKeyValueSetter + 115
7 Foundation 0x011aa0bd -[NSObject(NSKeyValueCoding) setValue:forKey:] + 267
8 Foundation 0x011df9a6 -[NSObject(NSKeyValueCoding) setValue:forKeyPath:] + 386
9 UIKit 0x02026649 -[UIRuntimeOutletConnection connect] + 106
10 libobjc.A.dylib 0x015dc724 -[NSObject performSelector:] + 62
11 CoreFoundation 0x018775dc -[NSArray makeObjectsPerformSelector:] + 316
12 UIKit 0x0202510a -[UINib instantiateWithOwner:options:] + 1775
13 UIKit 0x01e47624 -[UIViewController _loadViewFromNibNamed:bundle:] + 270
14 UIKit 0x01e47dbb -[UIViewController loadView] + 295
15 UIKit 0x01e47fef -[UIViewController loadViewIfRequired] + 78
16 UIKit 0x01e48595 -[UIViewController view] + 35
17 comprintapp 0x00038edb -[CPViewController displayForm:] + 2155
18 comprintapp 0x000230a0 -[CPMenuVC tableView:didSelectRowAtIndexPath:] + 1120
19 UIKit 0x01e0094c -[UITableView _selectRowAtIndexPath:animated:scrollPosition:notifyDelegate:] + 1559
20 UIKit 0x01e00af7 -[UITableView _userSelectRowAtPendingSelectionIndexPath:] + 285
21 UIKit 0x01e05df3 __38-[UITableView touchesEnded:withEvent:]_block_invoke + 43
22 UIKit 0x01d1a0ce ___afterCACommitHandler_block_invoke + 15
23 UIKit 0x01d1a079 _applyBlockToCFArrayCopiedToStack + 415
24 UIKit 0x01d19e8e _afterCACommitHandler + 545
25 CoreFoundation 0x018609de __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 30
26 CoreFoundation 0x01860920 __CFRunLoopDoObservers + 400
27 CoreFoundation 0x0185635a __CFRunLoopRun + 1226
28 CoreFoundation 0x01855bcb CFRunLoopRunSpecific + 443
29 CoreFoundation 0x018559fb CFRunLoopRunInMode + 123
30 GraphicsServices 0x04cde24f GSEventRunModal + 192
31 GraphicsServices 0x04cde08c GSEventRun + 104
32 UIKit 0x01cf08b6 UIApplicationMain + 1526
33 comprintapp 0x000421dd main + 141
34 libdyld.dylib 0x03678ac9 start + 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment