Skip to content
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.Doubld.doubleValue()' on a null object reference #26806

Closed
eventengineering opened this issue Oct 10, 2019 · 5 comments
Labels
Bug Stale There has been a lack of activity on this issue and it may be closed soon.

Comments

@eventengineering
Copy link

This error message comes up masking the actual cause of the error behind it, making it very difficult to debug the actual issue.

image

React Native version:
System:
OS: Windows 10
CPU: (8) x64 Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz
Memory: 3.78 GB / 15.87 GB
Binaries:
Node: 10.16.3 - C:\Program Files\nodejs\node.EXE
npm: 6.9.0 - C:\Program Files\nodejs\npm.CMD
SDKs:
Android SDK:
API Levels: 21, 22, 23, 24, 25, 26, 27, 28
Build Tools: 27.0.3, 28.0.0, 28.0.1, 28.0.2, 28.0.3
System Images: android-22 | Intel x86 Atom_64, android-25 | Android Wear ARM EABI v7a, android-25 | China version of Android Wear Intel x86 Atom, android-25 | Google APIs Intel x86 Atom, android-26 | Android Wear Intel x86 Atom, android-26 | Google APIs Intel x86 Atom, android-27 | Google APIs Intel x86 Atom, android-28 | Google APIs Intel x86 Atom, android-29 | Google APIs Intel x86 Atom
Android NDK: 20.0.5594570
IDEs:
Android Studio: Version 3.5.0.0 AI-191.8026.42.35.5791312
npmPackages:
react: 16.9.0 => 16.9.0
react-native: 0.61.1 => 0.61.1

Steps To Reproduce

  1. run any app with a null for a value somewhere

Describe what you expected to happen:
I expect there to be an error, but for it to highlight the location of the error rather than the location of this error.

Worth looking at the number of other bugs raised with this issue, each of which was caused by something not highlighted by this error:
#23378
#23193
#23126
#20727
#20549
#19423
#19413

@eventengineering
Copy link
Author

Worth noting, this happens on Android but not on iOS

@danielmtavares
Copy link

We have this exact issue in production and it's impossible to tell what the actual error is.

@stale
Copy link

stale bot commented Apr 7, 2020

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as a "Discussion" or add it to the "Backlog" and I will leave it open. Thank you for your contributions.

@stale stale bot added the Stale There has been a lack of activity on this issue and it may be closed soon. label Apr 7, 2020
@stale
Copy link

stale bot commented Apr 14, 2020

Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please feel free to create a new issue with up-to-date information.

@stale stale bot closed this as completed Apr 14, 2020
@eventengineering
Copy link
Author

That doesn't make this any less of a major bug.

Any bug in the bug handling area should be resolved ASAP as it makes handling and debugging of other bugs impossible.

@facebook facebook locked as resolved and limited conversation to collaborators Apr 15, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug Stale There has been a lack of activity on this issue and it may be closed soon.
Projects
None yet
Development

No branches or pull requests

2 participants