java.lang.StringIndexOutOfBoundsException: length=0; index=-1

Jive Software Open Source | Florian Schmaus | 3 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.StringIndexOutOfBoundsException

      length=0; index=-1

      at org.jivesoftware.smack.util.dns.HostAddress.<init>()
    2. org.jivesoftware.smack
      HostAddress.<init>
      1. org.jivesoftware.smack.util.dns.HostAddress.<init>(HostAddress.java:32)
      1 frame
    3. Smack
      DNSUtil.resolveXMPPDomain
      1. org.jivesoftware.smack.util.DNSUtil.resolveDomain(DNSUtil.java:140)
      2. org.jivesoftware.smack.util.DNSUtil.resolveXMPPDomain(DNSUtil.java:85)
      2 frames