Android IndexOutOfBoundsException Crash
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 20/100
- Tipo de issue
- Error
- Claridad
- Necesita aclaración
- Estado de actividad
- Estancado
- Stack tecnológico
- android, react-native
- Área
- mobile-dev
Línea de trabajo
El informe no menciona ningún archivo del repositorio, prueba ni demostración reproducible. Empieza investigando la ruta de navegación de Android para React Native Navigation 7.28.0 con React Native 0.68.2, utilizando la traza de la pila de ViewTreeObserver como síntoma inicial; se considera terminado cuando se reproduce el bloqueo o se añade una prueba de regresión y se confirma que la navegación ya no se bloquea.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
🐛 Bug Report
After updating to v7.28.0 and React Native 0.68.2 we started seeing Android java.lang.IndexOutOfBoundsException: crashes in prod.
Have you read the Contributing Guidelines on issues?
Yes
To Reproduce
I am not entirely sure how to reproduce it, but looking at the breadcrumb we have, it crashes as soon as a users navigates to new a screen. It's random on what screen it is, and is not always the same screen.
Expected behavior
The app doesn't crash
Actual Behavior
java.lang.IndexOutOfBoundsException: Index: 7, Size: 7
at java.util.ArrayList.get(ArrayList.java:437)
at android.view.ViewTreeObserver$CopyOnWriteArray$Access.get(ViewTreeObserver.java:1291)
at android.view.ViewTreeObserver.dispatchOnGlobalLayout(ViewTreeObserver.java:1080)
at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:4093)
at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:2919)
at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:10491)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1108)
at android.view.Choreographer.doCallbacks(Choreographer.java:866)
at android.view.Choreographer.doFrame(Choreographer.java:797)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1092)
at android.os.Handler.handleCallback(Handler.java:938)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:226)
at android.os.Looper.loop(Looper.java:313)
at android.app.ActivityThread.main(ActivityThread.java:8669)
at java.lang.reflect.Method.invoke(Method.java:-2)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:571)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1135)
The index and size change between crash to crash, but are always equal to each other.
7, 10, 13, 18, 19, 21, 59...
Your Environment
- React Native Navigation version: 7.28.0
- React Native version: 0.68.2
- Platform(s) (iOS, Android, or both?): Android, OS 8 - 13
- Device info (Simulator/Device? OS version? Debug/Release?): Production release, all sorts of pyshical devices
Reproducible Demo
N/A
Are you willing to resolve this issue by submitting a Pull Request?
- ✖️ Yes, I have the time, and I know how to start.
- ✅ Yes, I have the time, but I don't know how to start. I would need guidance.
- ✖️ No, I don’t have the time and I’m okay to wait for the community / maintainers to resolve this issue.
- Lenguaje dominante
- MDX
- Estrellas
- 13.2k
- Forks
- 2.6k
- Merge medio
- 2 d 10 h
- PR fusionados (30 d)
- 6
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de wix/react-native-navigation
-
needs triage triage: documentation
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
wix/react-native-navigation#8343 · 1 comentario ·
-
[Fix] searchBar `focus:` true ignored on mergeOptions when searchController already existsPosiblemente ocupada @IsaacIsrael la tomó hace 158 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
wix/react-native-navigation#8318 ·
-
Build Failed with RN 0.87Abiertoneeds triage type: accepted/bug
Dificultad 4/5 3-5 días Aptitud para principiantes 25/100
wix/react-native-navigation#8365 · 2 comentarios ·
-
`showOverlay` creates a scene-less `UIWindow`, so overlays never appear under UIScene lifecyclePosiblemente ocupada @yedidyak la tomó hace 4 días. Abiertoplatform: iOS type: accepted/bug
Dificultad 3/5 1-2 días Aptitud para principiantes 68/100
wix/react-native-navigation#8345 · 2 comentarios · 2 reacciones ·
-
platform: iOS type: accepted/bug
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
wix/react-native-navigation#8340 ·
Todos los issues de wix/react-native-navigation
Issues similares
-
Keyboard crashes Chrome tabsAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 73/100
Julow/Unexpected-Keyboard#1490 ·
Los mantenedores suelen responder en 4 días
-
unconfirmed
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
thunderbird/thunderbird-android#11893 · 1 comentario ·
Los mantenedores suelen responder en 2 días
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
linkwarden/linkwarden#1891 ·
Los mantenedores suelen responder en 1 día
-
Type: Possible bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
AntennaPod/AntennaPod#8887 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
work/tech-debt
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
bcgov/bc-wallet-mobile#5035 ·
Los mantenedores suelen responder en 2 días