react-native
react-native copied to clipboard
ExceptionsManagerModule.java line 83 com.facebook.react.modules.core.ExceptionsManagerModule.reportException
Description
Hi,
In Android the app randomly crashing with the following error being caught by firebase Crashlytics
ExceptionsManagerModule.java line 83 com.facebook.react.modules.core.ExceptionsManagerModule.reportException
Fatal Exception: com.facebook.react.common.JavascriptException
TypeError: undefined is not an object (evaluating 'o.length'), stack: validate@3959:1786 onPress@3959:5380 value@212:7691 value@212:6947 onResponderRelease@212:5668 f@91:184 v@91:327 y@91:381 k@91:676 Ce@91:13197 forEach@-1 Y@91:5349
React Native version: 0.64.0 React Native Firebase library version: 12.1.0
Version
0.64.0
Output of react-native info
Fatal Exception: com.facebook.react.common.JavascriptException
TypeError: undefined is not an object (evaluating 'o.length'), stack: validate@3959:1786 onPress@3959:5380 value@212:7691 value@212:6947 onResponderRelease@212:5668 f@91:184 v@91:327 y@91:381 k@91:676 Ce@91:13197 forEach@-1 Y@91:5349
Steps to reproduce
Got it in Firebase Crashlytics.
Snack, code example, screenshot, or link to a repository
No response
any soultion?
Any solution so far?
any solution?
I am facing the same issue
Any solution for this ?
Anyone find a solution yet ?
I am facing the same issue after updating react-native from 0.62.0 to 0.65.0
Any updates here? Did anyone found any workaround?
Is there any update on this issue? We started seeing this error even without any recent updates to react-native. Any pointers here will be appreciated!
Same here!
Same here!
Any news on this topic?
Same here! using react-native 0.66
IS THIS ISSUE SOLVED?
After trying to detect where is the exception, i followed stack error in my "Fatal Exception",
so in your Fatal Exception you should check validate if this is a functioin and make sure if there any loop inside them shoul not be null or undefined
Any updates on the issue?
I also got the same error
Fatal Exception: com.facebook.react.common.JavascriptException
TypeError: null is not an object (evaluating 'n.seed'), stack:
Hello guys, this isn't a react native issue. This exception usually occurs because of some third party npm packages that we use in our project. In my case it was due to this package:-
react-native-otp-verify
I removed the package from my project and this fixed my issue. My crash count significantly reduced afterwards. So I will suggest you to figure out which npm causing the issue in your case. If it's not because of any third party npm package, it might be due to some unhandled null pointer in your code base.
Hope this helps.
I also got the same error. Any updates on this issue?
I also got the same issue.
ExceptionsManagerModule.java line 83 com.facebook.react.modules.core.ExceptionsManagerModule.reportException
react-native 0.66.3 node 16.15.1 Android 11
Any updates on this issue?
I am also getting this error
ExceptionsManagerModule.java line 83 com.facebook.react.modules.core.ExceptionsManagerModule.reportException
Logs also not showing properly
Fatal Exception: com.facebook.react.common.c
TypeError: s is not a function. (In 's()', 's' is undefined), stack: [email protected]:1:15506 [email protected]:1:7704 [email protected]:1:6960 [email protected]:1:5675 [email protected]:1:150 [email protected]:1:293 [email protected]:1:347 [email protected]:1:642 [email protected]:1:13181 forEach@-1 [email protected]:1:5333
"react-native": "0.64.2"
Any update on this?
oh look, it's not just me...
seeing this issue as well. Any update?
Same here...
I am getting same issue. Do you have any update about it.
Disable the proguard and see if it works. We had this issue too. I disabled the proguard and now we don't have this issue anymore Some 3rd party libraries don't support proguard.
I am facing the same issue. Any solution?
Same here, without Proguard. I thought It was caused by reanimated 0.6 but it seems it's not.
also got the same issue.
ExceptionsManagerModule.java line 83 com.facebook.react.modules.core.ExceptionsManagerModule.reportException
react-native 0.64.2 Any updates on this issue?
Same here on 0.64.3 RN --v
Play console shows this error not debuggeable in app on some devices (not all):
Exception com.facebook.react.common.JavascriptException:
at com.facebook.react.modules.core.ExceptionsManagerModule.reportException (ExceptionsManagerModule.java:83)
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:151)
at com.facebook.react.bridge.queue.NativeRunnable.run
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:210)
at android.os.Looper.loop (Looper.java:299)
at com.facebook.react.bridge.queue.MessageQueueThreadImpl$4.run (MessageQueueThreadImpl.java:226)
at java.lang.Thread.run (Thread.java:1012)
Same issue.
output of react-native info
npmPackages: @react-native-community/cli: Not Found react: 16.13.1 => 16.13.1 react-native: 0.68.6 => 0.68.6 react-native-windows: Not Found npmGlobalPackages: react-native: Not Found
**Packages**
"dependencies": {
"@react-native-community/async-storage": "^1.11.0",
"@react-native-community/cli-platform-android": "^9.2.1",
"@react-native-community/clipboard": "^1.5.1",
"@react-native-community/datetimepicker": "^3.5.2",
"@react-native-community/masked-view": "^0.1.10",
"@react-native-community/push-notification-ios": "^1.10.1",
"@react-native-community/toolbar-android": "^0.2.1",
"@react-native-firebase/app": "^15.1.1",
"@react-native-firebase/messaging": "^15.1.1",
"@react-navigation/bottom-tabs": "^5.8.0",
"@react-navigation/drawer": "^5.9.2",
"@react-navigation/material-top-tabs": "^5.2.16",
"@react-navigation/native": "^5.5.1",
"@react-navigation/stack": "^5.5.1",
"axios": "^0.21.1",
"deprecated-react-native-prop-types": "^4.0.0",
"jetifier": "^2.0.0",
"lottie-react-native": "^5.1.5",
"moment": "^2.29.1",
"native-base": "^2.15.2",
"qs": "^6.9.4",
"react": "16.13.1",
**"react-native": "0.68.6",**
"react-native-app-intro-slider": "^4.0.4",
"react-native-awesome-alerts": "^1.4.2",
"react-native-camera": "^4.2.1",
"react-native-chart-kit": "^6.11.0",
"react-native-device-info": "^10.2.1",
"react-native-document-picker": "^3.5.4",
"react-native-drawer": "^2.5.1",
"react-native-dropdown-picker": "^3.7.1",
"react-native-element-dropdown": "^2.9.0",
"react-native-elements": "^2.0.3",
"react-native-fs": "^2.17.0",
"react-native-gesture-handler": "^1.6.1",
"react-native-global-font": "^1.0.3",
"react-native-image-crop-picker": "^0.37.2",
"react-native-inappbrowser-reborn": "^3.4.0",
"react-native-keyboard-aware-scroll-view": "^0.9.5",
"react-native-linear-gradient": "^2.5.6",
"react-native-modal": "^11.5.6",
"react-native-openanything": "0.0.6",
"react-native-otp-inputs": "^6.0.0",
"react-native-paper": "^3.10.1",
"react-native-permissions": "^2.2.0",
"react-native-push-notification": "^8.1.1",
"react-native-qrcode-scanner": "^1.6.0",
"react-native-radio-buttons": "^1.0.0",
"react-native-reanimated": "^1.13.4",
"react-native-safe-area-context": "^3.0.5",
"react-native-safe-area-view": "^1.1.1",
"react-native-screens": "^2.9.0",
"react-native-scrollable-tab-view": "^1.0.0",
"react-native-scrollable-tab-view-mask-bar": "^1.0.8",
"react-native-searchable-dropdown": "^1.1.1",
"react-native-share": "^4.1.0",
"react-native-side-drawer": "^1.2.8",
"react-native-svg": "^12.1.1",
"react-native-svg-transformer": "^0.14.3",
"react-native-switch": "^2.0.0",
"react-native-tab-view": "^2.15.2",
"react-native-table-component": "^1.2.1",
"react-native-vector-icons": "^6.6.0",
"react-native-view-shot": "^3.1.2",
"react-native-webview": "^11.23.1",
"react-navigation": "^4.3.9",
"react-navigation-stack": "^2.7.0",
"react-redux": "^7.2.0",
"redux": "^4.0.5"
},
**By issue visibility** - Foreground
**By Android version** -
Android 11 (SDK 30)
Android 13 (SDK 33)
Android 12 (SDK 31)
Android 9 (SDK 28)
Android 10 (SDK 29)
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.