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 Xamarin Bugzilla by bryan.moulton, 6 months ago
via GitHub by paulrohrbeck
, 1 year ago
via Google Groups by Simon Teles, 10 months ago
via Google Groups by Peter Neubauer, 5 months ago
For input string: "java.lang.NullPointerException"
via Oracle Community by 807596, 1 year ago
via Oracle Community by Hutty, 1 year ago
For input string: "1,000"
java.lang.NumberFormatException: For input string: ""
at java.lang.NumberFormatException.forInputString(

Users with the same issue

Once, 1 hour ago
4 times, 6 days ago
16 times, 1 week ago
6 times, 1 week ago
30 times, 1 week ago

Write tip

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