I noticed an interesting feature of this bug, it occurs exclusively when any player logs on to the server. i.e. if you restart the server with the /restart command and there is no one logged on to the server, the server will restart correctly. Otherwise - you need to write the command twice, and the console error occurs:
[Mon 18:24:37 ERROR STDERR] at java.base/java.util.ArrayList$Itr.next(ArrayList.java:967)
[Mon 18:24:37 ERROR STDERR] at TRANSFORMER/arclight@1.19.2-1.0.5-696a298/org.spigotmc.RestartCommand.restart(RestartCommand.java:57)
[Mon 18:24:37 ERROR STDERR] at TRANSFORMER/arclight@1.19.2-1.0.5-696a298/org.spigotmc.RestartCommand.restart(RestartCommand.java:40)
[Mon 18:24:37 ERROR STDERR] at TRANSFORMER/arclight@1.19.2-1.0.5-696a298/org.spigotmc.RestartCommand$1.run(RestartCommand.java:31)
[Mon 18:24:37 ERROR STDERR] at TRANSFORMER/minecraft@1.19.2/net.minecraft.server.MinecraftServer.bridge$drainQueuedTasks(MinecraftServerMixin.java:2208)
[Mon 18:24:37 ERROR STDERR] at TRANSFORMER/minecraft@1.19.2/net.minecraft.server.level.ServerChunkCache$MainThreadExecutor.m7245(ServerChunkCache_MainThreadExecutorMixin.java:633)
[Mon 18:24:37 ERROR STDERR] at TRANSFORMER/minecraft@1.19.2/net.minecraft.server.level.ServerChunkCache.m8466(ServerChunkCacheMixin.java:267)
[Mon 18:24:37 ERROR STDERR] at TRANSFORMER/minecraft@1.19.2/net.minecraft.server.MinecraftServer.m129961(MinecraftServerMixin.java:751)
[Mon 18:24:37 ERROR STDERR] at TRANSFORMER/minecraft@1.19.2/net.minecraft.server.MinecraftServer.m7245(MinecraftServerMixin.java:740)
[Mon 18:24:37 ERROR STDERR] at TRANSFORMER/minecraft@1.19.2/net.minecraft.util.thread.BlockableEventLoop.m18701(BlockableEventLoop.java:140)
[Mon 18:24:37 ERROR STDERR] at TRANSFORMER/minecraft@1.19.2/net.minecraft.server.MinecraftServer.m130012(MinecraftServerMixin.java:726)
[Mon 18:24:37 ERROR STDERR] at TRANSFORMER/minecraft@1.19.2/net.minecraft.server.MinecraftServer.m130011(MinecraftServerMixin.java:2131)
[Mon 18:24:37 ERROR STDERR] at TRANSFORMER/minecraft@1.19.2/net.minecraft.server.MinecraftServer.m206580(MinecraftServerMixin.java:244)
[Mon 18:24:37 ERROR STDERR] at java.base/java.lang.Thread.run(Thread.java:840)
the entire log is shown below
Step to reproduce
Load the server
Join the server
Restart the server with /restart command in game or in console
I have confirmed that ...
Arclight version
arclight-1.19.2-1.0.5-696a298
OS & Java versions
OS: Debian 12, Java: openjdk 17.0.10
Plugins and Mods
Description
I noticed an interesting feature of this bug, it occurs exclusively when any player logs on to the server. i.e. if you restart the server with the /restart command and there is no one logged on to the server, the server will restart correctly. Otherwise - you need to write the command twice, and the console error occurs:
the entire log is shown below
Step to reproduce
Logs
latest.log
Server pack link (Optional)
https://drive.google.com/file/d/1_rnrZ6-ed3Fw1_lmD2jBnEtEV8hmd3vD/view?usp=share_link