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

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

Solutions on the web

java.lang.IndexOutOfBoundsException: Index: -1, Size: 36
at java.util.ArrayList$SubList.rangeCheck(ArrayList.java:1217)
at java.util.ArrayList$SubList.get(ArrayList.java:1034)
at invtweaks.InvTweaksContainerManager.indexToSlot(InvTweaksContainerManager.java:446)
at invtweaks.InvTweaksContainerManager.getItemStack(InvTweaksContainerManager.java:409)
at invtweaks.InvTweaksContainerSectionManager.getItemStack(InvTweaksContainerSectionManager.java:105)
at invtweaks.InvTweaksHandlerAutoRefill$1.run(InvTweaksHandlerAutoRefill.java:191)
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_1110_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(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)

Users with the same issue

4 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

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