java.lang.StringIndexOutOfBoundsException

tip

Thrown by String methods to indicate that an index is either negative or greater than the size of the string. For some methods such as the charAt method, this exception also is thrown when the index is equal to the size of the string.


rafaelrafael

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • Below was found by Igor running the exploratory FR crawl. 20041209011533493 -5 11475 http://bullsentry.bull.fr/cgi/wway_authent?TdsName=PILX E http://bullsentry.bull.fr/ text/html #013 1380 EM475G2IMELF5KHNEIRG3JBN7HBVWJJD - ^^^^^^^^^^^^^^^^^^^^^^^^^ i. -------- Original Message -------- Subject: UURIFactory -- String index out of range Date: Wed, 08 Dec 2004 17:12:03 -0800 From: Igor Ranitovic <igor@archive.org> To: Michael Stack <stack@archive.org> Title: Problem occured processing 'http://bullsentry.bull.fr/cgi/wway_authent?TdsName=PILX' Time: Dec. 9, 2004 01:15:42 GMT Level: SEVERE Message: Problem java.lang.StringIndexOutOfBoundsException: String index out of range: 0 occured when trying to process 'http://bullsentry.bull.fr/cgi/wway_authent?TdsName=PILX' at step ABOUT_TO_BEGIN_PROCESSOR Associated Throwable: java.lang.StringIndexOutOfBoundsException: String index out of range: 0 Message: String index out of range: 0 Stacktrace: java.lang.StringIndexOutOfBoundsException: String index out of range: 0 at java.lang.String.charAt(String.java:558) at org.archive.crawler.datamodel.UURIFactory.checkPort(UURIFactory.java:630) at org.archive.crawler.datamodel.UURIFactory.fixup(UURIFactory.java:488) at org.archive.crawler.datamodel.UURIFactory.create(UURIFactory.java:306) at org.archive.crawler.datamodel.UURIFactory.getInstance(UURIFactory.java:267) at org.archive.crawler.postprocessor.Postselector.handleLinkCollection(Postsel ector.java:351) at org.archive.crawler.postprocessor.Postselector.innerProcess(Postselector.ja va:178) at org.archive.crawler.framework.Processor.process(Processor.java:102) at org.archive.crawler.framework.ToeThread.processCrawlUri(ToeThread.java:264) at org.archive.crawler.framework.ToeThread.run(ToeThread.java:140)
    via by Michael Stack,
  • Below was found by Igor running the exploratory FR crawl. 20041209011533493 -5 11475 http://bullsentry.bull.fr/cgi/wway_authent?TdsName=PILX E http://bullsentry.bull.fr/ text/html #013 1380 EM475G2IMELF5KHNEIRG3JBN7HBVWJJD - ^^^^^^^^^^^^^^^^^^^^^^^^^ i. -------- Original Message -------- Subject: UURIFactory -- String index out of range Date: Wed, 08 Dec 2004 17:12:03 -0800 From: Igor Ranitovic <igor@archive.org> To: Michael Stack <stack@archive.org> Title: Problem occured processing 'http://bullsentry.bull.fr/cgi/wway_authent?TdsName=PILX' Time: Dec. 9, 2004 01:15:42 GMT Level: SEVERE Message: Problem java.lang.StringIndexOutOfBoundsException: String index out of range: 0 occured when trying to process 'http://bullsentry.bull.fr/cgi/wway_authent?TdsName=PILX' at step ABOUT_TO_BEGIN_PROCESSOR Associated Throwable: java.lang.StringIndexOutOfBoundsException: String index out of range: 0 Message: String index out of range: 0 Stacktrace: java.lang.StringIndexOutOfBoundsException: String index out of range: 0 at java.lang.String.charAt(String.java:558) at org.archive.crawler.datamodel.UURIFactory.checkPort(UURIFactory.java:630) at org.archive.crawler.datamodel.UURIFactory.fixup(UURIFactory.java:488) at org.archive.crawler.datamodel.UURIFactory.create(UURIFactory.java:306) at org.archive.crawler.datamodel.UURIFactory.getInstance(UURIFactory.java:267) at org.archive.crawler.postprocessor.Postselector.handleLinkCollection(Postsel ector.java:351) at org.archive.crawler.postprocessor.Postselector.innerProcess(Postselector.ja va:178) at org.archive.crawler.framework.Processor.process(Processor.java:102) at org.archive.crawler.framework.ToeThread.processCrawlUri(ToeThread.java:264) at org.archive.crawler.framework.ToeThread.run(ToeThread.java:140)
    via by Michael Stack,
  • Web Services Tutorial with Apache CXF | Ben McCann
    via by Unknown author,
  • bug? discrepancy with (get ...)
    via by jon,
    • java.lang.StringIndexOutOfBoundsException: String index out of range: 0 at java.lang.String.charAt(String.java:558) at org.archive.crawler.datamodel.UURIFactory.checkPort(UURIFactory.java:630) at org.archive.crawler.datamodel.UURIFactory.fixup(UURIFactory.java:484) at org.archive.crawler.datamodel.UURIFactory.create(UURIFactory.java:306) at org.archive.crawler.datamodel.UURIFactory.getInstance(UURIFactory.java:267) at org.archive.crawler.postprocessor.Postselector.handleLinkCollection(Postselector.java:349) at org.archive.crawler.postprocessor.Postselector.innerProcess(Postselector.java:166) at org.archive.crawler.framework.Processor.process(Processor.java:102) at org.archive.crawler.framework.ToeThread.processCrawlUri(ToeThread.java:255) at org.archive.crawler.framework.ToeThread.run(ToeThread.java:131)

    Users with the same issue

    poroszdporoszd
    12 times, last one,
    olle.hallinolle.hallin
    1 times, last one,
    linxiaolonglinxiaolong
    1 times, last one,
    jokesterjokester
    1 times, last one,
    tyson925tyson925
    1 times, last one,
    30 more bugmates