java.lang.NumberFormatException: [I][B]For input string: "0.5"[/B][/I]

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


Is thrown when you try to convert a String to a numeric value, like an int, float, double, long, etc.


Java does not handle IPv6 nameservers before 1.8.0_60. Upgrade to the latest JVM.

Solutions on the web

via Coderanch by Henry Wong, 1 year ago
[I][B]For input string: "0.5"[/B][/I]
via Oracle Community by 843811, 1 year ago
via by Unknown author, 1 year ago
via GitHub by AnthonyTruchet
, 8 months ago
For input string: “1490106186214"
via Google Groups by (JIRA), 8 months ago
via Google Groups by chris, 5 months ago
For input string: "147ss"*
java.lang.NumberFormatException: [I][B]For input string: "0.5"[/B][/I]
at java.lang.NumberFormatException.forInputString(

Users with the same issue

104 times, 14 hours ago
Once, 15 hours ago
Once, 1 day ago
12 times, 4 days ago
Once, 4 days ago

Write tip

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