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

java.lang.NumberFormatException: Invalid float: "∞"
at java.lang.StringToReal.invalidReal(StringToReal.java:63)
at java.lang.StringToReal.initialParse(StringToReal.java:164)
at java.lang.StringToReal.parseFloat(StringToReal.java:323)
at java.lang.Float.parseFloat(Float.java:306)
at com.lgallardo.qbittorrentclient.TorrentRatioComparator.compare(TorrentRatioComparator.java:29)
at com.lgallardo.qbittorrentclient.TorrentRatioComparator.compare(TorrentRatioComparator.java:15)
at java.util.TimSort.binarySort(TimSort.java:261)
at java.util.TimSort.sort(TimSort.java:186)
at java.util.TimSort.sort(TimSort.java:169)
at java.util.Arrays.sort(Arrays.java:2010)
at java.util.Collections.sort(Collections.java:1883)
at com.lgallardo.qbittorrentclient.MainActivity$qBittorrentTask.onPostExecute(MainActivity.java:2963)
at com.lgallardo.qbittorrentclient.MainActivity$qBittorrentTask.onPostExecute(MainActivity.java:2728)
at android.os.AsyncTask.finish(AsyncTask.java:636)
at android.os.AsyncTask.access$500(AsyncTask.java:177)
at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:653)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:155)
at android.app.ActivityThread.main(ActivityThread.java:5725)
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:1030)

Users with the same issue

29833 times, 3 months ago
2 times, 3 months ago
199 times, 4 months ago
Once, 11 months ago
4 times, 1 year ago

Write tip

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