Jail

84 - Jail causes giant lag spikes on server.

What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?
Expected is for it to work without errors. this is what I see instead:

14:24:47 [SEVERE] Could not pass event PLAYER_INTERACT to Jail java.lang.NullPointerException at com.matejdro.bukkit.jail.listeners.JailPlayerProtectionListener.onPlayerInteract(JailPlayerProtectionListener.java:184) at org.bukkit.plugin.java.JavaPluginLoader$11.execute(JavaPluginLoader.java:335) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339) at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:178) at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:266) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:593) at net.minecraft.server.Packet15Place.a(SourceFile:39) at net.minecraft.server.NetworkManager.b(NetworkManager.java:226) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:93) at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:550) at net.minecraft.server.NetworkListenThread.a(SourceFile:108) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:527) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425) at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)

What version of the product are you using?
2.0.5

Do you have an error log of what happened?

14:24:47 [SEVERE] Could not pass event PLAYER_INTERACT to Jail java.lang.NullPointerException at com.matejdro.bukkit.jail.listeners.JailPlayerProtectionListener.onPlayerInteract(JailPlayerProtectionListener.java:184) at org.bukkit.plugin.java.JavaPluginLoader$11.execute(JavaPluginLoader.java:335) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339) at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:178) at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:266) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:593) at net.minecraft.server.Packet15Place.a(SourceFile:39) at net.minecraft.server.NetworkManager.b(NetworkManager.java:226) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:93) at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:550) at net.minecraft.server.NetworkListenThread.a(SourceFile:108) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:527) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425) at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)

Please provide any additional information below.

This error on the console appears randomly, when nobody is in jail or interacting with the jail. The server crawls along and players can hardly move while it is happening.

User When Change
matejdro Jan 11, 2012 at 10:35 UTC
softvelvet Jan 01, 2012 at 18:45 UTC Create

You must login to post a comment. Don't have an account? Register to get one!

  • 1 comment
  • 1 comment

Facts

Last updated
Jan 11, 2012
Reported
Jan 01, 2012
Status
Duplicate - This report duplicates an existing ticket.
Type
Defect - A shortcoming, fault, or imperfection
Priority
Medium - Normal priority.
Votes
0

Reported by

Possible assignees