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.


7 months ago
Expert tip

Solutions on the web2145

Solution icon of github
Index: 21, Size: 6

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

Solution icon of github
Index: 6, Size: 6

Solution icon of sourceforge
Index: 6, Size: 6

Solution icon of web
Index: 6, Size: 6

Solution icon of github
Index: 6, Size: 6

Solution icon of github
Index: 6, Size: 6

Solution icon of github
Index: 6, Size: 6

Solution icon of github
via GitHub by triStone
, 1 year ago
Index: 6, Size: 6

Solution icon of googlegroups
via Google Groups by Unknown author, 4 months ago
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, 8 months ago
Samebug visitor profile picture
Unknown user
Once, 2 months ago
Samebug visitor profile picture
Unknown user
Once, 4 months ago
Samebug visitor profile picture
Unknown user
Once, 8 months ago
255 more bugmates