java.lang.IndexOutOfBoundsException: Index: 1, Size: 1

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,

Thrown if trying to access an index which is out of bounds on objects like String, Array, or Vector. Any negative integer less than or equal to -1 and positive integer greater than or equal to the size of the object is an index which would be out of bounds

,
Expert tip

Thrown to indicate that an index of some sort (such as to an array, to a string, or to a vector) is out of range. Applications can subclass this class to indicate similar exceptions.

java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
at java.util.ArrayList.rangeCheck(Unknown Source)
at java.util.ArrayList.get(Unknown Source)
at tk.wurst_client.mods.AutoLeaveMod.setMode(AutoLeaveMod.java:104)
at tk.wurst_client.commands.LeaveCmd.execute(LeaveCmd.java:42)
at tk.wurst_client.commands.CmdManager.onSentMessage(CmdManager.java:118)
at net.minecraft.client.entity.EntityPlayerSP.sendChatMessage(EntityPlayerSP.java:334)
at net.minecraft.client.gui.GuiScreen.func_175281_b(GuiScreen.java:487)
at net.minecraft.client.gui.GuiScreen.func_175275_f(GuiScreen.java:477)
at net.minecraft.client.gui.GuiChat.keyTyped(GuiChat.java:132)
at net.minecraft.client.gui.GuiScreen.handleKeyboardInput(GuiScreen.java:617)
at net.minecraft.client.gui.GuiScreen.handleInput(GuiScreen.java:568)
at net.minecraft.client.Minecraft.runTick(Minecraft.java:1874)
at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1200)
at net.minecraft.client.Minecraft.run(Minecraft.java:380)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Once, 1 week ago
4 times, 2 weeks ago
4 times, 4 weeks ago
Once, 1 month ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.