java.lang.NumberFormatException: Invalid double: ""

Stack Overflow | Shin Joseph | 5 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Stuck with Android Studio: Using "Double" for Text Watcher

    Stack Overflow | 5 months ago | Shin Joseph
    java.lang.NumberFormatException: Invalid double: ""
  2. 0

    What is wrong with my read/write code

    Stack Overflow | 2 years ago | António Paulo
    java.lang.NumberFormatException: Invalid double: ""
  3. 0

    App crashes on launch - Unable to instantiate activity ComponentInfo{

    Stack Overflow | 2 years ago | Toff_Tuning
    java.lang.IllegalStateException: Could not execute method of the activity
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    How can i fix a numberformatexception

    Stack Overflow | 2 years ago | Asm
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.elie.billsplitter/com.elie.billsplitter.MainActivity}: java.lang.NumberFormatException: Invalid double: ""
  6. 0

    Android app stopping while test running in android virtual device? Why?

    Stack Overflow | 1 year ago | ItsAV
    com.google.gson.JsonSyntaxException: java.lang.NumberFormatException: Invalid double: ""
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.NumberFormatException

    Invalid double: ""

    at java.lang.StringToReal.invalidReal()
  2. Java RT
    Double.parseDouble
    1. java.lang.StringToReal.invalidReal(StringToReal.java:63)
    2. java.lang.StringToReal.parseDouble(StringToReal.java:267)
    3. java.lang.Double.parseDouble(Double.java:301)
    3 frames
  3. josephshin.tempconv
    MainActivity$2.afterTextChanged
    1. josephshin.tempconv.MainActivity$2.afterTextChanged(MainActivity.java:56)
    1 frame
  4. Android Platform
    ViewGroup.dispatchKeyEvent
    1. android.widget.TextView.sendAfterTextChanged(TextView.java:9271)
    2. android.widget.TextView$ChangeWatcher.afterTextChanged(TextView.java:12015)
    3. android.text.SpannableStringBuilder.sendAfterTextChanged(SpannableStringBuilder.java:1047)
    4. android.text.SpannableStringBuilder.replace(SpannableStringBuilder.java:564)
    5. android.text.SpannableStringBuilder.delete(SpannableStringBuilder.java:225)
    6. android.text.SpannableStringBuilder.delete(SpannableStringBuilder.java:34)
    7. android.text.method.BaseKeyListener.backspaceOrForwardDelete(BaseKeyListener.java:106)
    8. android.text.method.BaseKeyListener.backspace(BaseKeyListener.java:51)
    9. android.text.method.BaseKeyListener.onKeyDown(BaseKeyListener.java:215)
    10. android.text.method.NumberKeyListener.onKeyDown(NumberKeyListener.java:138)
    11. android.widget.TextView.doKeyDown(TextView.java:7187)
    12. android.widget.TextView.onKeyDown(TextView.java:6994)
    13. android.view.KeyEvent.dispatch(KeyEvent.java:3249)
    14. android.view.View.dispatchKeyEvent(View.java:9838)
    15. android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1739)
    16. android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1739)
    17. android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1739)
    18. android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1739)
    19. android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1739)
    20. android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1739)
    20 frames
  5. Android
    PhoneWindow.superDispatchKeyEvent
    1. com.android.internal.policy.PhoneWindow$DecorView.superDispatchKeyEvent(PhoneWindow.java:2808)
    2. com.android.internal.policy.PhoneWindow.superDispatchKeyEvent(PhoneWindow.java:1838)
    2 frames
  6. Android Platform
    Activity.dispatchKeyEvent
    1. android.app.Activity.dispatchKeyEvent(Activity.java:2977)
    1 frame
  7. Android v7
    AppCompatDelegateImplBase$AppCompatWindowCallbackBase.dispatchKeyEvent
    1. android.support.v7.app.AppCompatActivity.dispatchKeyEvent(AppCompatActivity.java:543)
    2. android.support.v7.view.WindowCallbackWrapper.dispatchKeyEvent(WindowCallbackWrapper.java:53)
    3. android.support.v7.app.AppCompatDelegateImplBase$AppCompatWindowCallbackBase.dispatchKeyEvent(AppCompatDelegateImplBase.java:312)
    3 frames
  8. Android
    PhoneWindow$DecorView.dispatchKeyEvent
    1. com.android.internal.policy.PhoneWindow$DecorView.dispatchKeyEvent(PhoneWindow.java:2682)
    1 frame
  9. Android Platform
    ActivityThread.main
    1. android.view.ViewRootImpl$ViewPostImeInputStage.processKeyEvent(ViewRootImpl.java:5273)
    2. android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:5226)
    3. android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:4673)
    4. android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:4726)
    5. android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:4692)
    6. android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:4834)
    7. android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:4700)
    8. android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:4891)
    9. android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:4673)
    10. android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:4726)
    11. android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:4692)
    12. android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:4700)
    13. android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:4673)
    14. android.view.ViewRootImpl.deliverInputEvent(ViewRootImpl.java:7359)
    15. android.view.ViewRootImpl.doProcessInputEvents(ViewRootImpl.java:7237)
    16. android.view.ViewRootImpl.enqueueInputEvent(ViewRootImpl.java:7198)
    17. android.view.ViewRootImpl$ViewRootHandler.handleMessage(ViewRootImpl.java:4310)
    18. android.os.Handler.dispatchMessage(Handler.java:102)
    19. android.os.Looper.loop(Looper.java:158)
    20. android.app.ActivityThread.main(ActivityThread.java:7225)
    20 frames
  10. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    1 frame
  11. Android
    ZygoteInit$MethodAndArgsCaller.run
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
    1 frame