java.lang.ArrayIndexOutOfBoundsException: 2

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.ArrayIndexOutOfBoundsException: 2
at me.gnat008.perworldinventory.PerWorldInventory.checkServerVersion(PerWorldInventory.java:226)
at me.gnat008.perworldinventory.PerWorldInventory.onEnable(PerWorldInventory.java:102)
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:292)
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:340)
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405)
at org.bukkit.craftbukkit.v1_9_R1.CraftServer.loadPlugin(CraftServer.java:361)
at org.bukkit.craftbukkit.v1_9_R1.CraftServer.enablePlugins(CraftServer.java:321)
at org.bukkit.craftbukkit.v1_9_R1.CraftServer.reload(CraftServer.java:745)
at org.bukkit.Bukkit.reload(Bukkit.java:539)
at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:25)
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141)
at org.bukkit.craftbukkit.v1_9_R1.CraftServer.dispatchCommand(CraftServer.java:645)
at net.minecraft.server.v1_9_R1.PlayerConnection.handleCommand(PlayerConnection.java:1350)
at net.minecraft.server.v1_9_R1.PlayerConnection.a(PlayerConnection.java:1185)
at net.minecraft.server.v1_9_R1.PacketPlayInChat.a(PacketPlayInChat.java:45)
at net.minecraft.server.v1_9_R1.PacketPlayInChat.a(PacketPlayInChat.java:1)
at net.minecraft.server.v1_9_R1.PlayerConnectionUtils$1.run(SourceFile:13)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at net.minecraft.server.v1_9_R1.SystemUtils.a(SourceFile:45)
at net.minecraft.server.v1_9_R1.MinecraftServer.D(MinecraftServer.java:721)
at net.minecraft.server.v1_9_R1.DedicatedServer.D(DedicatedServer.java:400)
at net.minecraft.server.v1_9_R1.MinecraftServer.C(MinecraftServer.java:660)
at net.minecraft.server.v1_9_R1.MinecraftServer.run(MinecraftServer.java:559)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

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