java.lang.NumberFormatException: For input string: " "

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 GitHub by AnthonyTruchet
, 7 months ago
For input string: “1490106186214"
via Google Groups by lars....@gmail.com (JIRA), 7 months ago
via Google Groups by chris, 5 months ago
For input string: "147ss"*
via Oracle Community by 726965, 1 year ago
For input string: "null"
via Stack Overflow by RELENTLESS00G
, 2 years ago
For input string: "XXXX"
java.lang.NumberFormatException: For input string: " "
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)

Users with the same issue

Once, 2 weeks ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Once, 22 hours ago
218 more bugmates

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