I am getting crash only from Samsung Galaxy F23 SM-E236B and Moto Edge 30 both using android 13 #37821
Labels
Needs: Author Feedback
Needs: Repro
This issue could be improved with a clear list of steps to reproduce the issue.
Newer Patch Available
Platform: Android
Android applications.
Stale
There has been a lack of activity on this issue and it may be closed soon.
Description
Crash occurs on App Open.
Here is public sentry issue link
https://ekeekaran-ventures.sentry.io/share/issue/68b33ca371e241f79a3471eae254080d/
Error: Exception in HostObject::get for prop 'NativeUnimoduleProxy': java.lang.StringIndexOutOfBoundsException
I also checked the play store crash reports from same device
It seems error is coming from reportException only. It is failing to send correct stack trace as well.
Can such device specific issue be due to bundled hermes version?
Will shiping different hermed version for such devices will the issue?
React Native Version
0.71.7
Output of
npx react-native info
System:
OS: macOS 13.3.1
CPU: (8) arm64 Apple M1
Memory: 383.63 MB / 16.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 20.2.0 - /opt/homebrew/bin/node
Yarn: 1.22.19 - ~/.yarn/bin/yarn
npm: 9.6.6 - /opt/homebrew/bin/npm
Watchman: 2023.05.22.00 - /opt/homebrew/bin/watchman
Managers:
CocoaPods: 1.11.3 - /Users/shubham/.rvm/rubies/ruby-2.7.4/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 22.4, iOS 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4
Android SDK: Not Found
IDEs:
Android Studio: 2022.2 AI-222.4459.24.2221.9862592
Xcode: 14.3/14E222b - /usr/bin/xcodebuild
Languages:
Java: 15.0.10 - /usr/bin/javac
npmPackages:
@react-native-community/cli: Not Found
react: 18.2.0 => 18.2.0
react-native: 0.71.7 => 0.71.7
Steps to reproduce
Issue occurs on App open even before javascript bundle load.
These users are completely blocked from using the App.
I am unable to reproduce the issue as I do not have the device the only change I made is updated my RN version to latest and related dependencies.
Snack, code example, screenshot, or link to a repository
Exception f7.b:
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 (NativeRunnable.java)
at android.os.Handler.handleCallback (Handler.java:984)
at android.os.Handler.dispatchMessage (Handler.java:104)
at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage (MessageQueueThreadHandler.java:27)
at android.os.Looper.loopOnce (Looper.java:238)
at android.os.Looper.loop (Looper.java:357)
at com.facebook.react.bridge.queue.MessageQueueThreadImpl$4.run (MessageQueueThreadImpl.java:228)
at java.lang.Thread.run (Thread.java:1012)
The text was updated successfully, but these errors were encountered: