java.lang.Double.doubleValue()' on a null object reference
See original GitHub issueReceived this to Crashlytics. RN does not provide any information, which would help to find the cause of this (unless it is actually a bug in RN).
Fatal Exception: java.lang.NullPointerException: Attempt to invoke virtual method 'double java.lang.Double.doubleValue()' on a null object reference
at com.facebook.react.bridge.ReadableNativeArray.getDouble(ReadableNativeArray.java:114)
at com.facebook.react.bridge.JavaMethodWrapper$4.extractArgument(JavaMethodWrapper.java:64)
at com.facebook.react.bridge.JavaMethodWrapper$4.extractArgument(JavaMethodWrapper.java:60)
at com.facebook.react.bridge.JavaMethodWrapper.invoke(JavaMethodWrapper.java:359)
at com.facebook.react.bridge.JavaModuleWrapper.invoke(JavaModuleWrapper.java:160)
at com.facebook.react.bridge.queue.NativeRunnable.run(NativeRunnable.java)
at android.os.Handler.handleCallback(Handler.java:789)
at android.os.Handler.dispatchMessage(Handler.java:98)
at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:29)
at android.os.Looper.loop(Looper.java:164)
at com.facebook.react.bridge.queue.MessageQueueThreadImpl$3.run(MessageQueueThreadImpl.java:192)
at java.lang.Thread.run(Thread.java:764)
Issue Analytics
- State:
- Created 5 years ago
- Reactions:14
- Comments:31
Top Results From Across the Web
Error on "Attempt to invoke virtual method 'double java.lang ...
Your latitude and longitude are NULL, as they are only declared and value never assigned. Example : latitude=28.6139391;.
Read more >java.lang.Double.doubleValue java code examples - Tabnine
Returns default value * when conversion result is <code>null</code>. */ public double toDoubleValue(Object value, double defaultValue) { Double result ...
Read more >Java.lang.Double.doubleValue() Method - Tutorialspoint
Double.doubleValue() method returns the double value of this Double object. Declaration. Following is the declaration for java.lang.Double.doubleValue() method
Read more >"Cannot invoke "java.lang.Double.doubleValue()" " error
Hello everyone! It seems like my files cannot be recognised(?) anymore. Actually when I try to type a specific number for the thresholder ......
Read more >attempt to invoke virtual method 'double java.lang ... - You.com
StackOverflow ; java.lang.NullPointerException: Attempt to invoke virtual method 'double java.lang.Double.doubleValue()' on a null object reference ; at com.myapp ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Please use Stack Overflow for this type of question.
This error happened to me when I used a bridge in the wrong way, causing the error, for example, to use the toastAndroid.show (‘…’) without passing the time