Fenix: [Bug] Fenix nightly crashes on startup - java.lang.NoSuchMethodError: No interface method onLoadRequest

Created on 30 Nov 2019  路  8Comments  路  Source: mozilla-mobile/fenix

Steps to reproduce

Install latest Nightly.
Open it. Try to visit a site.

Expected behavior

Visit site

Actual behavior

Crash

Device information

  • Android device: OnePlus 5t
  • Fenix version: nightly
crash ac 馃悶 bug

All 8 comments

Sentry issue: FENIX-NIGHTLY-194

java.lang.NoSuchMethodError: No interface method onLoadRequest(Ljava/lang/String;ZZLkotlin/jvm/functions/Function2;)V in class Lmozilla/components/concept/engine/EngineSession$Observer; or its super classes (declaration of 'mozilla.components.concept.engine.EngineSession$Observer' appears in /data/app/org.mozilla.fenix.nightly-xJh3XhlKDNk0gQu5KtAC3g==/base.apk)
    at mozilla.components.browser.engine.gecko.GeckoEngineSession$createNavigationDelegate$1$onLoadRequest$1.invoke(GeckoEngineSession.kt:6)
    at mozilla.components.browser.engine.gecko.GeckoEngineSession$createNavigationDelegate$1$onLoadRequest$1.invoke(GeckoEngineSession.kt:1)
    at mozilla.components.support.base.observer.ObserverRegistry.notifyObservers(ObserverRegistry.kt:4)
    at mozilla.components.concept.engine.EngineSession.notifyObservers
    at mozilla.components.browser.engine.gecko.GeckoEngineSession$createNavigationDelegate$1.onLoadRequest(GeckoEngineSession.kt:16)
    at org.mozilla.geckoview.GeckoSession$3.handleMessage(GeckoSession.java:41)
    at org.mozilla.geckoview.GeckoSession$3.handleMessage(GeckoSession.java:1)
    at org.mozilla.geckoview.GeckoSessionHandler.handleMessage(GeckoSessionHandler.java:2)
    at org.mozilla.gecko.EventDispatcher$3.run(EventDispatcher.java:1)
    at android.os.Handler.handleCallback(Handler.java:873)
    at android.os.Handler.dispatchMessage(Handler.java:99)
    at android.os.Looper.loop(Looper.java:193)
    at android.app.ActivityThread.main(ActivityThread.java:6762)
    at java.lang.reflect.Method.invoke(Method.java)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)

Sentry issue: FENIX-NIGHTLY-196

Sentry issue: FENIX-NIGHTLY-192

Looks like the latest A-C snapshots didn't get published correctly. Some maven-metadata.xml files point to older and now incompatible versions, see https://bugzilla.mozilla.org/show_bug.cgi?id=1593278

I will try and publish them again now, but we really need to run (more) smoke tests before publishing Nightly going forward...

With the latest Nightly I have no more crashes.

Nightly 191201 06:00 (Build #13350607)
馃摝: 24.0.0, cf9d95c05
馃: 72.0a1-20191129094247

Damn! That was a fast fix! Works fine on my phone also.

Was this page helpful?
0 / 5 - 0 ratings