Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via JIRA by Noah Levitt, 1 year ago
via JIRA by Noah Levitt, 1 year ago
via Oracle Community by 807553, 1 year ago
String index out of range: -1
via GitHub by dankurka
, 2 years ago
String index out of range: 662
via Netbeans Bugzilla by dpenton, 1 year ago
java.lang.StringIndexOutOfBoundsException: String index out of range: -1	at java.lang.String.(String.java:207)	at org.archive.util.Recorder.getContentReplayPrefixString(Recorder.java:513)	at org.archive.modules.extractor.ExtractorHTML.lookForEncodingInContent(ExtractorHTML.java:695)	at org.archive.modules.extractor.ExtractorHTML.innerExtract(ExtractorHTML.java:671)	at org.archive.modules.extractor.ContentExtractor.extract(ContentExtractor.java:37)	at org.archive.modules.extractor.Extractor.innerProcess(Extractor.java:101)	at org.archive.modules.Processor.innerProcessResult(Processor.java:175)	at org.archive.modules.Processor.process(Processor.java:142)	at org.archive.modules.ProcessorChain.process(ProcessorChain.java:131)	at org.archive.crawler.framework.ToeThread.run(ToeThread.java:147)