Folia server stops automatically due to threading issue

Open
#437 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
20/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
java

Research direction

Start by reviewing the linked stack trace and the Folia 1.21.11-11 server version in the report. Compare the shutdown event with the reported threading issue, then establish a reproducible trigger or isolate the responsible condition; done means the server no longer stops automatically under that condition.

Written by the indexing model from the issue text.

Description

status: needs triage
Stack trace
https://mclo.gs/BI1E4tl
Plugin and Datapack List

[14:05:18 INFO]: ℹ Server Plugins (118):
[14:05:18 INFO]: Paper Plugins (5):
[14:05:18 INFO]: - BlueSlimeCore, HuskHomes, HuskSync, nightcore, PlugManX
[14:05:18 INFO]: Bukkit Plugins (113):
[14:05:18 INFO]: - 40ServidoresMC, AFKZone, AntiAFKPlus, AntiAFKPlusAddon, AntiDnTEnchantments, Argus, AttributeFixer, AxInventoryRestore, AxPlayerWarps, AxSellwands
[14:05:18 INFO]: AxTrade, BetterClan, BetterRTP, BetterRTP-MultiServer-Instance, BetterRTP-MultiServer-Requester, Bitsy, BlackMarket, ChatControl, ChunkHoppers, Chunky
[14:05:18 INFO]: ChunkyBorder, CloseCommand, CMILib, CombatLogX, CombatTPAGuard, CommandSynchronizer, ConditionalEvents, ConsoleSpamFixReborn, CoreProtect, CoreProtectPurgeScheduler
[14:05:18 INFO]: CosmeticPlus, CustomDeathMessages, CustomNameplates, CustomServidoresMCMessages, DailyChallenges, DeluxeMenus, *DisableJoinMessage, DiscordSynchronizer-Minecraft, DropConfirmation, eco
[14:05:18 INFO]: EcoEnchants, EcoPlus, Essentials, EssentialsXCrossServer, EventCalendar, ExcellentCrates, FairFight, FastAsyncWorldEdit, floodgate, GemCurrency
[14:05:18 INFO]: GSit, ItemAspects, ItemNameBlackList, Jobs, LastServer-Instance, libreforge, LiteBans, LuckPerms, MenuItem, Miller
[14:05:18 INFO]: MobFarmManager, MoveableSpawner, NewbieProtection, NoProtectionFlag, packetevents, PlaceholderAPI, Plan, PlayerSettings, PlayerUpgrades, PolarLoader
[14:05:18 INFO]: ProKits, ProtectionStones, ProtectionStonesAddon, ProtocolLib, PunishmentGUI, PurchaseConfirm, RandomChestEvent-Requester, RedisChat, RedisPlayerList-Global, RedisPlayerList-Server
[14:05:18 INFO]: RewardCalendar, ServerVariables, ServerVariablesHotFix, ShopGUIPlus, ShopGUIPlus-SellGUI, SilkSpawners, SkinsRestorer, SmartReconnect-Requester, spark, SpawnBalancer-Requester
[14:05:18 INFO]: SpawnerPickaxe, StaffUtil, StatsEditor, TAB, Talismans, Tebex, TheMayor, Topper, Tournament, UltimateAutoRestart
[14:05:18 INFO]: Vault, ViaBackwards, ViaVersion, VoteParty, Votifier, WorldGuard, XConomy, Yadro-Paper, zAuctionHouseHotFix, zAuctionHouseRedis
[14:05:18 INFO]: zAuctionHouseV3, zBaltop, zMenu

Datapack list:
Dungeons and Taverns v5.1.0

Actions to reproduce (if known)

No response

Folia version

This server is running Folia version 1.21.11-11-ver/1.21.11@e112b00 (2026-01-20T18:53:05Z) (Implementing API version 1.21.11-R0.1-SNAPSHOT)

Other

I started using Folia around one month ago. Since then, randomly about once every 1–2 weeks, the server stops due to this issue.

It is not a crash, the server automatically stops itself when the error occurs.

Dominant language
Shell
Stars
4.7k
Forks
651
Avg merge
10d 3h
Merged PRs (30d)
3

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from PaperMC/Folia

All issues in PaperMC/Folia

Similar issues

More Shell/Bash issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.