Skip to content

Instantly share code, notes, and snippets.

Created November 7, 2016 17:35
Show Gist options
  • Save anonymous/5232001f339ff0d2cb5edddd303d993e to your computer and use it in GitHub Desktop.
Save anonymous/5232001f339ff0d2cb5edddd303d993e to your computer and use it in GitHub Desktop.
crash of quickblox viewcontroller
NSInvalidArgumentException', reason: 'NSLayoutConstraint for <QMInputToolbar: 0x7f970a6cb750; baseClass = UIToolbar; frame = (0 524; 320 44); opaque = NO; autoresize = RM+BM; layer = <CALayer: 0x600000023120>>: A multiplier of 0 or a nil second item together with a location for the first attribute creates an illegal constraint of a location equal to a constant. Location attributes must be specified in pairs.'
*** First throw call stack:
(
0 CoreFoundation 0x0000000104cb534b __exceptionPreprocess + 171
1 libobjc.A.dylib 0x000000010467821e objc_exception_throw + 48
2 CoreFoundation 0x0000000104d1e265 +[NSException raise:format:] + 197
3 Foundation 0x000000010437f051 ResolveConstraintArguments + 932
4 Foundation 0x000000010418dee2 +[NSLayoutConstraint constraintWithItem:attribute:relatedBy:toItem:attribute:multiplier:constant:] + 84
5 MusicLovers-Staging 0x000000010065c9ba -[UIView(QM) pinSubview:toEdge:] + 138
6 MusicLovers-Staging 0x000000010065ca43 -[UIView(QM) pinAllEdgesOfSubview:] + 67
7 MusicLovers-Staging 0x000000010065b9f8 -[QMInputToolbar awakeFromNib] + 344
8 UIKit 0x0000000106d237cd -[UINib instantiateWithOwner:options:] + 2478
9 MusicLovers-Staging 0x0000000100687b31 -[QMChatViewController viewDidLoad] + 161
10 MusicLovers-Staging 0x00000001008b18c2 TFC11MusicLovers18ChatViewController11viewDidLoadfT_T + 66
11 MusicLovers-Staging 0x00000001008b1962 TToFC11MusicLovers18ChatViewController11viewDidLoadfT_T + 34
12 UIKit 0x0000000106ab806d -[UIViewController loadViewIfRequired] + 1258
13 UIKit 0x0000000106abe4d6 -[UIViewController __viewWillAppear:] + 118
14 UIKit 0x0000000106ae9393 -[UINavigationController _startCustomTransition:] + 1290
15 UIKit 0x0000000106afa008 -[UINavigationController _startDeferredTransitionIfNeeded:] + 697
16 UIKit 0x0000000106afb19b -[UINavigationController __viewWillLayoutSubviews] + 58
17 UIKit 0x0000000106cf21b7 -[UILayoutContainerView layoutSubviews] + 223
18 UIKit 0x00000001069db344 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 1237
19 QuartzCore 0x0000000106506cdc -[CALayer layoutSublayers] + 146
20 QuartzCore 0x00000001064fa7a0 _ZN2CA5Layer16layout_if_neededEPNS_11TransactionE + 366
21 QuartzCore 0x00000001064fa61e _ZN2CA5Layer28layout_and_display_if_neededEPNS_11TransactionE + 24
22 QuartzCore 0x000000010648862c _ZN2CA7Context18commit_transactionEPNS_11TransactionE + 280
23 QuartzCore 0x00000001064b5713 _ZN2CA11Transaction6commitEv + 475
24 UIKit 0x0000000106941878 _afterCACommitHandler + 346
25 CoreFoundation 0x0000000104c59e17 CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION + 23
26 CoreFoundation 0x0000000104c59d87 __CFRunLoopDoObservers + 391
27 CoreFoundation 0x0000000104c3eb9e __CFRunLoopRun + 1198
28 CoreFoundation 0x0000000104c3e494 CFRunLoopRunSpecific + 420
29 GraphicsServices 0x0000000109c12a6f GSEventRunModal + 161
30 UIKit 0x0000000106916f34 UIApplicationMain + 159
31 MusicLovers-Staging 0x0000000100780a52 main + 114
32 libdyld.dylib 0x0000000108db368d start + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment