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

Coderanch | Andrew Stallard | 7 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. 0

    Assigning values to variables in constructors

    Coderanch | 7 years ago | Andrew Stallard
    java.lang.StringIndexOutOfBoundsException: String index out of range: 5
  2. 0

    'null' URL allowed in maven service configurable

    YouTrack | 5 years ago
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
  3. 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 | 9 years ago | Olaf Freyer
    java.lang.StringIndexOutOfBoundsException: String index out of range: 0
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 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 | 9 years ago | Olaf Freyer
    java.lang.StringIndexOutOfBoundsException: String index out of range: 0
  6. 0

    How to solve this error in EBS 12.1.3 (database-11gR1)

    Oracle Community | 3 years ago | 989156
    java.lang.StringIndexOutOfBoundsException: String index out of range: 7575

    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: 5

      at java.lang.StringBuffer.charAt()
    2. Java RT
      StringBuffer.charAt
      1. java.lang.StringBuffer.charAt(StringBuffer.java:162)
      1 frame
    3. Unknown
      CSTest.main
      1. CSTest.charAt(CSTest.java:21)
      2. CSTest.main(CSTest.java:27)
      2 frames