Open Bug 1796224 Opened 3 years ago Updated 3 years ago

IndexOutOfBoundsException from AutoSave.periodicallyInForeground

Categories

(Firefox for Android :: Tabs, defect, P3)

All
Android
defect

Tracking

()

People

(Reporter: gl, Unassigned)

Details

(Keywords: crash)

From github: https://github.com/mozilla-mobile/android-components/issues/6676.

https://sentry.prod.mozaws.net/operations/firefox-beta/issues/7883376

Related to https://github.com/mozilla-mobile/android-components/issues/6667 - that one came from a different device though.

java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
    at java.util.ArrayList.get(ArrayList.java:437)
    at androidx.lifecycle.LifecycleRegistry.calculateTargetState(LifecycleRegistry.java:5)
    at androidx.lifecycle.LifecycleRegistry.addObserver(LifecycleRegistry.java:6)
    at mozilla.components.browser.session.storage.AutoSave.periodicallyInForeground(AutoSave.kt:2)
    at org.mozilla.fenix.components.Core$sessionManager$2$$special$$inlined$also$lambda$1.invokeSuspend(Core.kt:23)
    at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:2)
    at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:19)
    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:6898)
    at java.lang.reflect.Method.invoke(Method.java)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:537)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)

┆Issue is synchronized with this Jira Task

Change performed by the Move to Bugzilla add-on.

The severity field is not set for this bug.
:cpeterson, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(cpeterson)
Severity: -- → S3
Keywords: crash
Priority: -- → P3
Flags: needinfo?(cpeterson)
You need to log in before you can comment on or make changes to this bug.