java.lang.StringIndexOutOfBoundsException: String index out of range: 0

JIRA | Olaf Freyer | 8 years ago
  1. 0

    Problem java.lang.StringIndexOutOfBoundsException: String index out of range: 0 occured when trying to process 'http://www.indefighter.com/hp/news/index.php?action=show&id=58' at step ABOUT_TO_BEGIN_PROCESSOR in ExtractorHTML (in thread 'ToeThread #47: http://www.indefighter.com/hp/news/index.php?action=show&id=58'; in processor 'ExtractorHTML') java.lang.StringIndexOutOfBoundsException: String index out of range: 0 Stacktrace: java.lang.StringIndexOutOfBoundsException: String index out of range: 0 at java.lang.StringBuffer.charAt(StringBuffer.java:162) at gnu.inet.encoding.NFKC.canonicalOrdering(NFKC.java:161) at gnu.inet.encoding.NFKC.normalizeNFKC(NFKC.java:58) at gnu.inet.encoding.Stringprep.nameprep(Stringprep.java:42) at gnu.inet.encoding.IDNA.toASCII(IDNA.java:89) at gnu.inet.encoding.IDNA.toASCII(IDNA.java:55) at org.archive.net.UURIFactory.fixupDomainlabel(UURIFactory.java:646) at org.archive.net.UURIFactory.fixupAuthority(UURIFactory.java:608) at org.archive.net.UURIFactory.fixup(UURIFactory.java:470) at org.archive.net.UURIFactory.create(UURIFactory.java:340) at org.archive.net.UURIFactory.getInstance(UURIFactory.java:289) at org.archive.crawler.datamodel.CrawlURI.createAndAddLinkRelativeToBase(CrawlURI.java:1314) at org.archive.crawler.extractor.ExtractorHTML.addLinkFromString(ExtractorHTML.java:477) at org.archive.crawler.extractor.ExtractorHTML.processLink(ExtractorHTML.java:462) at org.archive.crawler.extractor.ExtractorHTML.processGeneralTag(ExtractorHTML.java:285) at org.archive.crawler.extractor.ExtractorHTML.extract(ExtractorHTML.java:611) at org.archive.crawler.extractor.ExtractorHTML.extract(ExtractorHTML.java:557) at org.archive.crawler.extractor.Extractor.innerProcess(Extractor.java:67) at org.archive.crawler.framework.Processor.process(Processor.java:112) at org.archive.crawler.framework.ToeThread.processCrawlUri(ToeThread.java:302) at org.archive.crawler.framework.ToeThread.run(ToeThread.java:151)

    JIRA | 8 years ago | Olaf Freyer
    java.lang.StringIndexOutOfBoundsException: String index out of range: 0
  2. 0

    Problem java.lang.StringIndexOutOfBoundsException: String index out of range: 0 occured when trying to process 'http://www.indefighter.com/hp/news/index.php?action=show&id=58' at step ABOUT_TO_BEGIN_PROCESSOR in ExtractorHTML (in thread 'ToeThread #47: http://www.indefighter.com/hp/news/index.php?action=show&id=58'; in processor 'ExtractorHTML') java.lang.StringIndexOutOfBoundsException: String index out of range: 0 Stacktrace: java.lang.StringIndexOutOfBoundsException: String index out of range: 0 at java.lang.StringBuffer.charAt(StringBuffer.java:162) at gnu.inet.encoding.NFKC.canonicalOrdering(NFKC.java:161) at gnu.inet.encoding.NFKC.normalizeNFKC(NFKC.java:58) at gnu.inet.encoding.Stringprep.nameprep(Stringprep.java:42) at gnu.inet.encoding.IDNA.toASCII(IDNA.java:89) at gnu.inet.encoding.IDNA.toASCII(IDNA.java:55) at org.archive.net.UURIFactory.fixupDomainlabel(UURIFactory.java:646) at org.archive.net.UURIFactory.fixupAuthority(UURIFactory.java:608) at org.archive.net.UURIFactory.fixup(UURIFactory.java:470) at org.archive.net.UURIFactory.create(UURIFactory.java:340) at org.archive.net.UURIFactory.getInstance(UURIFactory.java:289) at org.archive.crawler.datamodel.CrawlURI.createAndAddLinkRelativeToBase(CrawlURI.java:1314) at org.archive.crawler.extractor.ExtractorHTML.addLinkFromString(ExtractorHTML.java:477) at org.archive.crawler.extractor.ExtractorHTML.processLink(ExtractorHTML.java:462) at org.archive.crawler.extractor.ExtractorHTML.processGeneralTag(ExtractorHTML.java:285) at org.archive.crawler.extractor.ExtractorHTML.extract(ExtractorHTML.java:611) at org.archive.crawler.extractor.ExtractorHTML.extract(ExtractorHTML.java:557) at org.archive.crawler.extractor.Extractor.innerProcess(Extractor.java:67) at org.archive.crawler.framework.Processor.process(Processor.java:112) at org.archive.crawler.framework.ToeThread.processCrawlUri(ToeThread.java:302) at org.archive.crawler.framework.ToeThread.run(ToeThread.java:151)

    JIRA | 8 years ago | Olaf Freyer
    java.lang.StringIndexOutOfBoundsException: String index out of range: 0
  3. 0

    during my last crawl with heritrix-1.8.0 I encountered: 2006-08-08T12:49:11.928Z -5 71275 http://groups.google.com/group/alt.support.marriage/browse_thread/thread/59 c214466a7518f0/3f3fe0e0e38b70a8 LLLL http://groups.google.com/group/alt.support.marriage?lnk=hppg text/html #006 20060808124905809+6084 JTTJVFPHSWVKOL54ATSJIGBL55ND76DI http://www.uni-ulm.de/ err=java.lang.StringIndexOutOfBoundsException java.lang.StringIndexOutOfBoundsException: String index out of range: 0 at java.lang.StringBuffer.charAt(StringBuffer.java:163) at gnu.inet.encoding.NFKC.canonicalOrdering(NFKC.java:161) at gnu.inet.encoding.NFKC.normalizeNFKC(NFKC.java:58) at gnu.inet.encoding.Stringprep.nameprep(Stringprep.java:42) at gnu.inet.encoding.IDNA.toASCII(IDNA.java:89) at gnu.inet.encoding.IDNA.toASCII(IDNA.java:55) at org.archive.net.UURIFactory.fixupDomainlabel(UURIFactory.java:612) at org.archive.net.UURIFactory.fixupAuthority(UURIFactory.java:574) at org.archive.net.UURIFactory.fixup(UURIFactory.java:476) at org.archive.net.UURIFactory.create(UURIFactory.java:336) at org.archive.net.UURIFactory.getInstance(UURIFactory.java:285) at org.archive.crawler.datamodel.CrawlURI.createAndAddLinkRelativeToBase(Crawl URI.java:1174) at org.archive.crawler.extractor.ExtractorHTML.addLinkFromString(ExtractorHTML .java:414) at org.archive.crawler.extractor.ExtractorHTML.processLink(ExtractorHTML.java: 402) at org.archive.crawler.extractor.ExtractorHTML.processGeneralTag(ExtractorHTML .java:232) at org.archive.crawler.extractor.ExtractorHTML.extract(ExtractorHTML.java:538) at org.archive.crawler.extractor.ExtractorHTML.extract(ExtractorHTML.java:483) at org.archive.crawler.extractor.Extractor.innerProcess(Extractor.java:67) at org.archive.crawler.framework.Processor.process(Processor.java:103) at org.archive.crawler.framework.ToeThread.processCrawlUri(ToeThread.java:306) at org.archive.crawler.framework.ToeThread.run(ToeThread.java:153)

    JIRA | 10 years ago | (sourceforge)
    java.lang.StringIndexOutOfBoundsException: String index out of range: 0
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Mastermind game in java

    Stack Overflow | 3 years ago | user3423682
    java.lang.StringIndexOutOfBoundsException: String index out of range: 0
  6. 0

    Workbench hangs

    Oracle Community | 1 decade ago | 295508
    java.lang.StringIndexOutOfBoundsException: String index out of range: 0

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.StringIndexOutOfBoundsException

      String index out of range: 0

      at java.lang.StringBuffer.charAt()
    2. Java RT
      StringBuffer.charAt
      1. java.lang.StringBuffer.charAt(StringBuffer.java:162)
      1 frame
    3. GNU IDN Library
      IDNA.toASCII
      1. gnu.inet.encoding.NFKC.canonicalOrdering(NFKC.java:161)
      2. gnu.inet.encoding.NFKC.normalizeNFKC(NFKC.java:58)
      3. gnu.inet.encoding.Stringprep.nameprep(Stringprep.java:42)
      4. gnu.inet.encoding.IDNA.toASCII(IDNA.java:89)
      5. gnu.inet.encoding.IDNA.toASCII(IDNA.java:55)
      5 frames
    4. webarchive-commons
      UURIFactory.getInstance
      1. org.archive.net.UURIFactory.fixupDomainlabel(UURIFactory.java:646)
      2. org.archive.net.UURIFactory.fixupAuthority(UURIFactory.java:608)
      3. org.archive.net.UURIFactory.fixup(UURIFactory.java:470)
      4. org.archive.net.UURIFactory.create(UURIFactory.java:340)
      5. org.archive.net.UURIFactory.getInstance(UURIFactory.java:289)
      5 frames
    5. org.archive.crawler
      ToeThread.run
      1. org.archive.crawler.datamodel.CrawlURI.createAndAddLinkRelativeToBase(CrawlURI.java:1314)
      2. org.archive.crawler.extractor.ExtractorHTML.addLinkFromString(ExtractorHTML.java:477)
      3. org.archive.crawler.extractor.ExtractorHTML.processLink(ExtractorHTML.java:462)
      4. org.archive.crawler.extractor.ExtractorHTML.processGeneralTag(ExtractorHTML.java:285)
      5. org.archive.crawler.extractor.ExtractorHTML.extract(ExtractorHTML.java:611)
      6. org.archive.crawler.extractor.ExtractorHTML.extract(ExtractorHTML.java:557)
      7. org.archive.crawler.extractor.Extractor.innerProcess(Extractor.java:67)
      8. org.archive.crawler.framework.Processor.process(Processor.java:112)
      9. org.archive.crawler.framework.ToeThread.processCrawlUri(ToeThread.java:302)
      10. org.archive.crawler.framework.ToeThread.run(ToeThread.java:151)
      10 frames