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

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 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.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)

Users with the same issue

Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
2 times, 1 year ago

Know the solutions? Share your knowledge to help other developers to debug faster.