UninitializedPropertyAccessException: lateinit property browserToolbar has not been initialized
See original GitHub issuehttps://sentry.prod.mozaws.net/share/issue/30c5c45e3fd642d4920cbda02c0ca1d4/
AC issue from a little while ago: https://github.com/mozilla-mobile/android-components/issues/8305
UninitializedPropertyAccessException: lateinit property browserToolbar has not been initialized
at kotlin.jvm.internal.ArrayIteratorKt.throwUninitializedPropertyAccessException(ArrayIterator.kt:2)
at mozilla.components.browser.toolbar.behavior.BrowserToolbarBottomBehavior.tryToScrollVertically$browser_toolbar_release(BrowserToolbarBottomBehavior.kt:7)
at mozilla.components.browser.toolbar.behavior.BrowserToolbarBottomBehavior$createGestureDetector$1.invoke(BrowserToolbarBottomBehavior.kt:3)
at mozilla.components.browser.toolbar.behavior.BrowserGestureDetector$gestureDetector$1.invoke(BrowserGestureDetector.kt:5)
at mozilla.components.browser.toolbar.behavior.BrowserGestureDetector$CustomScrollDetectorListener.onScroll(BrowserGestureDetector.kt:1)
...
(64 additional frame(s) were not displayed)
lateinit property browserToolbar has not been initialized
┆Issue is synchronized with this Jira Task
Issue Analytics
- State:
- Created 3 years ago
- Comments:14 (11 by maintainers)
Top Results From Across the Web
UninitializedPropertyAccessExce...
UninitializedPropertyAccessException : lateinit property has not been initialized · you are accessing variable(repository) which must exist, but ...
Read more >Lateinit property browserToolbar has not been initialized #8305
It should have been initialized in a CoordinatorLayout call. Interestingly this only happens on Android 8 devices and is not a perma crash...
Read more >A practical explanation for initialization modifiers in Kotlin
UninitializedPropertyAccessException : lateinit property myVar has not been initialized. Ah! And some more details at the top: lateinit does not work with ...
Read more >UninitializedPropertyAccessExce...
UninitializedPropertyAccessException : lateinit property simplestText has not been initialized at android.app.ActivityThread.performLaunchActivity(
Read more >lateinit Property in Kotlin - Suneet Agrawal
There can be two ways to declare and initialize a var property. The first property type is initialized while declaration itself and doesn't...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hi, verified as fixed on the latest
Nightly Build 200918
using the following devices: • Google Pixel 3a (Android 10) • Huawei Mate 20 Lite (Android 10) • OnePlus A3 (Android 6.0.1)Thank you for picking this up!