1 Reply Latest reply on Sep 18, 2017 11:39 PM by Hiren

    Smack 4.2.0 Crashing while trying to connect

    Nitesh Singh

      Hi,

           I am getting below exception when trying to connect and it was working fine yesterday..Please look into this asap as we have some tight deadline..

       

      java.lang.ExceptionInInitializerError

      at de.measite.minidns.DNSName.from(DNSName.java:287)

      at de.measite.minidns.dnssec.DNSSECClient.<clinit>(DNSSECClient.java:48)

      at de.measite.minidns.hla.DnssecResolverApi.<init>(DnssecResolverApi.java:47)

      at de.measite.minidns.hla.DnssecResolverApi.<init>(DnssecResolverApi.java:38)

      at de.measite.minidns.hla.DnssecResolverApi.<clinit>(DnssecResolverApi.java:31)

      at org.jivesoftware.smack.util.dns.minidns.MiniDnsResolver.<clinit>(MiniDnsResolve r.java:54)

      at java.lang.Class.classForName(Native Method)

      at java.lang.Class.forName(Class.java:400)

      at org.jivesoftware.smack.SmackInitialization.loadSmackClass(SmackInitialization.j ava:219)

      at org.jivesoftware.smack.SmackInitialization.parseClassesToLoad(SmackInitializati on.java:199)

      at org.jivesoftware.smack.SmackInitialization.processConfigFile(SmackInitializatio n.java:169)

      at org.jivesoftware.smack.SmackInitialization.processConfigFile(SmackInitializatio n.java:154)

      at org.jivesoftware.smack.SmackInitialization.<clinit>(SmackInitialization.java:12 0)

      at org.jivesoftware.smack.SmackConfiguration.getVersion(SmackConfiguration.java:97 )

      at org.jivesoftware.smack.AbstractXMPPConnection.<clinit>(AbstractXMPPConnection.j ava:105)

      at org.jivesoftware.smack.tcp.XMPPTCPConnection.setUseStreamManagementResumptionDe fault(XMPPTCPConnection.java:1562)

       

      Caused by: java.lang.IllegalArgumentException: Invalid input to toASCII: .

      at java.net.IDN.toASCII(IDN.java:112)

      at java.net.IDN.toASCII(IDN.java:134)

      at de.measite.minidns.idna.DefaultIdnaTransformator.toASCII(DefaultIdnaTransformat or.java:19)

      at de.measite.minidns.idna.MiniDnsIdna.toASCII(MiniDnsIdna.java:18)

      at de.measite.minidns.DNSName.<init>(DNSName.java:103)

      at de.measite.minidns.DNSName.<clinit>(DNSName.java:59)

       

      Thanks