Prison 3

Prison 3

191k Downloads

Server Crashes

Marisim107 opened this issue ยท 4 comments

commented

Which module are you submitting this issue for?

Mines

Describe the issue you are experiencing.

Include details such as what you did, what happened, and what you think should have happened.

Every hour after I start my server, the server crashes. I get this error: https://pastebin.com/x2gHHvJT

Describe the steps to reproduce the problem.

Here, you should tell us what we need to know in order to cause the same problem on our machines, so that we may debug it. Please include your Spigot, Prison, and dependency versions. This section is only needed if you are making a bug report.

I just open the server and after a while it crashes.

Anything else we need to know?

Nothing much, really

commented

This is too broad and the log file has not been separated into lines, making it hard to read for us. Will leave this open for a bit in case you decide to make the log more readable/go into more detail

commented

This appears to be the gist of it. A concurrent locks error. I've seen this many times before...

[19:40:51] [Spigot Watchdog Thread/ERROR]: org.bukkit.craftbukkit.v1_8_R3.CraftChunk.getBlock(CraftChunk.java:75)
[19:40:51] [Spigot Watchdog Thread/ERROR]: org.bukkit.craftbukkit.v1_8_R3.CraftWorld.getBlockAt(CraftWorld.java:89)
[19:40:51] [Spigot Watchdog Thread/ERROR]: org.bukkit.craftbukkit.v1_8_R3.CraftWorld.getBlockAt(CraftWorld.java:567)
[19:40:51] [Spigot Watchdog Thread/ERROR]: tech.mcprison.prison.spigot.game.SpigotWorld.getBlockAt(SpigotWorld.java:56)
[19:40:51] [Spigot Watchdog Thread/ERROR]: tech.mcprison.prison.mines.data.Mine.reset(Mine.java:188)
[19:40:51] [Spigot Watchdog Thread/ERROR]: tech.mcprison.prison.mines.managers.MineManager$$Lambda$69/1513492934.accept(Unknown Source)
[19:40:51] [Spigot Watchdog Thread/ERROR]: java.util.ArrayList.forEach(ArrayList.java:1249)
[19:40:51] [Spigot Watchdog Thread/ERROR]: tech.mcprison.prison.mines.managers.MineManager.resetMines(MineManager.java:127)
[19:40:51] [Spigot Watchdog Thread/ERROR]: tech.mcprison.prison.mines.managers.MineManager.access$000(MineManager.java:45)
[19:40:51] [Spigot Watchdog Thread/ERROR]: tech.mcprison.prison.mines.managers.MineManager$1.run(MineManager.java:114)
[19:40:51] [Spigot Watchdog Thread/ERROR]: org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run(CraftTask.java:71)
[19:40:51] [Spigot Watchdog Thread/ERROR]: org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:350)
[19:40:51] [Spigot Watchdog Thread/ERROR]: net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:726)
[19:40:51] [Spigot Watchdog Thread/ERROR]: net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:367)
[19:40:51] [Spigot Watchdog Thread/ERROR]: net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:657)
[19:40:51] [Spigot Watchdog Thread/ERROR]: net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:560)
[19:40:53] [Spigot Watchdog Thread/ERROR]: java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215)
[19:40:53] [Spigot Watchdog Thread/ERROR]: java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078)
[19:40:53] [Spigot Watchdog Thread/ERROR]: java.util.concurrent.LinkedBlockingDeque.pollFirst(LinkedBlockingDeque.java:522)
[19:40:53] [Spigot Watchdog Thread/ERROR]: java.util.concurrent.LinkedBlockingDeque.poll(LinkedBlockingDeque.java:684)
[19:40:53] [Spigot Watchdog Thread/ERROR]: java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1073)
[19:40:53] [Spigot Watchdog Thread/ERROR]: java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134)
[19:40:53] [Spigot Watchdog Thread/ERROR]: java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)`

commented

This is caused by Bukkit, for whatever reason, failing when Prison is trying to get a block at a location. Your bukkit may be corrupt or there's another program interfering. This is not a Prison problem, so there's little I can do here.

commented

Release v3.2.0 has number of changes that may address this issue. Various components pertaining to the mine reset has been rewritten so this should no longer be an issue if the Prison plugin ever was the cause. Please download the Prison plugin v3.2.0 when it is available.