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 lucene-solr-user by Robin Wojciki, 2 years ago
via lucene-solr-user by Robin Wojciki, 2 years ago
via GitHub by noahwh
, 1 year ago
via Stack Overflow by arch
, 2 years ago
java.lang.StringIndexOutOfBoundsException: String index out of range: -1	at java.lang.AbstractStringBuilder.replace(AbstractStringBuilder.java:797)	at java.lang.StringBuilder.replace(StringBuilder.java:271)	at com.googlecode.htmlcompressor.compressor.HtmlCompressor.returnBlocks(HtmlCompressor.java:163)	at com.googlecode.htmlcompressor.compressor.HtmlCompressor.compress(HtmlCompressor.java:107)	at cmdlinehtml.main(cmdlinehtml.java:40)