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


Samebug tips

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


,
via GitHub by Omertron

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


5 months ago
Expert tip

Solutions on the web

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

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

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

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

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

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

Solution icon of bugzilla
via Eclipse Bugzilla by channingwalton, 1 year 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
via Eclipse Bugzilla by rfuhrer, 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

2 times, 2 weeks ago
3 times, 11 months ago
4 times, 1 year ago
3 times, 1 month ago
Once, 1 month ago
103 more bugmates