Skip to content
This repository has been archived by the owner on Feb 20, 2023. It is now read-only.

[Bug] java.lang.IndexOutOfBoundsException: at java.util.ArrayList.get(ArrayList.java) #11906

Closed
kbrosnan opened this issue Jun 24, 2020 · 14 comments
Labels
b:crash Crashes Fenix: should link to Sentry, Crash-Stats or GPlay info 🐞 bug Crashes, Something isn't working, .. eng:qa:verified QA Verified Feature:SearchProvider

Comments

@kbrosnan
Copy link
Contributor

kbrosnan commented Jun 24, 2020

This looks to be the top crash in the 20200622093309 Nightly.

Stacktrace

java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
	at java.util.ArrayList.get(ArrayList.java:437)
	at mozilla.components.browser.search.SearchEngineManager.getProvidedDefaultSearchEngineAsync(SearchEngineManager.kt:7)
	at mozilla.components.browser.search.SearchEngineManager.getDefaultSearchEngineAsync(SearchEngineManager.kt:7)
	at mozilla.components.browser.search.SearchEngineManager$getDefaultSearchEngineAsync$1.invokeSuspend(Unknown Source:12)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:3)
	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:21)
	at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:1)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:11)
  • Android device: ?
  • Fenix version: 20200622093309 0.0a1 Nightly

┆Issue is synchronized with this Jira Task

@kbrosnan kbrosnan added 🐞 bug Crashes, Something isn't working, .. b:crash Crashes Fenix: should link to Sentry, Crash-Stats or GPlay info Feature:SearchProvider labels Jun 24, 2020
@github-actions github-actions bot added the needs:triage Issue needs triage label Jun 24, 2020
@kbrosnan
Copy link
Contributor Author

@liuche
Copy link
Contributor

liuche commented Jun 25, 2020

This could be related to #9935 changes

@liuche
Copy link
Contributor

liuche commented Jun 25, 2020

@liuche
Copy link
Contributor

liuche commented Jul 1, 2020

We think this will also be fixed by #12081

@lindongbin
Copy link

https://crash-stats.mozilla.org/report/index/8cd6f146-2dc6-4f2c-a477-5b2140200703

null (Build #2015749827)
AC: 48.0.3, ce6247fb8
GV: 79.0-20200629163142
AS: 61.0.7
Friday 7/3 @ 8:43 AM

@pocmo
Copy link
Contributor

pocmo commented Jul 3, 2020

Looks like this made the top crasher list.

The last minute search changes really had a ripple effect and caused some issues. :( I hope we can try to get rid of the band-aid eventually.

@st3fan
Copy link
Contributor

st3fan commented Jul 7, 2020

I put the 79 Release Blocker label on this because this is a very high frequency startup crash.

Looping in @Mugurell as this may be related to #11875

@st3fan
Copy link
Contributor

st3fan commented Jul 7, 2020

Quick note: this crash is trending down in Sentry, but I think that is a false sign. I think a LOT of people hit this either at first run or a few times at startup, and then the situation resolved itself. That however does not change the fact that this is a high frequency startup crash. I've seen a number of reports on Reddit where people say they can't start the app, and this is probably one the reasons.

@Mugurell
Copy link
Contributor

Mugurell commented Jul 7, 2020

Indeed, I'm thinking that fixing #11875 (which is another effect for probably the same underlying issue) would also get to resolve this and a bunch recent others related to search engines.

@liuche
Copy link
Contributor

liuche commented Jul 13, 2020

Since we think the fix for #11875 may also fix this one, let's see if we can make sure this isn't still a problem.

@liuche liuche added the eng:qa:needed QA Needed label Jul 13, 2020
@liuche liuche removed the needs:triage Issue needs triage label Jul 13, 2020
@sv-ohorvath
Copy link
Contributor

While testing the fix for #11875 I didn't encounter any crashes on 79.0-beta6. @liuche Should I close this or do you want to continue monitoring the crash rates?

@sv-ohorvath sv-ohorvath added eng:qa:verified QA Verified and removed eng:qa:needed QA Needed labels Jul 14, 2020
@liuche
Copy link
Contributor

liuche commented Jul 17, 2020

We released beta.8 and beta.9 today and I haven't seen any issues in Sentry, so let's close this now. Can reopen if it shows up again, but the last crashes I've seen have been from beta.3.

@liuche liuche closed this as completed Jul 17, 2020
@data-sync-user data-sync-user changed the title [Bug] java.lang.IndexOutOfBoundsException: at java.util.ArrayList.get(ArrayList.java) FNX3-14998 ⁃ [Bug] java.lang.IndexOutOfBoundsException: at java.util.ArrayList.get(ArrayList.java) Aug 11, 2020
@data-sync-user data-sync-user changed the title FNX3-14998 ⁃ [Bug] java.lang.IndexOutOfBoundsException: at java.util.ArrayList.get(ArrayList.java) FNX-12906 ⁃ [Bug] java.lang.IndexOutOfBoundsException: at java.util.ArrayList.get(ArrayList.java) Aug 11, 2020
@data-sync-user data-sync-user changed the title FNX-12906 ⁃ [Bug] java.lang.IndexOutOfBoundsException: at java.util.ArrayList.get(ArrayList.java) FNX2-13669 ⁃ [Bug] java.lang.IndexOutOfBoundsException: at java.util.ArrayList.get(ArrayList.java) Aug 11, 2020
@Mugurell
Copy link
Contributor

Closing based on #11906 (comment)

@data-sync-user data-sync-user changed the title FNX2-13669 ⁃ [Bug] java.lang.IndexOutOfBoundsException: at java.util.ArrayList.get(ArrayList.java) [Bug] java.lang.IndexOutOfBoundsException: at java.util.ArrayList.get(ArrayList.java) May 19, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
b:crash Crashes Fenix: should link to Sentry, Crash-Stats or GPlay info 🐞 bug Crashes, Something isn't working, .. eng:qa:verified QA Verified Feature:SearchProvider
Projects
None yet
Development

No branches or pull requests

8 participants