Skip to content

8.1.0 - Android - ConcurrentModificationException in FabricUIManager #8050

Open
@manuhook

Description

@manuhook

What happened?

This error happens randomly.
We saw intermittent examples of this exception being thrown when scrolling just after app launch, when the tabs are being initialized, but it can happen after too randomly when scrolling fast large list.

java.util.ConcurrentModificationException at java.util.ArrayList$Itr.next(ArrayList.java:860)
at com.facebook.react.fabric.FabricUlManager$Moun tltemDispatchListener$1.run(SourceFile:48)
at android.os.Handler.handleCallback(Handler.java:888) 
at android.os.Handler.dispatchMessage(Handler.java:100)
at android.os.Looper.loop(Looper.java:213)
at android.app.ActivityThread.main(ActivityThread.jav a:8178)
at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.Runtimelnit$MethodAndAr gsCaller.run(Runtimelnit.java:513)
at com.android.internal.os.Zygotelnit.main(Zygotelnit. java:1101)

There is a fix on react-native for a similar issue but the file patched doesn't seems to be load when using react-native-navigation
facebook/react-native#49783

What was the expected behaviour?

No response

Was it tested on latest react-native-navigation?

  • I have tested this issue on the latest react-native-navigation release and it still reproduces.

Help us reproduce this issue!

No response

In what environment did this happen?

React Native Navigation version: 8.1.0
React Native version: 0.77.2
Has Fabric (React Native's new rendering system) enabled: yes
Node version:
Device model: Release mode only on a lot of devices. I couldn’t reproduce this issue in Debug mode or on Virtual Device.
Android version: 10 - 15

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions