org.jivesoftware.smack.SmackException

java.lang.NumberFormatException: For input string: "4860:4860::8888"

Samebug tips2

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


rprp

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


rafaelrafael

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web3631

  • via Unknown by Eddy Jansson,
  • via Unknown by Eddy Jansson,
  • Stack trace

    • org.jivesoftware.smack.SmackException: java.lang.NumberFormatException: For input string: "4860:4860::8888" at org.jivesoftware.smack.tcp.XMPPTCPConnection.connectUsingConfiguration(XMPPTCPConnection.java:405) at org.jivesoftware.smack.tcp.XMPPTCPConnection.connectInternal(XMPPTCPConnection.java:811) at org.jivesoftware.smack.XMPPConnection.connect(XMPPConnection.java:396) at hudson.plugins.jabber.im.transport.JabberIMConnection.createConnection(JabberIMConnection.java:409) at hudson.plugins.jabber.im.transport.JabberIMConnection.connect(JabberIMConnection.java:189) at hudson.plugins.jabber.im.transport.JabberIMConnectionProvider.createConnection(JabberIMConnectionProvider.java:42) at hudson.plugins.im.IMConnectionProvider.create(IMConnectionProvider.java:65) at hudson.plugins.im.IMConnectionProvider.access$600(IMConnectionProvider.java:22) at hudson.plugins.im.IMConnectionProvider$ConnectorRunnable.run(IMConnectionProvider.java:183) at java.lang.Thread.run(Thread.java:745) Caused by: 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.<init>(DnsClient.java:125) at com.sun.jndi.dns.Resolver.<init>(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 javax.naming.directory.InitialDirContext.getAttributes(InitialDirContext.java:142) 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.XMPPConnection.maybeResolveDns(XMPPConnection.java:573) at org.jivesoftware.smack.tcp.XMPPTCPConnection.connectUsingConfiguration(XMPPTCPConnection.java:402)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    rprp
    Once,
    poroszdporoszd
    Once,
    Михайло ТітовМихайло Тітов
    4 times, last one
    HandemelindoHandemelindo
    Once,
    Julien SaabJulien Saab
    34 times, last one
    193 more bugmates