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


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

Expert tip

This is a bug in Wise, updating to v4.10 seems to solve the problem.

Solutions on the web

via Stack Overflow by 392781
, 1 year ago
via Coderanch by Sucheta Shrivastava, 1 month ago
via GitHub by MarkRx
, 1 year ago
For input string: ""0"
via Oracle Community by 843793, 1 year ago
For input string: "-2147475350 "
via Oracle Community by 737310, 1 year ago
java.lang.NumberFormatException: For input string: ""
at java.lang.NumberFormatException.forInputString(
at java.lang.Integer.parseInt(
at java.lang.Integer.valueOf(
at undefined.WriteKong.sort(
at undefined.WriteKong.main(

Users with the same issue

5 times, 7 months ago
Once, 10 months ago
2 times, 1 year ago
3 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
233 more bugmates

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