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

JIRA | Michael Stack | 1 decade ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to rafael . Or join the community to write better ones.
  1. 0

    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)

    JIRA | 1 decade ago | Michael Stack
    java.lang.StringIndexOutOfBoundsException: String index out of range: 0
  2. 0
    samebug 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.
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    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)

    JIRA | 1 decade ago | Michael Stack
    java.lang.StringIndexOutOfBoundsException: String index out of range: 0

  1. poroszd 12 times, last 2 weeks ago
  2. linxiaolong 1 times, last 2 months ago
  3. jokester 1 times, last 3 months ago
  4. tyson925 1 times, last 3 months ago
  5. Torasque 1 times, last 4 months ago
11 more registered users
18 unregistered visitors
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.String.charAt()
  2. Java RT
    String.charAt
    1. java.lang.String.charAt(String.java:558)
    1 frame
  3. org.archive.crawler
    ToeThread.run
    1. org.archive.crawler.datamodel.UURIFactory.checkPort(UURIFactory.java:630)
    2. org.archive.crawler.datamodel.UURIFactory.fixup(UURIFactory.java:484)
    3. org.archive.crawler.datamodel.UURIFactory.create(UURIFactory.java:306)
    4. org.archive.crawler.datamodel.UURIFactory.getInstance(UURIFactory.java:267)
    5. org.archive.crawler.postprocessor.Postselector.handleLinkCollection(Postselector.java:349)
    6. org.archive.crawler.postprocessor.Postselector.innerProcess(Postselector.java:166)
    7. org.archive.crawler.framework.Processor.process(Processor.java:102)
    8. org.archive.crawler.framework.ToeThread.processCrawlUri(ToeThread.java:255)
    9. org.archive.crawler.framework.ToeThread.run(ToeThread.java:131)
    9 frames