-
Notifications
You must be signed in to change notification settings - Fork 24.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Attempt to invoke virtual method 'double java.lang.Double.doubleValue() #23126
Comments
It looks like you are using an older version of React Native. Please update to the latest release, v0.57 and verify if the issue still exists. The "⏪Old Version" label will be removed automatically once you edit your original post with the results of running |
upgraded to react native 0.57.8 and react 16.7.0 but the issue still exists. |
this is the stack trace of this error: com.facebook.react.bridge.ReadableNativeArray.getDouble ReadableNativeArray.java:114 |
I'm facing this error too on android after upgrading to RN 0.58.2. Any help? |
@ithustle we have managed to reproduce it on 0.58.2 and are working on a fix. Can you try 0.58.1 as an alternative for now? |
If work, I'm cool... I'll try |
@ithustle Can you give me the list of dependencies inside your package.json ? |
@grabbou , the same error on RN 0.58.1 :(
|
Fix is on the way. Please wait for about an hour for 0.58.3 to try. |
@grabbou any news? |
@mojtaba-hajishah 0.58.3 is out. That said
That's not a valid thing to write, you should always provide a minimal repro created with |
@kelset
|
work for me :) |
@mojtaba-hajishah have you tried cleaning up the project as @Fasteel wrote? |
@kelset cleared the node modules folder and react-native run-android works. |
I have no way of helping you without a repro (which means, a |
Thank you @kelset for the follow up. |
Ok thanks - may be worth opening an issue in that repo then, but still glad you found the fix 👏 |
If you are using keyboardShift on somewhere in project. Do remove it and check. |
Any one found exact reason of this bug i am facing same issue |
I also ran into this issue and used @AsiamCn's suggestion to track it down to In my case, I just needed to upgrade |
This worked for me!. I recently migrated to react-native 0.61 and was getting above error. I updated |
I also face same problem with react-native version 61.2 and react version 16.9.0. I remove react-native-reanimated library and reinstall & relink it. It's work fine.Its error due to old version of react-native-reanimated, just upgrade it and run it. :) |
Environment
System:
OS: macOS 10.14
CPU: (4) x64 Intel(R) Core(TM) i5-4260U CPU @ 1.40GHz
Memory: 36.91 MB / 4.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 8.15.0 - /usr/local/bin/node
npm: 6.4.1 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: iOS 11.2, macOS 10.13, tvOS 11.2, watchOS 4.2
Android SDK:
API Levels: 27, 28
Build Tools: 27.0.3, 28.0.3
System Images: android-27 | Intel x86 Atom_64, android-27 | Google Play Intel x86 Atom, android-28 | Intel x86 Atom_64
IDEs:
Android Studio: 3.2 AI-181.5540.7.32.5056338
Xcode: 9.2/9C40b - /usr/bin/xcodebuild
npmPackages:
react: 16.7.0 => 16.7.0
react-native: ^0.57.8 => 0.57.8
npmGlobalPackages:
react-native-cli: 2.0.1
Description
I've built a music player app and when user taps on the next or previous buttons, a state change happens.
I get this error when user taps on these buttons rapidly.
this error causes the app to crash in production releases. but I've received these reports only on android devices. no reports for iOS devices. I don't know if that's relevant.
Reproducible Demo
I can't share my code because of NDA stuff.
The text was updated successfully, but these errors were encountered: