CraftBook 3

CraftBook 3

139k Downloads

Gates Crashing server

LadyCailinBot opened this issue ยท 6 comments

commented

CRAFTBOOK-3222 - Reported by Kisaki

We get these errors when trying to use gates:
10.09 12:29:46 [Server] ERROR The server has stopped responding!
10.09 12:29:46 [Server] ERROR Please report this to http://www.spigotmc.org/
10.09 12:29:46 [Server] ERROR Be sure to include ALL relevant console errors and Minecraft crash reports
10.09 12:29:46 [Server] ERROR Spigot version: git-Spigot-a9631d2-67b2424 (MC: 1.10.2)
10.09 12:29:46 [Server] ERROR ------------------------------
10.09 12:29:46 [Server] ERROR Server thread dump (Look for plugins here before reporting to Spigot!):
10.09 12:29:46 [Server] ERROR ------------------------------
10.09 12:29:46 [Server] ERROR Current Thread: Server thread
10.09 12:29:46 [Server] ERROR PID: 15 | Suspended: false | Native: false | State: RUNNABLE
10.09 12:29:46 [Server] ERROR Stack:
10.09 12:29:46 [Server] ERROR java.util.ArrayList.indexOf(ArrayList.java:316)
10.09 12:29:46 [Server] ERROR java.util.ArrayList.contains(ArrayList.java:300)
10.09 12:29:46 [Server] ERROR com.sk89q.craftbook.mechanics.area.simple.Gate.isValidGateBlock(Gate.java:417)
10.09 12:29:46 [Server] ERROR com.sk89q.craftbook.mechanics.area.simple.Gate.getFirstBlock(Gate.java:515)
10.09 12:29:46 [Server] ERROR com.sk89q.craftbook.mechanics.area.simple.Gate.getGateBlock(Gate.java:496)
10.09 12:29:46 [Server] ERROR com.sk89q.craftbook.mechanics.area.simple.Gate.isValidGateBlock(Gate.java:414)
10.09 12:29:46 [Server] ERROR com.sk89q.craftbook.mechanics.area.simple.Gate.recurseColumn(Gate.java:127)
10.09 12:29:46 [Server] ERROR com.sk89q.craftbook.mechanics.area.simple.Gate.toggleGates(Gate.java:98)
10.09 12:29:46 [Server] ERROR com.sk89q.craftbook.mechanics.area.simple.Gate.onRightClick(Gate.java:296)
10.09 12:29:46 [Server] ERROR sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
10.09 12:29:46 [Server] ERROR sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
10.09 12:29:46 [Server] ERROR sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
10.09 12:29:46 [Server] ERROR java.lang.reflect.Method.invoke(Method.java:497)
10.09 12:29:46 [Server] ERROR org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306)
10.09 12:29:46 [Server] ERROR org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
10.09 12:29:46 [Server] ERROR org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502)
10.09 12:29:46 [Server] ERROR org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487)
10.09 12:29:46 [Server] ERROR com.sk89q.craftbook.bukkit.MechanicListenerAdapter.onPlayerInteract(MechanicListenerAdapter.java:110)
10.09 12:29:46 [Server] ERROR sun.reflect.GeneratedMethodAccessor175.invoke(Unknown Source)
10.09 12:29:46 [Server] ERROR sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
10.09 12:29:46 [Server] ERROR java.lang.reflect.Method.invoke(Method.java:497)
10.09 12:29:46 [Server] ERROR org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306)
10.09 12:29:46 [Server] ERROR org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
10.09 12:29:46 [Server] ERROR org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502)
10.09 12:29:46 [Server] ERROR org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487)
10.09 12:29:46 [Server] ERROR org.bukkit.craftbukkit.v1_10_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:231)
10.09 12:29:46 [Server] ERROR net.minecraft.server.v1_10_R1.PlayerInteractManager.a(PlayerInteractManager.java:492)
10.09 12:29:46 [Server] ERROR net.minecraft.server.v1_10_R1.PlayerConnection.a(PlayerConnection.java:890)
10.09 12:29:46 [Server] ERROR net.minecraft.server.v1_10_R1.PacketPlayInUseItem.a(SourceFile:55)
10.09 12:29:46 [Server] ERROR net.minecraft.server.v1_10_R1.PacketPlayInUseItem.a(SourceFile:11)
10.09 12:29:46 [Server] ERROR net.minecraft.server.v1_10_R1.PlayerConnectionUtils$1.run(SourceFile:13)
10.09 12:29:46 [Server] ERROR java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
10.09 12:29:46 [Server] ERROR java.util.concurrent.FutureTask.run(FutureTask.java:266)
10.09 12:29:46 [Server] ERROR net.minecraft.server.v1_10_R1.SystemUtils.a(SourceFile:45)
10.09 12:29:46 [Server] ERROR net.minecraft.server.v1_10_R1.MinecraftServer.D(MinecraftServer.java:737)
10.09 12:29:46 [Server] ERROR net.minecraft.server.v1_10_R1.DedicatedServer.D(DedicatedServer.java:399)
10.09 12:29:46 [Server] ERROR net.minecraft.server.v1_10_R1.MinecraftServer.C(MinecraftServer.java:673)
10.09 12:29:46 [Server] ERROR net.minecraft.server.v1_10_R1.MinecraftServer.run(MinecraftServer.java:572)
10.09 12:29:46 [Server] ERROR java.lang.Thread.run(Thread.java:745)
10.09 12:29:46 [Server] ERROR ------------------------------
10.09 12:29:46 [Server] ERROR Entire Thread Dump:
10.09 12:29:47 [Server] ERROR ------------------------------
10.09 12:29:47 [Server] ERROR Current Thread: pool-14-thread-1
10.09 12:29:47 [Server] ERROR PID: 110 | Suspended: false | Native: false | State: WAITING
10.09 12:29:47 [Server] ERROR Stack:
10.09 12:29:47 [Server] ERROR sun.misc.Unsafe.park(Native Method)
10.09 12:29:47 [Server] ERROR java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
10.09 12:29:47 [Server] ERROR java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039)
10.09 12:29:47 [Server] ERROR java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442)
10.09 12:29:47 [Server] ERROR java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1067)
10.09 12:30:12 [Multicraft] Server shut down (running)
10.09 12:30:12 [Multicraft] Restarting crashed server in 10 seconds
10.09 12:30:12 [Multicraft] Server stopped

commented

Comment by me4502

Could you please pastebin the entire crash? Based on that it's most likely just the watchdog kicking in, and the gates happened to be running at the time.

commented

Oof sorry for necropost this issue as my server crashed 4 times with the gates (triggered the spigot watchdog, yes im on paper) https://pastebin.com/yEBFfam9

I'll try updating Craftbook this night and I'll edit this comment

commented

Hmm, that's super odd. Reading the line from a sign should not take much time at all. I'll investigate when I get a chance

commented

edited, looks like the player placed blocks instead of fences. I guess the plugin still searched for fences nearby which has no fences

commented

Nah it has nothing to do with that - the error shows that it's happening when CraftBook asks Spigot what the line on the sign is. It's possible a corrupt tile entity sign? Not sure. I'd have to investigate

commented

Don't think that would be a corrupt tile sign, newly placed sign by a player. I'll do tests this night and maybe try recording a video if I manage to reproduce it