java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=2, result=2, data=Intent { (has extras) }} to activity {me.nikantchaudhary.taxifare/me.nikantchaudhary.taxifare.MapsActivity}: java.lang.NumberFormatException: Invalid float: ""

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Add value to Array Float From EditText
    via Stack Overflow by Wendy Liga
    ,
  • How to calculate the percentage in android
    via Stack Overflow by Master
    ,
  • Java String to Float
    via Stack Overflow by Stephopolis
    ,
  • Cant get my object loader to work
    via Stack Overflow by user3677855
    ,
    • java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=2, result=2, data=Intent { (has extras) }} to activity {me.nikantchaudhary.taxifare/me.nikantchaudhary.taxifare.MapsActivity}: java.lang.NumberFormatException: Invalid float: "" at android.app.ActivityThread.deliverResults(ActivityThread.java:3544) at android.app.ActivityThread.handleSendResult(ActivityThread.java:3587) at android.app.ActivityThread.access$1300(ActivityThread.java:147) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1334) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:135) at android.app.ActivityThread.main(ActivityThread.java:5237) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:912) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:707) Caused by: java.lang.NumberFormatException: Invalid float: "" at java.lang.StringToReal.invalidReal(StringToReal.java:63) at java.lang.StringToReal.parseFloat(StringToReal.java:308) at java.lang.Float.parseFloat(Float.java:306) at java.lang.Float.valueOf(Float.java:343) at me.nikantchaudhary.taxifare.MapsActivity.onActivityResult(MapsActivity.java:291) at android.app.Activity.dispatchActivityResult(Activity.java:6184) at android.app.ActivityThread.deliverResults(ActivityThread.java:3540) ... 10 more

    Users with the same issue

    adawolfs
    adawolfs4 times, last one,
    Unknown visitor1 times, last one,
    Agócs Tamás
    Agócs Tamás12 times, last one,
    Pierre
    Pierre2 times, last one,
    andreeaa marin
    andreeaa marin1 times, last one,
    22 more bugmates