lycano/Wormhole-X-Treme — Issue #13: Bug in Stargate3DShape file parser
Author: lycano
Created: 2011-10-12 14:18:04+00:00
State: open

14:55:58 [SCHWERWIEGEND] Could not pass event PLAYER_INTERACT to WormholeXTreme
java.lang.ArrayIndexOutOfBoundsException: -1
at java.util.ArrayList.get(ArrayList.java:324)
at de.luricos.bukkit.WormholeXTreme.Wormhole.logic.StargateHelper.checkStargate3D(StargateHelper.java:297)
at de.luricos.bukkit.WormholeXTreme.Wormhole.logic.StargateHelper.checkStargate(StargateHelper.java:111)
at de.luricos.bukkit.WormholeXTreme.Wormhole.listeners.WormholeXTremePlayerListener.buttonLeverHit(WormholeXTremePlayerListener.java:137)
at de.luricos.bukkit.WormholeXTreme.Wormhole.listeners.WormholeXTremePlayerListener.handlePlayerInteractEvent(WormholeXTremePlayerListener.java:330)
at de.luricos.bukkit.WormholeXTreme.Wormhole.listeners.WormholeXTremePlayerListener.onPlayerInteract(WormholeXTremePlayerListener.java:546)
at org.bukkit.plugin.java.JavaPluginLoader$11.execute(JavaPluginLoader.java:314)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:168)
at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:259)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:592)
at net.minecraft.server.Packet15Place.a(SourceFile:57)
at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:464)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
>
14:56:10 [SCHWERWIEGEND] Could not pass event PLAYER_INTERACT to WormholeXTreme
java.lang.ArrayIndexOutOfBoundsException
>
14:56:12 [SCHWERWIEGEND] Could not pass event PLAYER_INTERACT to WormholeXTreme
java.lang.ArrayIndexOutOfBoundsException
>

--> ActivationLayer was not found so it fallbacks to -1
--> Add Exception if such error occures and mark the shape as invalid