Constant PlayerInteractEvent errors crashing my server! #544

Open
SatoAV opened this Issue Feb 24, 2013 · 3 comments

Projects

None yet

2 participants

@SatoAV
SatoAV commented Feb 24, 2013

I run MCPC+ 1.4.7 R1.1 Server and since I've updated to 1.4.7 my console is overloaded with following error:

2013-02-24 07:12:11 [SEVERE] Could not pass event PlayerInteractEvent to LWC v4.3.1 (b837-git-MANUAL) (February 22, 2013)
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:394)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462)
at org.bukkit.craftbukkit.v1_4_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:160)
at ir.a(ItemInWorldManager.java:173)
at iv.a(NetServerHandler.java:782)
at ei.a(Packet14BlockDig.java:67)
at cg.b(TcpConnection.java:467)
at iv.d(NetServerHandler.java:220)
at iw.b(NetworkListenThread.java:57)
at ht.b(DedicatedServerListenThread.java:34)
at net.minecraft.server.MinecraftServer.r(MinecraftServer.java:981)
at ho.r(DedicatedServer.java:309)
at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:857)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:744)
at fy.run(ThreadMinecraftServer.java:16)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 10
at java.util.JumboEnumSet.contains(JumboEnumSet.java:184)
at com.griefcraft.listeners.LWCPlayerListener.onPlayerInteract(Unknown Source)
at sun.reflect.GeneratedMethodAccessor62.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:392)
... 16 more

This occurs on every player interaction.

I am using LWC #839 build right now, the problem first occured on LWC 4.3.1. On my server, there are 2 main mods: IC2 and RedPower2.

What I tried:

  • using #813 as suggested in other tickets, but that didn't help at all.
  • a fix from netdoggy for RP2, but that made even more errors.
  • most of dev duils from #813 to #839
  • A ported version of LWC 4.3.1 for MCPC+

The server seems to run even with that much errors but after a while it just crashes because of GC overhead.
Please provide any useful advices on how to fix this ASAP, my server won't last long!

@SatoAV
SatoAV commented Feb 27, 2013

Anyone? :'(

@wtfcolt
wtfcolt commented Mar 4, 2013

Getting the same issue here, no crashes yet with only two players, but this comes up alot

@wtfcolt
wtfcolt commented Mar 4, 2013

Another note, I'm noticing this on 'Iron Chest' mod chests (which I don't have added to LWC protection conf) and the bed (does not set new spawn point), possibly more. Most interactions with furnaces, macerators, etc are just fine. Didn't get to check regular chests, leaving for work ><

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment