java.lang.IndexOutOfBoundsException: Index: 21, Size: 6

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.

Solutions on the web

via GitHub by hmbigburt
, 2 years ago
Index: 34, Size: 14
via paste.ee by Unknown author, 1 year ago
Index: 31, Size: 0
via GitHub by hex1337
, 1 year ago
Index: 23, Size: 23
via espertech.com by Unknown author, 1 year ago
Index: 0, Size: 0
java.lang.IndexOutOfBoundsException: Index: 21, Size: 6
at java.util.ArrayList.rangeCheck(Unknown Source)
at java.util.ArrayList.get(Unknown Source)
at invtweaks.forge.ClientProxy.slotClick(ClientProxy.java:94)
at invtweaks.InvTweaksContainerManager.click(InvTweaksContainerManager.java:266)
at invtweaks.InvTweaksContainerManager.leftClick(InvTweaksContainerManager.java:253)
at invtweaks.InvTweaksContainerManager.move(InvTweaksContainerManager.java:159)
at invtweaks.InvTweaksContainerSectionManager.move(InvTweaksContainerSectionManager.java:41)
at invtweaks.InvTweaksHandlerAutoRefill$1.run(InvTweaksHandlerAutoRefill.java:195)
at invtweaks.InvTweaks$1.run(InvTweaks.java:122)
at invtweaks.InvTweaks.onTick(InvTweaks.java:479)
at invtweaks.InvTweaks.onTickInGame(InvTweaks.java:132)
at invtweaks.forge.ForgeClientTick.onTick(ForgeClientTick.java:24)
at cpw.mods.fml.common.eventhandler.ASMEventHandler_1286_ForgeClientTick_onTick_ClientTickEvent.invoke(.dynamic)
at cpw.mods.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:54)
at cpw.mods.fml.common.eventhandler.EventBus.post(EventBus.java:140)
at net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:1587)
at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:973)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:898)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)

Users with the same issue

Once, 1 day ago
2 times, 1 week ago
9 times, 1 week ago
Once, 2 weeks ago
523 times, 2 weeks ago

Write tip

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