Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash: Fatal Exception: NSGenericException #367

Closed
ravindrashetty opened this issue Dec 16, 2019 · 1 comment
Closed

Crash: Fatal Exception: NSGenericException #367

ravindrashetty opened this issue Dec 16, 2019 · 1 comment

Comments

@ravindrashetty
Copy link

Seeing this crash on recent releases. Details Below.

Crash Description:

Unable to activate constraint with anchors <NSLayoutYAxisAnchor:0x1049d7540 "SwiftMessages.MaskingView:0x10cd1ffe0.bottom"> and <NSLayoutYAxisAnchor:0x1049d2bf0 "UITabBar:0x10a4e3a00.top"> because they have no common ancestor. Does the constraint or its anchors reference items in different view hierarchies? That's illegal.

Stack trace:

Fatal Exception: NSGenericException
0 CoreFoundation 0x18283ad8c __exceptionPreprocess
1 libobjc.A.dylib 0x1819f45ec objc_exception_throw
2 CoreFoundation 0x18283ac6c -[NSException initWithCoder:]
3 Foundation 0x183186c5c -[NSLayoutConstraint _setActive:mutuallyExclusiveConstraints:]
4 SwiftMessages 0x103963b04 installMaskingView #1 (containerView:) in Presenter.install() (Presenter.swift:351)
5 SwiftMessages 0x1039632ac Presenter.install() (Presenter.swift:417)
6 SwiftMessages 0x103960dd4 Presenter.show(completion:) (Presenter.swift:116)
7 SwiftMessages 0x10396a720 closure #1 in SwiftMessages.dequeueNext() (SwiftMessages.swift:560)
8 SwiftMessages 0x10395c38c thunk for @escaping @callee_guaranteed () -> () ()

@wtmoose
Copy link
Member

wtmoose commented Dec 16, 2019

This is a duplicate of #348.

So far nobody has provided reproduction steps, so I there's not much I can do. If you can help me reproduce, I'll take a look.

@wtmoose wtmoose closed this as completed Dec 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants