java.lang.StringIndexOutOfBoundsException

String index out of range: -1


Samebug tips2

You need to make sure that capitalisation of the case for the plugin in the properties file is exactly: "AllocinePlugin" and not "allocineplugin"

This is a bug when using Micromax devices with VideoView. You can either exclude these devices or look at this workaround: http://stackoverflow.com/a/31942841/4347859

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


Solutions on the web4669

Solution icon of coderanch
via Coderanch by virga, 8 months ago
String index out of range: -1

Solution icon of coderanch
via Coderanch by Kari Nordmann, 10 months ago
String index out of range: -1

Solution icon of coderanch
via Coderanch by Khaly Silverman, 10 months ago
String index out of range: -1

Solution icon of coderanch
via Coderanch by Rahul Mahindrakar, 9 months ago
String index out of range: -1

Solution icon of coderanch
via Coderanch by David Yutzy, 9 months ago
String index out of range: -1

Solution icon of bugzilla
String index out of range: 1

Solution icon of bugzilla
String index out of range: -1

Solution icon of bugzilla
String index out of range: -1

Solution icon of bugzilla
via Eclipse Bugzilla by anton.leherbauer, 1 year ago
String index out of range: -1

Solution icon of bugzilla
via Eclipse Bugzilla by todd.gochenour, 1 year ago
String index out of range: -1

Stack trace

  • java.lang.StringIndexOutOfBoundsException: String index out of range: -1 at java.lang.String.substring(String.java:1931) at org.opensolaris.opengrok.history.FileHistoryCache.isRenamedFile(FileHistoryCache.java:141) at org.opensolaris.opengrok.history.FileHistoryCache.store(FileHistoryCache.java:394) at org.opensolaris.opengrok.history.Repository.createCache(Repository.java:337) at org.opensolaris.opengrok.history.HistoryGuru.createCache(HistoryGuru.java:509) at org.opensolaris.opengrok.history.HistoryGuru.access$000(HistoryGuru.java:54) at org.opensolaris.opengrok.history.HistoryGuru$1.run(HistoryGuru.java:560) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745)

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

3 times, 9 months ago
4 times, 10 months ago
Once, 2 months ago
2 times, 3 months ago
2 times, 7 months ago
95 more bugmates