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

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 jpgamer31
, 1 year ago
via Stack Overflow by Unknown author, 2 years ago
via GitHub by cdietrich
, 1 year ago
via Oracle Community by 633818, 1 year ago
For input string: "(null)"
via Stack Overflow by Jinseo Kim
, 5 months ago
For input string: "....14de3dL"
via Coderanch by Henry Wong, 1 year ago
java.lang.NumberFormatException: For input string: "Infinity"
at java.lang.NumberFormatException.forInputString(
at java.lang.Integer.parseInt(
at java.math.BigInteger.(
at java.math.BigInteger.(

Users with the same issue

4 times, 5 days ago
16 times, 6 days ago
6 times, 1 week ago
30 times, 1 week ago
2 times, 2 weeks ago

Write tip

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