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

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 Oracle Community by 843793, 1 year ago
via Stack Overflow by Delfino
, 2 years ago
via Pentaho BI Platform Tracking by Alexis Badillo, 2 months ago
For input string: "425.0"
via GitHub by marlonpp
, 2 years ago
For input string: ""
via Stack Overflow by gpthree
, 2 years ago
java.lang.NumberFormatException: For input string: "0
at java.lang.NumberFormatException.forInputString(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at com.sun.jndi.toolkit.url.Uri.parse(Unknown Source)
at com.sun.jndi.toolkit.url.Uri.init(Unknown Source)
at com.sun.jndi.ldap.LdapURL.(Unknown Source)
at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(Unknown Source)
at com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(Unknown Source)
at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(Unknown Source)
at com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(Unknown Source)
at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
at javax.naming.InitialContext.init(Unknown Source)
at undefined.testipv6.main(

Users with the same issue

Once, 14 hours ago
6 times, 16 hours ago
Samebug visitor profile picture
Unknown user
Once, 3 days ago
Samebug visitor profile picture
Unknown user
Once, 5 days ago
4 times, 6 days ago
216 more bugmates

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