Closed praveenreddy9 closed 1 month ago
@praveenreddy9 It looks like you need to rebuild the iOS app
What worked for me:
For me it happens on Android...
other solution?
npx pod-install
yarn start --reset-cache
clean project in Xcode
Im my case the error only happens in production, through the Play Console (Android)
Exception Process: com.domain.clubedomago, PID: 20191 com.facebook.react.common.JavascriptException: TypeError: Cannot read property 'handleSetJSResponder' of null, js engine: hermes, stack: anonymous@1:1286536 onChange@1:340694 changeResponder@1:284662 extractEvents@1:339138 anonymous@1:287602 batchedUpdatesImpl@1:345583 batchedUpdates@1:287252 _receiveRootNodeIDEvent@1:287525 receiveTouches@1:340511 callFunction@1:80278 anonymous@1:78789 guard@1:79726 callFunctionReturnFlushedQueue@1:78747 at com.facebook.react.modules.core.ExceptionsManagerModule.reportException (ExceptionsManagerModule.java:72) at java.lang.reflect.Method.invoke at com.facebook.react.bridge.JavaMethodWrapper.invoke (JavaMethodWrapper.java:372) at com.facebook.react.bridge.JavaModuleWrapper.invoke (JavaModuleWrapper.java:188) at com.facebook.jni.NativeRunnable.run at android.os.Handler.handleCallback (Handler.java:942) 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:201) at android.os.Looper.loop (Looper.java:288) at com.facebook.react.bridge.queue.MessageQueueThreadImpl$4.run (MessageQueueThreadImpl.java:228) at java.lang.Thread.run (Thread.java:1012)
:warning: | Missing Reproducible Example |
---|---|
:information_source: | We could not detect a reproducible example in your issue report. Please provide either:
|
Im my case the error only happens in production, through the Play Console (Android)
Exception Process: com.domain.clubedomago, PID: 20191 com.facebook.react.common.JavascriptException: TypeError: Cannot read property 'handleSetJSResponder' of null, js engine: hermes, stack: anonymous@1:1286536 onChange@1:340694 changeResponder@1:284662 extractEvents@1:339138 anonymous@1:287602 batchedUpdatesImpl@1:345583 batchedUpdates@1:287252 _receiveRootNodeIDEvent@1:287525 receiveTouches@1:340511 callFunction@1:80278 anonymous@1:78789 guard@1:79726 callFunctionReturnFlushedQueue@1:78747 at com.facebook.react.modules.core.ExceptionsManagerModule.reportException (ExceptionsManagerModule.java:72) at java.lang.reflect.Method.invoke at com.facebook.react.bridge.JavaMethodWrapper.invoke (JavaMethodWrapper.java:372) at com.facebook.react.bridge.JavaModuleWrapper.invoke (JavaModuleWrapper.java:188) at com.facebook.jni.NativeRunnable.run at android.os.Handler.handleCallback (Handler.java:942) 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:201) at android.os.Looper.loop (Looper.java:288) at com.facebook.react.bridge.queue.MessageQueueThreadImpl$4.run (MessageQueueThreadImpl.java:228) at java.lang.Thread.run (Thread.java:1012)
HI did you finally found the solution for this bug?
same for me on ios
solution make sure install "react-native-gesture-handler": "~2.12.0",
after install you need to wrap your root componet which is App.js
`// import "react-native-gesture-handler";
import { GestureHandlerRootView } from "react-native-gesture-handler";
LogBox.ignoreAllLogs();
//-------------------------------------//
export default function App() {
return (
<GestureHandlerRootView style={{ flex: 1 }}>
<NavigationContainer>
<SafeAreaView style={Styles.container}>
<HomeNavigation />
</NavigationContainer>
</GestureHandlerRootView>
);
}
`
for more information visit react-native-gesture-handle doc
Im my case the error only happens in production, through the Play Console (Android)
Exception Process: com.domain.clubedomago, PID: 20191 com.facebook.react.common.JavascriptException: TypeError: Cannot read property 'handleSetJSResponder' of null, js engine: hermes, stack: anonymous@1:1286536 onChange@1:340694 changeResponder@1:284662 extractEvents@1:339138 anonymous@1:287602 batchedUpdatesImpl@1:345583 batchedUpdates@1:287252 _receiveRootNodeIDEvent@1:287525 receiveTouches@1:340511 callFunction@1:80278 anonymous@1:78789 guard@1:79726 callFunctionReturnFlushedQueue@1:78747 at com.facebook.react.modules.core.ExceptionsManagerModule.reportException (ExceptionsManagerModule.java:72) at java.lang.reflect.Method.invoke at com.facebook.react.bridge.JavaMethodWrapper.invoke (JavaMethodWrapper.java:372) at com.facebook.react.bridge.JavaModuleWrapper.invoke (JavaModuleWrapper.java:188) at com.facebook.jni.NativeRunnable.run at android.os.Handler.handleCallback (Handler.java:942) 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:201) at android.os.Looper.loop (Looper.java:288) at com.facebook.react.bridge.queue.MessageQueueThreadImpl$4.run (MessageQueueThreadImpl.java:228) at java.lang.Thread.run (Thread.java:1012)
Did you fix it? Exact same bug for me
This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 7 days.
This issue was closed because it has been stalled for 7 days with no activity.
Description
Hello, I have updgraded my React Native version to 0.70.3 from 0.64.2 and accordingly upgraded the packages.
When running the debugging(react-native run-ios) for IOS, the above error is occurring on react-native-gesture-handler. If you have any method to fix this or any advice please share with me.
Added all the details(code,screenshots,errors) to check in-detailed,Thanks in advance.
Please help me in reolving the issue by sharing the sample code or steps for resolving.
**ERROR [react-native-gesture-handler] react-native-gesture-handler module was not found. Make sure you're running your app on the native platform and your code is linked properly (cd ios && pod install && cd ..).
For installation instructions, please refer to https://docs.swmansion.com/react-native-gesture-handler/docs/#installation**
Below are the list of packages used in the project,
Version
0.70.3
Output of
npx react-native info
Steps to reproduce
For react native v0.70.3 project setup, after installing the "react-native-gesture-handler": "^2.7.1" getting the error at onPress
Snack, code example, screenshot, or link to a repository