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: ""

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Stack Overflow by nikant chaudhary
, 1 year ago
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: ""
via Stack Overflow by Amir_P
, 2 years ago
Failure delivering result ResultInfo{who=null, request=2, result=-1, data=Intent { (has extras) }} to activity {com.example.amir_p.contacts/com.example.amir_p.contacts.ContactInfo}: java.lang.IndexOutOfBoundsException: Invalid index 0, size is 0
via GitHub by maxme
, 1 year ago
Failure delivering result ResultInfo{who=android:fragment:1, request=4000, result=-1, data=Intent { (has extras) }} to activity {org.wordpress.android/org.wordpress.android.ui.posts.EditPostActivity}: java.lang.NumberFormatException: Invalid int: "1465119825102"
via Stack Overflow by Ayub baba
, 1 year ago
Failure delivering result ResultInfo{who=null, request=140, result=-1, data=Intent { (has extras) }} to activity {com.app.prominere.majorityohio/com.app.prominere.majorityohio.MainActivity}: retrofit.RetrofitError
via Stack Overflow by Mohammed Atif
, 1 year ago
Failure delivering result ResultInfo{who=null, request=1, result=-1, data=Intent { (has extras) }} to activity {com.zemoso.atif.mps/com.zemoso.atif.mps.MainActivity}: java.lang.IllegalStateException
via GitHub by zhugeheng
, 5 months ago
Failure delivering result ResultInfo{who=null, request=1008, result=-1, data=Intent { (has extras) }} to activity {com.jph.simple/com.jph.simple.SimpleActivity}: java.lang.reflect.UndeclaredThrowableException
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 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)
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)

Users with the same issue

4 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
12 times, 1 year ago
2 times, 2 months ago
29833 times, 1 month ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.