java.lang.IndexOutOfBoundsException: Index: -1, 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

Solutions on the web

via GitHub by MAZUU
, 1 year ago
via GitHub by pveentjer
, 2 years ago
via GitHub by tomas-knap
, 2 years ago
via GitHub by ykim
, 9 months ago
Index: 3, Size: 1
java.lang.IndexOutOfBoundsException: Index: -1, Size: 0
at java.util.LinkedList.checkElementIndex(
at java.util.LinkedList.get(
at me.blackvein.quests.Quester.reachLocation(
at me.blackvein.quests.PlayerListener.onPlayerMove(
at sun.reflect.GeneratedMethodAccessor41.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
at java.lang.reflect.Method.invoke(
at org.bukkit.plugin.RegisteredListener.callEvent(
at org.bukkit.plugin.SimplePluginManager.fireEvent(
at org.bukkit.plugin.SimplePluginManager.callEvent(
at net.minecraft.server.v1_9_R2.PlayerConnection.a(
at net.minecraft.server.v1_9_R2.PacketPlayInFlying.a(SourceFile:126)
at net.minecraft.server.v1_9_R2.PacketPlayInFlying$PacketPlayInPositionLook.a(SourceFile:18)
at net.minecraft.server.v1_9_R2.PlayerConnectionUtils$
at java.util.concurrent.Executors$
at net.minecraft.server.v1_9_R2.SystemUtils.a(SourceFile:45)
at net.minecraft.server.v1_9_R2.MinecraftServer.D(
at net.minecraft.server.v1_9_R2.DedicatedServer.D(
at net.minecraft.server.v1_9_R2.MinecraftServer.C(

Users with the same issue

Once, 8 months ago
46 times, 1 year ago
4 times, 1 year ago
2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 8 months ago

Write tip

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