Betterverse/BetterDevAdditions — Issue #2: EventException.
Author: Asphodan
Created: 2012-02-18 06:58:00+00:00
State: open

00:58:26 [SEVERE] Could not pass event org.bukkit.event.player.PlayerMoveEvent to BetterDevAdditions
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$103.execute(JavaPluginLoader.java:1026)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:61)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:460)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:191)
at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:687)
at net.minecraft.server.Packet10Flying.handle(SourceFile:126)
at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:100)
at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:552)
at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78)
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:537)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:435)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedMethodAccessor54.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.bukkit.plugin.java.JavaPluginLoader$103.execute(JavaPluginLoader.java:1024)
... 12 more
Caused by: java.lang.ArrayIndexOutOfBoundsException: -1
at net.bettercraft.betterdevadditions.WeightedMaterialPicker.get(WeightedMaterialPicker.java:29)
at net.bettercraft.betterdevadditions.OKPlayerListener.replace(OKPlayerListener.java:69)
at net.bettercraft.betterdevadditions.OKPlayerListener.onPlayerMove(OKPlayerListener.java:57)
... 16 more
00:58:26 [SEVERE] Could not pass event org.bukkit.event.player.PlayerMoveEvent to BetterDevAdditions
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$103.execute(JavaPluginLoader.java:1026)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:61)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:460)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:191)
at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:687)
at net.minecraft.server.Packet10Flying.handle(SourceFile:126)
at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:100)
at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:552)
at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78)
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:537)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:435)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedMethodAccessor54.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.bukkit.plugin.java.JavaPluginLoader$103.execute(JavaPluginLoader.java:1024)
... 12 more
Caused by: java.lang.ArrayIndexOutOfBoundsException: -1
at net.bettercraft.betterdevadditions.WeightedMaterialPicker.get(WeightedMaterialPicker.java:29)
at net.bettercraft.betterdevadditions.OKPlayerListener.replace(OKPlayerListener.java:69)
at net.bettercraft.betterdevadditions.OKPlayerListener.onPlayerMove(OKPlayerListener.java:57)
... 16 more