deathmarine / DiabloDrops

Bukkit plugin that adjusts the mob dropping mechanics to include regularly dropped enchanted items that could be commonly found in Diablo.
http://dev.bukkit.org/bukkit-plugins/diablodrops/
GNU General Public License v3.0
17 stars 19 forks source link

Server Lockup #30

Closed joebladon closed 11 years ago

joebladon commented 11 years ago

I really like this plugin and its great features however when I added it to my server I had several server lock-ups with this crash report;

"Description: Exception in server tick loop

java.lang.NullPointerException at net.minecraft.server.World.addEntity(World.java:940) at net.minecraft.server.World.addEntity(World.java:898) at net.minecraft.server.EntityHuman.a(EntityHuman.java:454) at net.minecraft.server.EntityHuman.a(EntityHuman.java:447) at net.minecraft.server.EntityHuman.drop(EntityHuman.java:401) at net.minecraft.server.Container.b(Container.java:276) at net.minecraft.server.ContainerPlayer.b(ContainerPlayer.java:69) at net.minecraft.server.EntityHuman.die(EntityHuman.java:870) at net.minecraft.server.World.kill(World.java:1023) at net.minecraft.server.ServerConfigurationManagerAbstract.disconnect(ServerConfigurationManagerAbstract.java:207) at net.minecraft.server.NetServerHandler.disconnect(NetServerHandler.java:167) at net.minecraft.server.ServerConnection.b(SourceFile:46) at net.minecraft.server.DedicatedServerConnection.b(SourceFile:30) at net.minecraft.server.MinecraftServer.r(MinecraftServer.java:596) at net.minecraft.server.DedicatedServer.r(DedicatedServer.java:222) at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:494) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:426) at net.minecraft.server.ThreadServerApplication.run(SourceFile:856)"

It may be that the plugin is conflicting with another one that I am running, but if there is anything in this report that you could see would be caused by DiabloDrops then I thought it would be worth posting here in the Issues section.

I apologise in advance if the problem is not related and I thank you for taking the time to read this.

ToppleTheNun commented 11 years ago

Is that all that the log contains? Could you perhaps PasteBin us a fresh server.log?

joebladon commented 11 years ago

Sure, this is a pastebin of the entire crash report. I'm running Spigot (Custom server version of Craftbukkit) and this is what creates these crash reports. http://pastebin.com/rSRifSvL

ToppleTheNun commented 11 years ago

I'm not entirely sure what's causing that. It's caused by the world trying to spawn a null entity, but we don't spawn new entities, we just hook them after they're spawned. I'm not entirely sure that's our error.

joebladon commented 11 years ago

Interesting, like I said the lock-ups have defiantly stopped now that the plugin has been disabled. I was seeing lock-ups every 30 mins or so with this on and now is been 24hrs since I removed it and nothing. If you think it's not your plugin then I guess it is a conflict with something else I have running. Thank you for the reply, I guess I will start with some trial and error to get this working :P

deathmarine commented 11 years ago

A Null entity is being spawned, It looks like it's an ItemEntity spawned on Villlager or Player death. I hate to say but we check for Instanceof a Monster at all times. And with spigot I'm not sure.

deathmarine commented 11 years ago

Sorry but currently we've been unable to reproduce this.