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 web4670

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(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

Samebug visitor profile picture
Unknown user
Once, 11 months 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
Samebug visitor profile picture
Unknown user
Once, 1 year ago
95 more bugmates