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 Google Groups by Shannon Ma, 1 year ago
String index out of range: -2
via GitHub by eliac
, 2 years ago
via Coderanch by Tushar Goel, 1 year ago
via GitHub by davidtinker
, 1 year ago
java.lang.StringIndexOutOfBoundsException: String index out of range: -2	at java.lang.AbstractStringBuilder.substring(Unknown Source)	at java.lang.StringBuilder.substring(Unknown Source)	at org.apache.kafka.connect.runtime.Worker.connectorNames(	at org.apache.kafka.connect.runtime.Worker.getConnectorClass(	at org.apache.kafka.connect.runtime.Worker.startConnector(	at org.apache.kafka.connect.runtime.distributed.DistributedHerder.startConnector(	at org.apache.kafka.connect.runtime.distributed.DistributedHerder.startWork(	at org.apache.kafka.connect.runtime.distributed.DistributedHerder.handleRebalanceCompleted(	at org.apache.kafka.connect.runtime.distributed.DistributedHerder.tick(	at	at Source)