-
Notifications
You must be signed in to change notification settings - Fork 1.3k
"no such layer" exception after style update #6341
Comments
Could you post a fully symbolicated stack trace, please? |
Just a wild guess, based on the error message: are you sure the |
@friedbunny thanks for replay. This is Crashlytics report:
|
@1ec5 I just double checked, |
That was fun to read on my phone. 😀 (Please use Gist next time.) The stack trace still says "hidden" all over it, which means it isn't symbolicated. |
The only place that the "no such layer" exception thrown is in |
Platform:
iOS
Mapbox SDK version:
ios-v3.3.4 (c64a0c2486)
Steps to trigger behavior
We released our app 7 days ago. After we updated updated our map style(2 days ago) we started to receive crashes (from Crashlytics) with error "Fatal Exception: std::runtime_error: no such layer".
we are calling
insertCustomStyleLayerWithIdentifier
onmapViewDidFinishLoadingMap
delegate callback. We are removing layer withremoveCustomStyleLayerWithIdentifier
onwillMoveToWindow
callback if window is nil.Some stack trace:
Expected behavior
App does not crash.
Actual behavior
App crashes.
The text was updated successfully, but these errors were encountered: