Fenix: [Bug] Fenix Crashes while opening

Created on 20 Aug 2019  ·  2Comments  ·  Source: mozilla-mobile/fenix

Steps to reproduce

Launch fenix
the app crashes and force stop it self also go back to home screen
with a window to send crash data to mozilla

Expected behavior

Launch the browser without issues

Actual behavior

Crashes , can't open the browser

Device information

Huawei P8 lite 2017

  • Android device:
    Android 8.0
  • Fenix version:
    Nightly 190820 06.04
🐞 bug

All 2 comments

This happens because of a recent change from #4744

Caused by: java.lang.IllegalStateException: This ViewTreeObserver is not alive, call getViewTreeObserver() again
        at android.view.ViewTreeObserver.checkIsAlive(ViewTreeObserver.java:918)
        at android.view.ViewTreeObserver.removeOnPreDrawListener(ViewTreeObserver.java:645)
        at org.mozilla.fenix.home.TransitionPreDrawListener$onPreDraw$2.invoke(TransitionPreDrawListener.kt:43)
        at org.mozilla.fenix.home.TransitionPreDrawListener$onPreDraw$2.invoke(TransitionPreDrawListener.kt:16)
        at kotlinx.coroutines.InvokeOnCompletion.invoke(JobSupport.kt:1286)

Will work on a fix asap.

Sounds good, new nightly update
fix the issue

Was this page helpful?
0 / 5 - 0 ratings