org.jivesoftware.smack.SmackException: java.lang.NumberFormatException: For input string: "4860:4860::8888"

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 Jenkins JIRA by Eddy Jansson, 1 year ago
java.lang.NumberFormatException: For input string: "4860:4860::8888"
via Jenkins JIRA by Eddy Jansson, 1 year ago
java.lang.NumberFormatException: For input string: "4860:4860::8888"
java.lang.NumberFormatException: For input string: "4860:4860::8888"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
at java.lang.Integer.parseInt(Integer.java:492)
at java.lang.Integer.parseInt(Integer.java:527)
at com.sun.jndi.dns.DnsClient.(DnsClient.java:125)
at com.sun.jndi.dns.Resolver.(Resolver.java:61)
at com.sun.jndi.dns.DnsContext.getResolver(DnsContext.java:570)
at com.sun.jndi.dns.DnsContext.c_getAttributes(DnsContext.java:430)
at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_getAttributes(ComponentDirContext.java:231)
at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.getAttributes(PartialCompositeDirContext.java:139)
at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.getAttributes(PartialCompositeDirContext.java:127)
at org.jivesoftware.smack.util.dns.javax.JavaxResolver.lookupSRVRecords(JavaxResolver.java:83)
at org.jivesoftware.smack.util.DNSUtil.resolveDomain(DNSUtil.java:153)
at org.jivesoftware.smack.util.DNSUtil.resolveXMPPDomain(DNSUtil.java:111)
at org.jivesoftware.smack.ConnectionConfiguration.maybeResolveDns(ConnectionConfiguration.java:600)
at org.jivesoftware.smack.tcp.XMPPTCPConnection.connectUsingConfiguration(XMPPTCPConnection.java:402)

Users with the same issue

4 times, 14 hours ago
Once, 1 day ago
4 times, 1 week ago
16 times, 1 week ago
6 times, 1 week ago

Write tip

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