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

ExceptionsManagerModule.java line 83 com.facebook.react.modules.core.ExceptionsManagerModule.reportException

Open TeamKiko opened this issue 3 years ago • 26 comments

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 @91:13545 xe@91:92704 Re@91:12995 ze@91:13384 receiveTouches@91:14177 value@42:3492 @42:747 value@42:2538 value@42:719 value@-1

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 @91:13545 xe@91:92704 Re@91:12995 ze@91:13384 receiveTouches@91:14177 value@42:3492 @42:747 value@42:2538 value@42:719 value@-1

Steps to reproduce

Got it in Firebase Crashlytics.

Snack, code example, screenshot, or link to a repository

No response

TeamKiko avatar Dec 17 '21 06:12 TeamKiko

any soultion?

thtRajasthaniGuy avatar Dec 22 '21 08:12 thtRajasthaniGuy

Any solution so far?

khichis avatar Jan 18 '22 05:01 khichis

any solution?

daheeahn avatar Jan 24 '22 10:01 daheeahn

I am facing the same issue Any solution for this ? Screen Shot 2022-01-27 at 1 18 32 pm

Deep-CB avatar Jan 27 '22 07:01 Deep-CB

Anyone find a solution yet ?

ellysmoore avatar Feb 04 '22 05:02 ellysmoore

I am facing the same issue after updating react-native from 0.62.0 to 0.65.0

lailton-b avatar Feb 04 '22 11:02 lailton-b

Any updates here? Did anyone found any workaround?

Mindbowser avatar Mar 15 '22 06:03 Mindbowser

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!

gautam-ndk avatar Mar 21 '22 06:03 gautam-ndk

Same here!

dieptang avatar Mar 27 '22 13:03 dieptang

Same here!

anasalsaadi14 avatar Mar 29 '22 05:03 anasalsaadi14

Any news on this topic?

shatas avatar Apr 04 '22 11:04 shatas

Same here! using react-native 0.66

image

admin0319 avatar Apr 13 '22 02:04 admin0319

IS THIS ISSUE SOLVED?

nimeshpoudel7 avatar Apr 18 '22 11:04 nimeshpoudel7

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

anasalsaadi14 avatar Apr 20 '22 09:04 anasalsaadi14

Any updates on the issue?

raquel-nobre avatar May 23 '22 18:05 raquel-nobre

I also got the same error Fatal Exception: com.facebook.react.common.JavascriptException TypeError: null is not an object (evaluating 'n.seed'), stack:

kiennd-miichisoft avatar May 24 '22 03:05 kiennd-miichisoft

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.

ShubhamBathe-KM avatar May 25 '22 05:05 ShubhamBathe-KM

I also got the same error. Any updates on this issue?

nmanvitha avatar May 26 '22 12:05 nmanvitha

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?

RaviDhakadDoodle avatar Jul 07 '22 04:07 RaviDhakadDoodle

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 @77.js:1:13529 [email protected]:1:93290 [email protected]:1:12979 [email protected]:1:13368 [email protected]:1:14167 [email protected]:1:3469 @41.js:1:662 [email protected]:1:2459 [email protected]:1:634 value@-1

"react-native": "0.64.2"

Any update on this?

govarthananve avatar Aug 01 '22 07:08 govarthananve

oh look, it's not just me...

seeing this issue as well. Any update?

MMasterson avatar Aug 10 '22 00:08 MMasterson

Same here...

tuliosciotta avatar Aug 12 '22 13:08 tuliosciotta

I am getting same issue. Do you have any update about it.

Gajendra-Gupta avatar Aug 22 '22 14:08 Gajendra-Gupta

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.

ali-soltanii avatar Aug 29 '22 05:08 ali-soltanii

I am facing the same issue. Any solution?

Robiullah2244 avatar Oct 20 '22 16:10 Robiullah2244

Same here, without Proguard. I thought It was caused by reanimated 0.6 but it seems it's not.

FrSenpai avatar Jan 11 '23 15:01 FrSenpai

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?

princeKasodariya avatar May 08 '23 09:05 princeKasodariya

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)

Phector27 avatar May 23 '23 09:05 Phector27

Same issue.

Screenshot 2023-06-19 174312 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)

Screenshot 2023-06-19 175224

vaish8529 avatar Jun 19 '23 12:06 vaish8529

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.

github-actions[bot] avatar Apr 09 '24 05:04 github-actions[bot]