Open dekim1028 opened 1 month ago
@cortinico Is there any confirmation on this issue?
@cortinico Is there any confirmation on this issue?
Nope not yet.
@cortinico Do you have any suspicions about the cause of this phenomenon? I'm curious why this error occurs.
@cortinico Do you have any suspicions about the cause of this phenomenon? I'm curious why this error occurs.
Hey @dekim1028
I briefly looked into this. What you're seeing is not an error but a warning (ReactNoCrashSoftException
).
We make those warnings for debugging purposes.
I have a couple of follow-ups for you:
Hey @cortinico I have the same problem on my app when integrating a native view. I don't have the new architecture enabled and the error appears as soon as I click the native view. Many of those warnings are printed:
Unhandled SoftException com.facebook.react.bridge.ReactNoCrashSoftException: Cannot find EventEmitter for receivedTouches: ReactTag[2131230898] UIManagerType[2] EventName[topTouchMove]
at com.facebook.react.uimanager.events.ReactEventEmitter.receiveTouches(ReactEventEmitter.java:102)
at com.facebook.react.uimanager.events.TouchEvent.dispatchModern(TouchEvent.kt:124)
at com.facebook.react.uimanager.events.EventDispatcherImpl$DispatchEventsRunnable.run(EventDispatcherImpl.java:376)
at android.os.Handler.handleCallback(Handler.java:938)
at android.os.Handler.dispatchMessage(Handler.java:99)
at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:27)
at android.os.Looper.loopOnce(Looper.java:226)
at android.os.Looper.loop(Looper.java:313)
at com.facebook.react.bridge.queue.MessageQueueThreadImpl$4.run(MessageQueueThreadImpl.java:235)
at java.lang.Thread.run(Thread.java:920)
Isn't UIManagerType[2] related to fabric? Why is that used even when I don't have it enabled? Maybe the problem is with my native view, but I don't really get the reason for this warning.
Are these warnings displayed only in Debug?
Thanks for your help. Let me know how can I help you to understand more about this.
Are these warnings displayed only in Debug?
Yes those are debug only messages
Description
We are creating an Android Native UI Component consisting of ViewPager2 and RecyclerView. When a touch occurs in RecyclerView, the following error occurs.
Steps to reproduce
React Native Version
0.75.3
Affected Platforms
Runtime - Android
Output of
npx react-native info
Stacktrace or Logs
Reproducer
https://github.com/dekim1028/error
Screenshots and Videos
https://github.com/user-attachments/assets/86d636c7-4ecc-4666-a49e-208b88e701af