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(Unknown Source)
	at com.chaosthedude.notes.gui.GuiNoteTextField.getSelectedText(GuiNoteTextField.java:604)
	at com.chaosthedude.notes.gui.GuiNoteTextField.keyTyped(GuiNoteTextField.java:68)
	at com.chaosthedude.notes.gui.GuiEditNote.func_73869_a(GuiEditNote.java:108)
	at net.minecraft.client.gui.GuiScreen.func_146282_l(GuiScreen.java:319)
	at net.minecraft.client.gui.GuiScreen.func_146269_k(GuiScreen.java:276)
	at net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:1640)
	at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:973)
	at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:898)
	at net.minecraft.client.main.Main.main(SourceFile:148)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
	at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

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

Once, 1 month ago
Samebug visitor profile picture
Unknown user
Once, 1 month ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
103 more bugmates