Skip to content

NeoForge 1.21.1 thread gets stuck when the server is shutting down #3

Description

@Fix3dll
[15:04:48] [Stuck Thread Watcher/INFO] [DebugThreadsHooks/]: Stuck Thread: "Timer-3" Id=234
[15:04:48] [Stuck Thread Watcher/INFO] [DebugThreadsHooks/]: -- Stacktrace:
        at bootstrap/java.base@25.0.3/java.util.Timer.<init>(Timer.java:187)
        at bootstrap/java.base@25.0.3/java.util.Timer.<init>(Timer.java:168)
        at bootstrap/java.base@25.0.3/java.util.Timer.<init>(Timer.java:141)
        at TRANSFORMER/playit_companion@0.1.1/gg.playit.PlayitMod.stop(PlayitMod.java:146)
        at TRANSFORMER/playit_companion@0.1.1/gg.playit.neoforge.PlayitNeoForge.serverStopped(PlayitNeoForge.java:18)
        at bootstrap/java.base@25.0.3/java.lang.invoke.DirectMethodHandle$Holder.invokeVirtual(DirectMethodHandle.java:-1)
        at MC-BOOTSTRAP/net.neoforged.bus/net.neoforged.bus.EventListenerFactory$serverStopped.0x000000001b324000.invoke(0x000000001b324000.java:-1)
        at MC-BOOTSTRAP/net.neoforged.bus/net.neoforged.bus.EventBus.post(EventBus.java:360)
        at MC-BOOTSTRAP/net.neoforged.bus/net.neoforged.bus.EventBus.post(EventBus.java:328)
        at TRANSFORMER/neoforge@21.1.233/net.neoforged.neoforge.server.ServerLifecycleHooks.handleServerStopped(ServerLifecycleHooks.java:125)
        at TRANSFORMER/minecraft@1.21.1/net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:750)
        at TRANSFORMER/minecraft@1.21.1/net.minecraft.server.MinecraftServer.lambda$spin$2(MinecraftServer.java:267)
        at bootstrap/java.base@25.0.3/java.lang.Thread.runWith(Thread.java:1487)
        at bootstrap/java.base@25.0.3/java.lang.Thread.run(Thread.java:1474)

        Suspecting mods:
         - Playit Companion (playit_companion)
           - version: 0.1.1
           - file: playit_companion-neoforge-0.1.1.jar

[15:04:48] [Stuck Thread Watcher/WARN] [AllTheLeaks/]: Seems like server is stuck while trying to close. Read messages above about stuck threads!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions