1.17.x Potential Spigot Bug?

Discussion in 'Spigot Plugin Development' started by DavidBBukkit, Jul 6, 2021.

  1. I'm trying to update a plugin I maintain to support Spigot 1.17, and one of the components to the plugin is a NPC who roams the server. Whenever I try to run the server with the plugin installed, the server launches, hangs, then crashes with this error. It does not happen when my plugin is not installed, but in the stack trace, my plugin is not mentioned at all. Is this a potential Spigot bug or way more likely to be my plugin? I should note that the code for doing this worked fine in 1.16. Any advice on how to proceed with this issue would be appreciated.

    Code (Text):

    [22:59:02] [Spigot Watchdog Thread/ERROR]: ------------------------------
    [22:59:02] [Spigot Watchdog Thread/ERROR]: The server has stopped responding! This is (probably) not a Spigot bug.
    [22:59:02] [Spigot Watchdog Thread/ERROR]: If you see a plugin in the Server thread dump below, then please report it to that author
    [22:59:02] [Spigot Watchdog Thread/ERROR]:       *Especially* if it looks like HTTP or MySQL operations are occurring
    [22:59:02] [Spigot Watchdog Thread/ERROR]: If you see a world save or edit, then it means you did far more than your server can handle at once
    [22:59:02] [Spigot Watchdog Thread/ERROR]:       If this is the case, consider increasing timeout-time in spigot.yml but note that this will replace the crash with LARGE lag spikes
    [22:59:02] [Spigot Watchdog Thread/ERROR]: If you are unsure or still think this is a Spigot bug, please report to https://www.spigotmc.org/
    [22:59:02] [Spigot Watchdog Thread/ERROR]: Be sure to include ALL relevant console errors and Minecraft crash reports
    [22:59:02] [Spigot Watchdog Thread/ERROR]: Spigot version: 3169-Spigot-a483d2c-07ed44a (MC: 1.17)
    [22:59:02] [Spigot Watchdog Thread/ERROR]: ------------------------------
    [22:59:02] [Spigot Watchdog Thread/ERROR]: Server thread dump (Look for plugins here before reporting to Spigot!):
    [22:59:02] [Spigot Watchdog Thread/ERROR]: ------------------------------
    [22:59:02] [Spigot Watchdog Thread/ERROR]: Current Thread: Server thread
    [22:59:02] [Spigot Watchdog Thread/ERROR]:      PID: 33 | Suspended: false | Native: false | State: WAITING
    [22:59:02] [Spigot Watchdog Thread/ERROR]:      Stack:
    [22:59:02] [Spigot Watchdog Thread/ERROR]:              [email protected]/jdk.internal.misc.Unsafe.park(Native Method)
    [22:59:02] [Spigot Watchdog Thread/ERROR]:              [email protected]/java.util.concurrent.locks.LockSupport.park(LockSupport.java:211)
    [22:59:02] [Spigot Watchdog Thread/ERROR]:              [email protected]/java.util.concurrent.CompletableFuture$Signaller.block(CompletableFuture.java:1860)
    [22:59:02] [Spigot Watchdog Thread/ERROR]:              [email protected]/java.util.concurrent.ForkJoinPool.managedBlock(ForkJoinPool.java:3137)
    [22:59:02] [Spigot Watchdog Thread/ERROR]:              [email protected]/java.util.concurrent.CompletableFuture.waitingGet(CompletableFuture.java:1894)
    [22:59:02] [Spigot Watchdog Thread/ERROR]:              [email protected]/java.util.concurrent.CompletableFuture.join(CompletableFuture.java:2113)
    [22:59:02] [Spigot Watchdog Thread/ERROR]:              app//net.minecraft.world.level.chunk.storage.IOWorker.a(SourceFile:83)
    [22:59:02] [Spigot Watchdog Thread/ERROR]:              app//net.minecraft.world.level.chunk.storage.IChunkLoader.read(IChunkLoader.java:106)
    [22:59:02] [Spigot Watchdog Thread/ERROR]:              app//net.minecraft.server.level.PlayerChunkMap.readChunkData(PlayerChunkMap.java:924)
    [22:59:02] [Spigot Watchdog Thread/ERROR]:              app//net.minecraft.server.level.PlayerChunkMap.lambda$20(PlayerChunkMap.java:555)
    [22:59:02] [Spigot Watchdog Thread/ERROR]:              app//net.minecraft.server.level.PlayerChunkMap$$Lambda$4014/0x0000000801559478.get(Unknown Source)
    [22:59:02] [Spigot Watchdog Thread/ERROR]:              [email protected]/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1764)
    [22:59:02] [Spigot Watchdog Thread/ERROR]:              app//net.minecraft.util.thread.IAsyncTaskHandler.executeTask(SourceFile:151)
    [22:59:02] [Spigot Watchdog Thread/ERROR]:              app//net.minecraft.server.level.ChunkProviderServer$a.executeTask(ChunkProviderServer.java:603)
    [22:59:02] [Spigot Watchdog Thread/ERROR]:              app//net.minecraft.util.thread.IAsyncTaskHandler.executeNext(SourceFile:125)
    [22:59:02] [Spigot Watchdog Thread/ERROR]:              app//net.minecraft.server.level.ChunkProviderServer$a.executeNext(ChunkProviderServer.java:614)
    [22:59:02] [Spigot Watchdog Thread/ERROR]:              app//net.minecraft.server.level.ChunkProviderServer.runTasks(ChunkProviderServer.java:322)
    [22:59:02] [Spigot Watchdog Thread/ERROR]:              app//net.minecraft.server.MinecraftServer.bg(MinecraftServer.java:1134)
    [22:59:02] [Spigot Watchdog Thread/ERROR]:              app//net.minecraft.server.MinecraftServer.executeNext(MinecraftServer.java:1118)
    [22:59:02] [Spigot Watchdog Thread/ERROR]:              app//net.minecraft.util.thread.IAsyncTaskHandler.executeAll(SourceFile:110)
    [22:59:02] [Spigot Watchdog Thread/ERROR]:              app//net.minecraft.server.MinecraftServer.sleepForTick(MinecraftServer.java:1101)
    [22:59:02] [Spigot Watchdog Thread/ERROR]:              app//net.minecraft.server.MinecraftServer.x(MinecraftServer.java:1031)
    [22:59:02] [Spigot Watchdog Thread/ERROR]:              app//net.minecraft.server.MinecraftServer.lambda$0(MinecraftServer.java:307)
    [22:59:02] [Spigot Watchdog Thread/ERROR]:              app//net.minecraft.server.MinecraftServer$$Lambda$3825/0x00000008013aa610.run(Unknown Source)
    [22:59:02] [Spigot Watchdog Thread/ERROR]:              [email protected]/java.lang.Thread.run(Thread.java:831)
    [22:59:02] [Spigot Watchdog Thread/ERROR]: ------------------------------
    [22:59:02] [Spigot Watchdog Thread/ERROR]: Entire Thread Dump:
    [22:59:03] [Spigot Watchdog Thread/ERROR]: ------------------------------
    [22:59:03] [Spigot Watchdog Thread/ERROR]: Current Thread: Reference Handler
    [22:59:03] [Spigot Watchdog Thread/ERROR]:      PID: 2 | Suspended: false | Native: false | State: RUNNABLE
    [22:59:03] [Spigot Watchdog Thread/ERROR]:      Stack:
    [22:59:03] [Spigot Watchdog Thread/ERROR]:              [email protected]/java.lang.ref.Reference.waitForReferencePendingList(Native Method)
    [22:59:03] [Spigot Watchdog Thread/ERROR]:              app//io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
    [22:59:03] [Spigot Watchdog Thread/ERROR]:              [email protected]/java.lang.Thread.run(Thread.java:831)
    [22:59:03] [Spigot Watchdog Thread/ERROR]: ------------------------------
    [22:59:03] [Spigot Watchdog Thread/ERROR]: Current Thread: Netty Server IO #0
    [22:59:03] [Spigot Watchdog Thread/ERROR]:      PID: 44 | Suspended: false | Native: false | State: RUNNABLE
    [22:59:03] [Spigot Watchdog Thread/ERROR]:      Thread is waiting on monitor(s):
    [22:59:03] [Spigot Watchdog Thread/ERROR]:              Locked on:[email protected]/sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:129)
    [22:59:03] [Spigot Watchdog Thread/ERROR]:              Locked on:[email protected]/sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:129)
    [22:59:03] [Spigot Watchdog Thread/ERROR]:      Stack:
    [22:59:03] [Spigot Watchdog Thread/ERROR]:              [email protected]/sun.nio.ch.WindowsSelectorImpl$SubSelector.poll0(Native Method)
    [22:59:03] [Spigot Watchdog Thread/ERROR]:              [email protected]/sun.nio.ch.WindowsSelectorImpl$SubSelector.poll(WindowsSelectorImpl.java:353)
    [22:59:03] [Spigot Watchdog Thread/ERROR]:              [email protected]/sun.nio.ch.WindowsSelectorImpl.doSelect(WindowsSelectorImpl.java:178)
    [22:59:03] [Spigot Watchdog Thread/ERROR]:              [email protected]/sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:129)
    [22:59:03] [Spigot Watchdog Thread/ERROR]:              [email protected]/sun.nio.ch.SelectorImpl.select(SelectorImpl.java:141)
    [22:59:03] [Spigot Watchdog Thread/ERROR]:              app//io.netty.channel.nio.NioEventLoop.select(NioEventLoop.java:756)
    [22:59:03] [Spigot Watchdog Thread/ERROR]:              app//io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:411)
    [22:59:03] [Spigot Watchdog Thread/ERROR]:              app//io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:884)
    [22:59:03] [Spigot Watchdog Thread/ERROR]:              [email protected]/java.lang.Thread.run(Thread.java:831)
    [22:59:03] [Spigot Watchdog Thread/ERROR]: ------------------------------
    [22:59:03] [Spigot Watchdog Thread/INFO]: Startup script './start.sh' does not exist! Stopping server.
    [22:59:03] [Spigot Watchdog Thread/INFO]: Stopping server
    [22:59:03] [Spigot Watchdog Thread/INFO]: [Herobrine] Disabling Herobrine v2.1.3
    [22:59:03] [Spigot Watchdog Thread/INFO]: Saving players
    [22:59:03] [Spigot Watchdog Thread/INFO]: Saving worlds
    [22:59:03] [Spigot Watchdog Thread/INFO]: Saving chunks for level 'ServerLevel[world]'/minecraft:overworld
     
     
  2. The error seems to be about NMS, I would assume that this error is caused by the incompatibility between NMS versions, I would recommend checking anything to do with it (inluding your NPC) and make sure that it is sufficiently update to CraftBukkit 1.17
     
    • Like Like x 2
  3. It is not spigot issue.
     
    • Like Like x 1