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

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

java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.rangeCheck(Unknown Source)
at java.util.ArrayList.get(Unknown Source)
at com.comphenix.protocol.wrappers.EnumWrappers.getEnum(EnumWrappers.java:344)
at com.comphenix.protocol.wrappers.EnumWrappers.initialize(EnumWrappers.java:300)
at com.comphenix.protocol.wrappers.EnumWrappers.getPlayerInfoActionClass(EnumWrappers.java:392)
at com.comphenix.protocol.events.PacketContainer.getPlayerInfoAction(PacketContainer.java:772)
at fr.xephi.authme.listener.AuthMeTablistPacketAdapter.sendTablist(AuthMeTablistPacketAdapter.java:88)
at fr.xephi.authme.process.login.ProcessSyncPlayerLogin.processPlayerLogin(ProcessSyncPlayerLogin.java:110)
at fr.xephi.authme.process.SyncProcessManager$4.run(SyncProcessManager.java:69)
at org.bukkit.craftbukkit.v1_10_R1.scheduler.CraftTask.run(CraftTask.java:71)
at org.bukkit.craftbukkit.v1_10_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:350)
at net.minecraft.server.v1_10_R1.MinecraftServer.D(MinecraftServer.java:741)
at net.minecraft.server.v1_10_R1.DedicatedServer.D(DedicatedServer.java:399)
at net.minecraft.server.v1_10_R1.MinecraftServer.C(MinecraftServer.java:672)
at net.minecraft.server.v1_10_R1.MinecraftServer.run(MinecraftServer.java:571)
at java.lang.Thread.run(Unknown Source)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 5 months ago
Samebug visitor profile picture
Unknown user
Once, 9 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
262 more bugmates

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