-
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
Bridge extractArgument: doubleValue() on a null object reference #19423
Comments
We use GitHub Issues exclusively for tracking bugs in React Native. See the React Native Community Support page for a list of places where you may ask for help. |
This is a React Native issue. It has something to do with the bridge, state changes and updating the UI. I changed the order in which I set the state and call native methods and the error does not occur anymore. |
Anything I did in my code had nothing to do with any double argument. So clearly some screen drawing issue in RN. |
I'm having the same issue while executing this method: |
Hi @tapz , i'm having the same issues as everyone here
|
Hi @bondansebastian , I modified my code to change the component state in one place instead of setting different fields separately. Also moved the calls to native bridge to different places. Can't really tell any systematic way. Just doing things differently seems to have bypassed the bug. |
What do you mean by this @tapz ? |
@tapz |
So far this error only seems to happen when I use hot reload |
I'm seeing this error in release mode, so likely not just related to hot reload. I'm on RN 0.56.0. |
I'm also seeing this in release mode w/ Android. Using react-native 0.55.3. |
I also face this problem. @tapz Can you reopen this issue? |
I found the solution for my problem. My fault. 😅 🤦♀ I forget to give a second parameter ( |
For me, this was also an issue with my own codebase. No need to reopen. |
I'm trying to use |
@ntomallen Have you solve it? I have the same problem. Others |
I stopped trying to use that method. I think it was set incorrectly on the android side of things; maybe in the manifest |
Having the same issue. |
I have this error when I pass |
I got this to Crashlytics from one of the users of my app. Would be nice to get more information and the actual cause of the error.
Environment
Environment:
OS: macOS High Sierra 10.13.4
Node: 8.11.1
Yarn: 1.6.0
npm: 5.6.0
Watchman: 4.9.0
Xcode: Xcode 9.3.1 Build version 9E501
Android Studio: 3.1 AI-173.4697961
Packages: (wanted => installed)
react: 16.3.2 => 16.3.2
react-native: 0.55.4 => 0.55.4
Steps to Reproduce
No idea.
Expected Behavior
No crash
Actual Behavior
Crash
The text was updated successfully, but these errors were encountered: