CoreProtect

CoreProtect

1M Downloads

Crash randomly

kaweepatinn1 opened this issue ยท 3 comments

commented

Console logs this before a crash:

[22:54:07] [Thread-17/WARN]: java.lang.IllegalStateException: CoreProtectPreLogEvent cannot be triggered asynchronously from primary server thread.
[22:54:07] [Thread-17/WARN]: at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:579)
[22:54:07] [Thread-17/WARN]: at net.coreprotect.database.logger.BlockPlaceLogger.log(BlockPlaceLogger.java:84)
[22:54:07] [Thread-17/WARN]: at net.coreprotect.consumer.process.BlockPlaceProcess.process(BlockPlaceProcess.java:23)
[22:54:07] [Thread-17/WARN]: at net.coreprotect.consumer.process.Process.processConsumer(Process.java:148)
[22:54:07] [Thread-17/WARN]: at net.coreprotect.consumer.Consumer.run(Consumer.java:133)
[22:54:07] [Thread-17/WARN]: at java.base/java.lang.Thread.run(Thread.java:1583)

This is the crash report:
crash-2024-05-18_22.54.06-server.txt

commented

Looks like the crash is related to the GSit plugin, server crashed once while getting out of a boat with GSit players on my head. Looks like trying to record multiple players doing one thing together causes the error.

commented

Please provide the full server log, which includes that error message.

commented

Turns out not to be a CoreProtect issue, but with coreprotect throwing errors after a ticking world crash. Sorry for the misunderstanding. Closing this issue now as it is unrelated to coreprotect!

[22:54:06] [Server thread/ERROR]: Encountered an unexpected exception
net.minecraft.ReportedException: Exception ticking world
at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:1390) ~[spigot-1.20.4-R0.1-SNAPSHOT.jar:4090-Spigot-b754dcc-38b1f49]
at net.minecraft.server.dedicated.DedicatedServer.b(DedicatedServer.java:391) ~[spigot-1.20.4-R0.1-SNAPSHOT.jar:4090-Spigot-b754dcc-38b1f49]
at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:1242) ~[spigot-1.20.4-R0.1-SNAPSHOT.jar:4090-Spigot-b754dcc-38b1f49]
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:1054) ~[spigot-1.20.4-R0.1-SNAPSHOT.jar:4090-Spigot-b754dcc-38b1f49]
at net.minecraft.server.MinecraftServer.lambda$0(MinecraftServer.java:304) ~[spigot-1.20.4-R0.1-SNAPSHOT.jar:4090-Spigot-b754dcc-38b1f49]
at java.lang.Thread.run(Thread.java:1583) ~[?:?]
Caused by: java.lang.NullPointerException: Cannot invoke "it.unimi.dsi.fastutil.ints.IntArrayList.getInt(int)" because "this.wrapped" is null
at it.unimi.dsi.fastutil.ints.Int2ObjectOpenHashMap$MapIterator.nextEntry(Int2ObjectOpenHashMap.java:663) ~[fastutil-8.5.12.jar:?]
at it.unimi.dsi.fastutil.ints.Int2ObjectOpenHashMap$ValueIterator.next(Int2ObjectOpenHashMap.java:1168) ~[fastutil-8.5.12.jar:?]
at net.minecraft.server.level.PlayerChunkMap.l(PlayerChunkMap.java:1386) ~[spigot-1.20.4-R0.1-SNAPSHOT.jar:4090-Spigot-b754dcc-38b1f49]
at net.minecraft.server.level.ChunkProviderServer.a(ChunkProviderServer.java:387) ~[spigot-1.20.4-R0.1-SNAPSHOT.jar:4090-Spigot-b754dcc-38b1f49]
at net.minecraft.server.level.WorldServer.a(WorldServer.java:405) ~[spigot-1.20.4-R0.1-SNAPSHOT.jar:4090-Spigot-b754dcc-38b1f49]
at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:1384) ~[spigot-1.20.4-R0.1-SNAPSHOT.jar:4090-Spigot-b754dcc-38b1f49]
... 5 more