java.lang.IndexOutOfBoundsException

Index: 21, Size: 6


Samebug tips1

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.

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.


Solutions on the web6772

Solution icon of github
Index: 21, Size: 6

Solution icon of coderanch
Index: 21, Size: 21

Solution icon of bugzilla
via Netbeans Bugzilla by myersj, 1 month ago
Index: 21, Size: 21

Solution icon of googlegroups
via Google Groups by David Hoffer, 1 year ago
Index: 21, Size: 21

Solution icon of web
Index: 21, Size: 21

Solution icon of bugzilla
via Netbeans Bugzilla by jsantander, 1 month ago
Index: 21, Size: 21

Solution icon of web
Index: 21, Size: 21

Solution icon of coderanch
via Coderanch by shalini gnana, 10 months ago
Index: 21, Size: 21

Solution icon of bugzilla
via Eclipse Bugzilla by benno.baumgartner, 1 year ago
Index: 6, Size: 6

Solution icon of github
Index: 6, Size: 6

Stack trace

  • java.lang.IndexOutOfBoundsException: Index: 21, Size: 6 at java.util.ArrayList.rangeCheck(Unknown Source) at java.util.ArrayList.get(Unknown Source) at net.minecraft.inventory.Container.func_75144_a(SourceFile:206) 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 cpw.mods.fml.common.FMLCommonHandler.onPreClientTick(FMLCommonHandler.java:325) 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 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, 2 years ago
Samebug visitor profile picture
Unknown user
12 times, 6 months ago
Samebug visitor profile picture
Unknown user
Once, 2 weeks ago
Samebug visitor profile picture
Unknown user
Once, 2 months ago
Samebug visitor profile picture
Unknown user
Once, 6 months ago
243 more bugmates