CubeEngine / AntiGuest

A bukkit plugin to protect your server from griefing guests
http://cubeisland.de
GNU General Public License v3.0
6 stars 4 forks source link

[SEVERE] Could not pass event InventoryOpenEvent to AntiGuest #9

Closed WoAnerges closed 12 years ago

WoAnerges commented 12 years ago

version 23:32:37 [INFO] This server is running CraftBukkit version git-Bukkit-jenkins-CraftBukkit++-159 (MC: 1.2.3) (Implementing API version Unknown-Version)

version AntiGuest 23:32:59 [INFO] AntiGuest version 3.0.3 23:32:59 [INFO] Prevents guests from griefing. 23:32:59 [INFO] Website: http://parallel-universe.de 23:32:59 [INFO] Author: Quick_Wango

   at net.minecraft.server.ThreadServerApplication.run(SourceFile:490)

23:31:36 [SEVERE] Could not pass event InventoryOpenEvent to AntiGuest java.lang.NullPointerException at net.minecraft.server.InventoryCrafting.getOwner(InventoryCrafting.java:47) at org.bukkit.craftbukkit.inventory.CraftInventory.getHolder(CraftInventory.java:413) at de.codeinfection.quickwango.AntiGuest.Preventions.Bukkit.DispenserPrevention.handle(DispenserPrevention.java:37) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) 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:301) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.TimedRegisteredListener.callEvent(TimedRegisteredListener.java:30) at org.bukkit.plugin.SimplePluginManager.callEventInternal(SimplePluginManager.java:455) at org.bukkit.plugin.SimplePluginManager.callEventSync(SimplePluginManager.java:442) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:437) at org.bukkit.craftbukkit.event.CraftEventFactory.callInventoryOpenEvent(CraftEventFactory.java:474) at net.minecraft.server.EntityPlayer.startCrafting(EntityPlayer.java:487) at net.minecraft.server.BlockWorkbench.interact(SourceFile:24) at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:294) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:723) at net.minecraft.server.Packet15Place.handle(SourceFile:39) at net.minecraft.server.NetworkManager.b(NetworkManager.java:229) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:116) at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:169) at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:85) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:625) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:509) at net.minecraft.server.ThreadServerApplication.run(SourceFile:490)

pschichtel commented 12 years ago

that's not a AntiGuest bug

WoAnerges commented 12 years ago

That's not very informative. Any suggestions, please?

pschichtel commented 12 years ago

the initial exception got thrown from net.minecraft.server.* code, so there is nothing I can do.

Talk to the Bukkit or CraftBukkit++ devs

WoAnerges commented 12 years ago

What should I say to them?

pschichtel commented 12 years ago

just report the exception together with some info about your plugins

turt2live commented 12 years ago

Not trying to cause a fight, but for future reference, read the whole stack trace.

at de.codeinfection.quickwango.AntiGuest.Preventions.Bukkit.DispenserPrevention.handle(DispenserPrevention.java:37)

I do think that is AntiGuest, correct me if I'm wrong.

pschichtel commented 12 years ago

You are wrong ;) Do you think I ignore these reports? I take them really serious. I've read this trace multple times by now. Of course, AntiGuest is involved, but the problem is in the inventory code of the minecraft server caused by a bad implementation of Bukkit's inventory API. AntiGuest only triggers the exception.

turt2live commented 12 years ago

Yea, derp on my part (only skimmed as it's not on my code :P)

Bukkit's inventory events are badly implemented last time I checked, so I would guess it is a Bukkit problem induced by AntiGuest (although none of this matters as the timeline on this issue gives me a feeling that you've already fixed this)

pschichtel commented 12 years ago

I haven't looked at my code or Bukkit's inventory bullshit since the first report of this bug.

turt2live commented 12 years ago

Ok then...

pschichtel commented 12 years ago

seems fixed on #2084

WoAnerges commented 12 years ago

https://bukkit.atlassian.net/browse/BUKKIT-1209 I posted it in corresponding place like 2 days ago.