java.lang.NumberFormatException: Invalid double: ""

Stack Overflow | Dirk Vis | 3 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    How to exclude any value in this calculation that is 0

    Stack Overflow | 3 months ago | Dirk Vis
    java.lang.NumberFormatException: Invalid double: ""
  2. 0

    Android TextWatcher afterTextChanged

    Stack Overflow | 4 years ago | Andrea Malini
    java.lang.NumberFormatException: Invalid double: "android.widget.EditText{421f9c38 VFED..CL .F...... 0,664-1080,781 #7f08000b app:id/ed_importo_fattura}"
  3. 0

    Default value of EditText

    Stack Overflow | 1 month ago | Philippe Sarouphim
    java.lang.NumberFormatException: Invalid double: ""
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

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. dipp.verlinden
    Bereken$1.afterTextChanged
    1. dipp.verlinden.Bereken$1.afterTextChanged(Bereken.java:64)
    1 frame
  4. Android Platform
    BaseInputConnection.commitText
    1. android.widget.TextView.sendAfterTextChanged(TextView.java:9195)
    2. android.widget.TextView$ChangeWatcher.afterTextChanged(TextView.java:11939)
    3. android.text.SpannableStringBuilder.sendAfterTextChanged(SpannableStringBuilder.java:1047)
    4. android.text.SpannableStringBuilder.replace(SpannableStringBuilder.java:564)
    5. android.text.SpannableStringBuilder.replace(SpannableStringBuilder.java:494)
    6. android.text.SpannableStringBuilder.replace(SpannableStringBuilder.java:34)
    7. android.view.inputmethod.BaseInputConnection.replaceText(BaseInputConnection.java:691)
    8. android.view.inputmethod.BaseInputConnection.commitText(BaseInputConnection.java:199)
    8 frames
  5. Android
    IInputConnectionWrapper$MyHandler.handleMessage
    1. com.android.internal.widget.EditableInputConnection.commitText(EditableInputConnection.java:184)
    2. com.android.internal.view.IInputConnectionWrapper.executeMessage(IInputConnectionWrapper.java:286)
    3. com.android.internal.view.IInputConnectionWrapper$MyHandler.handleMessage(IInputConnectionWrapper.java:78)
    3 frames
  6. Android Platform
    ActivityThread.main
    1. android.os.Handler.dispatchMessage(Handler.java:102)
    2. android.os.Looper.loop(Looper.java:158)
    3. android.app.ActivityThread.main(ActivityThread.java:7229)
    3 frames
  7. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    1 frame
  8. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
    2 frames