java.lang.StringIndexOutOfBoundsException: String index out of range: -1

JIRA | Noah Levitt | 6 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

    StringIndexOutOfBounds

    GitHub | 6 years ago | FroMage
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    Detector.append(Reader) throws StringIndexOutOfBoundsException

    GitHub | 2 years ago | GoogleCodeExporter
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
  4. 0

    robovm 1.1 - when launching app: Launch failes

    GitHub | 2 years ago | svenalex
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.robovm:robovm-maven-plugin:1.2.0:iphone-sim (default-cli) on project robovm-samples-tabster-no-ib: Failed to launch IOS Simulator
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: -1

    at java.lang.String.<init>()
  2. Java RT
    String.<init>
    1. java.lang.String.<init>(String.java:207)
    1 frame
  3. webarchive-commons
    Recorder.getContentReplayPrefixString
    1. org.archive.util.Recorder.getContentReplayPrefixString(Recorder.java:513)
    1 frame
  4. org.archive.modules
    ProcessorChain.process
    1. org.archive.modules.extractor.ExtractorHTML.lookForEncodingInContent(ExtractorHTML.java:695)
    2. org.archive.modules.extractor.ExtractorHTML.innerExtract(ExtractorHTML.java:671)
    3. org.archive.modules.extractor.ContentExtractor.extract(ContentExtractor.java:37)
    4. org.archive.modules.extractor.Extractor.innerProcess(Extractor.java:101)
    5. org.archive.modules.Processor.innerProcessResult(Processor.java:175)
    6. org.archive.modules.Processor.process(Processor.java:142)
    7. org.archive.modules.ProcessorChain.process(ProcessorChain.java:131)
    7 frames
  5. org.archive.crawler
    ToeThread.run
    1. org.archive.crawler.framework.ToeThread.run(ToeThread.java:147)
    1 frame