react-native-navigation icon indicating copy to clipboard operation
react-native-navigation copied to clipboard

8.1.0 - Android - ConcurrentModificationException in FabricUIManager

Open manuhook opened this issue 6 months ago • 0 comments

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 https://github.com/facebook/react-native/issues/49783

What was the expected behaviour?

No response

Was it tested on latest react-native-navigation?

  • [x] 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

manuhook avatar Jun 17 '25 20:06 manuhook