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

Inventory Open Event error #12

Closed Fureniku closed 12 years ago

Fureniku commented 12 years ago

Using 3.0.0, but no changelogs said it was fixed so I assume its still a bug.

21:29:11 [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.BrewPrevention.handle(BrewPrevention.java:37) at sun.reflect.GeneratedMethodAccessor311.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:301) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:443) 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 org.getspout.spout.block.mcblock.CustomBlock.interact(CustomBlock.java:332) 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

Come on! You are the 5. who posts this bug...

Again: read the stacktrace correctly: the error is not caused by AntiGuest, it was a bug in CraftBukkit's implementation of Bukkit's inventory API. This bug was fixed in one of the last 1.2.3 build, so just update you server.

for the next time: search a bit through the existing tickets (even if they're closed) and check whether your issue wasn't already posted.

Fureniku commented 12 years ago

Well, I usually assume if I see an error and it doesn't appear fixed on any change logs, that any tickets would still be open. No need to be such a dick about it, no one MADE me come and report this, I was trying to be helpful. Next time I get an error for one of your plugins, maybe I'll think twice about reporting it.