question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

UninitializedPropertyAccessException: lateinit property browserToolbar has not been initialized

See original GitHub issue

https://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:closed
  • Created 3 years ago
  • Comments:14 (11 by maintainers)

github_iconTop GitHub Comments

2reactions
AndiAJcommented, Sep 18, 2020

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)

2reactions
liuchecommented, Sep 16, 2020

Thank you for picking this up!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found