java.lang.StringIndexOutOfBoundsException

String index out of range: -2

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web58

  • via Unknown by Shannon Ma,
  • Stack trace

    • 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(Worker.java:240) at org.apache.kafka.connect.runtime.Worker.getConnectorClass(Worker.java:226) at org.apache.kafka.connect.runtime.Worker.startConnector(Worker.java:166) at org.apache.kafka.connect.runtime.distributed.DistributedHerder.startConnector(DistributedHerder.java:789) at org.apache.kafka.connect.runtime.distributed.DistributedHerder.startWork(DistributedHerder.java:755) at org.apache.kafka.connect.runtime.distributed.DistributedHerder.handleRebalanceCompleted(DistributedHerder.java:715) at org.apache.kafka.connect.runtime.distributed.DistributedHerder.tick(DistributedHerder.java:206) at org.apache.kafka.connect.runtime.distributed.DistributedHerder.run(DistributedHerder.java:176) at java.lang.Thread.run(Unknown Source)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,