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

GitHub | ilovemaui | 2 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    bug generating history for git repos with symlink to itself

    GitHub | 2 months ago | ilovemaui
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
  2. 0

    2 kinds of Indexing warning occur

    GitHub | 3 years ago | jiungbaek
    java.lang.NullPointerException
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Got "StringIndexOutOfBoundException" while indexing in SVN Repository

    GitHub | 3 years ago | sammyhk
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1

  1. filpgame 2 times, last 4 weeks ago
  2. gamebusterz 1 times, last 1 month ago
  3. jokester 3 times, last 2 months ago
  4. richard77 2 times, last 2 months ago
  5. MoYapro 1 times, last 3 months ago
21 more registered users
58 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.StringIndexOutOfBoundsException

    String index out of range: -1

    at java.lang.String.substring()
  2. Java RT
    String.substring
    1. java.lang.String.substring(String.java:1931)
    1 frame
  3. org.opensolaris.opengrok
    HistoryGuru$1.run
    1. org.opensolaris.opengrok.history.FileHistoryCache.isRenamedFile(FileHistoryCache.java:141)
    2. org.opensolaris.opengrok.history.FileHistoryCache.store(FileHistoryCache.java:394)
    3. org.opensolaris.opengrok.history.Repository.createCache(Repository.java:337)
    4. org.opensolaris.opengrok.history.HistoryGuru.createCache(HistoryGuru.java:509)
    5. org.opensolaris.opengrok.history.HistoryGuru.access$000(HistoryGuru.java:54)
    6. org.opensolaris.opengrok.history.HistoryGuru$1.run(HistoryGuru.java:560)
    6 frames
  4. Java RT
    Thread.run
    1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    2. java.util.concurrent.FutureTask.run(FutureTask.java:266)
    3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    5. java.lang.Thread.run(Thread.java:745)
    5 frames