Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)
ConnectionConfiguration should throw an IllegalArgumentException if invalid parameter types are used (e.g. the empty string)
To prevent this:
java.lang.StringIndexOutOfBoundsException: length=0; index=-1
at org.jivesoftware.smack.util.dns.HostAddress.<init>(HostAddress.java:32)
at org.jivesoftware.smack.util.DNSUtil.resolveDomain(DNSUtil.java:140)
at org.jivesoftware.smack.util.DNSUtil.resolveXMPPDomain(DNSUtil.java:85)
ConnectionConfiguration should throw an IllegalArgumentException if invalid parameter types are used (e.g. the empty string)
To prevent this:
java.lang.StringIndexOutOfBoundsException: length=0; index=-1 at org.jivesoftware.smack.util.dns.HostAddress.<init>(HostAddress.java:32) at org.jivesoftware.smack.util.DNSUtil.resolveDomain(DNSUtil.java:140) at org.jivesoftware.smack.util.DNSUtil.resolveXMPPDomain(DNSUtil.java:85)