Diagnosing and Fixing Chunk Corruption
When the engine throws a `java.lang.Throwable` for a single coordinate, here's how to recover.
What Chunk Corruption Looks Like
The world is stored in 16Ć16 vertical slices called chunks. When a chunk's binary data goes bad, the engine throws on load. The classic stack trace:
[INFO] Chunk (42, -2) stored at (35, -28)
java.lang.Throwable
at org.bukkit.craftbukkit.util.LongHashtable.get(LongHashtable.java:32)
at net.minecraft.server.ChunkProviderServer.getOrCreateChunk(...)
at net.minecraft.server.World.getChunkAt(...)
at net.minecraft.server.World.getTypeId(...)Symptoms in-game:
- TPS tanks the moment a player walks toward the bad coords
- World fails to save
- "World holes", unrenderable voids
- Plugins error when they touch the bad blocks
Fix It Without Losing The World
- 1Stop the server (don't just kick players, full stop)
- 2SFTP into the world folder
- 3Find the region file containing the corrupt coords. Chunk ā region math:
regionX = floor(chunkX / 32),regionZ = floor(chunkZ / 32). For chunk (42, -2): regionr.1.-1.mca - 4Back up that region file off-server
- 5Open the world in MCEdit or MCC Tool Chest and delete just the bad chunk
- 6Save ā upload back ā start the server
- 7The engine regenerates the empty chunk cleanly from the seed
Players within ~512 blocks of the deletion will see a regenerated patch. Anyone living there: warn them first.
Catastrophic Corruption
If multiple regions are bad, the level.dat is broken, or the world won't load at all, restore from a backup. If you don't have one, see DriveBackupV2 setup.
Need More Help?
Paste the full stack trace in our Discord. We have admins who do this in their sleep.
Was this helpful?
Your feedback helps us write better guides.
Related Articles
More from Minecraft Hosting.
How to Start Your First Minecraft Server
From empty panel to a joinable world in under two minutes.
How to Install Plugins on Your Server
Bukkit, Spigot, and Paper plugins, installed and loaded the right way.
How to Install a Modpack (Forge / Fabric)
CurseForge and Modrinth modpacks, installed straight from the panel.
Still need help?
Our team is on Discord around the clock. Real humans, real answers.