Home ›
Blog ›
Minecraft Server Keeps Crashing — Fix Guide
Minecraft Server Keeps Crashing? How to Fix It in 2026
By FreeGameHost Team • Updated May 2026 • 10 min read
A crashing Minecraft server is one of the most frustrating problems a server owner can face — especially when it happens mid-session and boots everyone out. The good news is that virtually every Minecraft server crash has a readable error message, and once you know what you're looking for, the fix is usually straightforward.
This guide covers the most common crash types, how to read your crash log, and step-by-step fixes for each one.
Step 1: Read your crash log
Before anything else, open your crash log. This is where the answer almost always lives.
1
Find the crash log
In your FreeGameHost panel, go to File Manager and look for a folder named crash-reports/. Open the most recent file — it's named by date and time. On other hosts, check the logs/latest.log file if no crash-reports folder exists.
2
Find the "Caused by" line
Crash logs are long. Scroll past the stack trace and look for lines starting with Caused by: — this is the actual error. Everything above it is just the chain of events leading to the crash. The Caused By line tells you the root problem.
3
Note which plugin or mod appears
Immediately after the Caused By line, look for filenames or class names — these often include the plugin or mod responsible. Lines containing net.minecraft or io.papermc point to a core server issue; lines with a plugin name point to a plugin issue.
The most common Minecraft server crashes — and how to fix them
🔴 Out of Memory / Java heap space
The most common crash. Your server ran out of RAM. You'll see this in the log:
java.lang.OutOfMemoryError: Java heap space
Fix: You need more RAM allocated to your server. On FreeGameHost, go to your server's Startup tab and increase the memory allocation. If you're already at 4GB and running a heavy modpack, you may need fewer mods or a paid plan. Also check for memory leaks — a plugin that's not releasing memory properly will cause this even with adequate RAM.
🔴 Plugin conflict / NullPointerException on startup
A plugin is crashing immediately when the server starts. The log will show the plugin name followed by an error like:
Caused by: java.lang.NullPointerException
at com.example.myplugin.Main.onEnable(Main.java:42)
Fix: Identify the plugin from the class name in the error. Remove or update that plugin. Also check: does the plugin require a dependency that isn't installed? Check the plugin's documentation for required dependencies (e.g. Vault, PlaceholderAPI) and make sure they're installed and loading first.
⚠️ Corrupted world / chunk error
A corrupted chunk causes the server to crash when players enter a specific area. Signs: server crashes when players move to a certain location but works fine elsewhere.
Caused by: java.util.zip.ZipException: invalid distance too far back
Fix: Use a chunk deletion tool. Install Chunky or use MCEdit to identify and delete the corrupted chunk file. The chunk will regenerate when a player enters the area, though player-built structures in that chunk will be lost. Always restore from a backup first if you have one.
⚠️ Wrong Java version
Running a newer version of Minecraft with an older Java, or vice versa. You'll see:
java.lang.UnsupportedClassVersionError: Unsupported major.minor version
Fix: Minecraft 1.17+ requires Java 17. Minecraft 1.20.5+ requires Java 21. In your FreeGameHost startup settings, confirm the correct Java version is selected for your Minecraft version. On self-hosted servers, install the correct JDK and point your start script to it.
⚠️ Plugin version mismatch
A plugin built for an older or newer API version than your server. Common after updating Minecraft without updating plugins.
org.bukkit.plugin.InvalidPluginException: Cannot find main class
Fix: Update the problem plugin to a version compatible with your current Minecraft/Paper version. Check the plugin's SpigotMC or Hangar page — the download page lists supported server versions. If no compatible version exists, remove the plugin temporarily.
ℹ️ Mod version conflict (Forge/Fabric)
Two mods are incompatible, or a mod requires a specific version of another mod that isn't installed.
net.minecraftforge.fml.common.MissingModsException: Mod X requires Mod Y version 2.x
Fix: Read the full error — it names the missing or incompatible mod. Install the required dependency or downgrade/upgrade the conflicting mod to a compatible version. Always check mod compatibility before updating individual mods in a modpack.
ℹ️ Port already in use
The server can't bind to port 25565 because something else is using it, or a previous instance didn't shut down cleanly.
FAILED TO BIND TO PORT!
The exception was: java.net.BindException: Address already in use
Fix: On FreeGameHost, stop your server fully and wait 30 seconds before restarting. If the issue persists, restart the server allocation from the panel. On self-hosted servers, run netstat -ano | findstr :25565 (Windows) or lsof -i :25565 (Linux) to find and kill the process using the port.
ℹ️ Watchdog thread crash (server froze)
The server stopped responding for too long (usually 60 seconds) and the watchdog killed it to prevent a full hang.
Considering it to be crashed, server has been stalled for 60 seconds
------------------------------
java.lang.Thread.sleep
Fix: This means the server was so laggy it became unresponsive. The real issue is performance, not the crash itself. Install Spark and profile your server during high load to identify what's causing the lag — most commonly: entity buildup, a laggy plugin, or running complex world generation with insufficient RAM.
Server crashes on startup only
If your server crashes immediately on startup without any players joining, the cause is almost always one of these:
- A plugin with a missing dependency (install Vault, PlaceholderAPI, etc.)
- A plugin incompatible with your Minecraft version
- Wrong Java version configured
- A corrupted or invalid
server.properties file
- Insufficient RAM allocated for the server type (modpacks especially)
Binary search method for plugin crashes
If you can't identify the culprit plugin from the error:
- Move half your plugins out of the plugins folder into a backup folder
- Start the server — if it starts, the problem plugin is in the removed half
- Move half of the removed plugins back in. Start again.
- Repeat until you've isolated the single problem plugin
This binary search approach finds the problem plugin in at most 5 rounds, regardless of how many plugins you have.
Server crashes mid-game (random crashes)
Random mid-game crashes are harder to diagnose because they're often triggered by a specific player action or game event. Common causes:
- Memory leak in a plugin — RAM usage climbs over hours until the server crashes. Use Spark's heap analysis to identify which plugin is holding memory.
- Specific item or entity interaction — a corrupted item in a player's inventory, or a specific mob interaction triggers a plugin crash. Check crash logs for the triggering event.
- World chunk loading — crashing when players explore new areas points to a world generation or chunk issue. Try pre-generating chunks with Chunky to surface and fix bad chunks before players reach them.
- Scheduled task failure — a plugin running a background task every N minutes crashes on that cycle. Look for the crash timing pattern in your logs.
Crash after updating Minecraft or Paper
Updates break plugins regularly. If your server was stable and crashed only after an update:
- Check which plugins haven't been updated for the new version — compare the plugin release dates to your Minecraft version release date
- Download updates for all plugins from SpigotMC or Hangar
- For plugins with no update available, remove them temporarily and contact the developer
- If rolling back is needed, restore your pre-update backup and run the previous Paper version until plugins catch up
Prevention tip: Always take a full backup before updating Minecraft version or Paper. FreeGameHost creates automatic daily backups, but take a manual one via the panel before any major update so you have a clean restore point.
Quick diagnostic checklist
- Opened the crash-reports folder and read the full crash log
- Found the "Caused by:" line and noted the error type
- Checked if a plugin name appears near the crash
- Verified Java version matches Minecraft version requirements
- Confirmed RAM allocation is sufficient for server type
- Checked all plugins are updated for current Minecraft version
- Verified all plugin dependencies (Vault, PlaceholderAPI, etc.) are installed
- Tested with plugins removed (binary search method) if crash is on startup
- Restored from backup if world corruption is suspected
Frequently asked questions
Where do I find my Minecraft server crash logs on FreeGameHost?
In your panel at panel.freegamehost.xyz, go to File Manager and open the crash-reports folder in your server root. If no crash-reports folder exists, check logs/latest.log — the crash will appear at the end of that file.
My server crashes instantly when I start it — what do I do?
Read the startup log in the console tab for the error. The most common causes are a plugin missing a dependency, wrong Java version, or insufficient RAM for your server type. Remove all plugins and try starting vanilla — if it starts, add plugins back one by one until the crash reoccurs.
Can a corrupted world cause repeated crashes?
Yes. If the crash happens when players move to a specific area, a corrupted chunk is the likely cause. Restore from a backup if available. If not, use a chunk editor to delete the corrupted chunk — it will regenerate, but player structures in that chunk will be lost.
Will crashes delete my world?
Usually no — Minecraft saves world data frequently and crashes typically don't corrupt save data. However, any progress since the last save (a few seconds to a few minutes) may be lost. FreeGameHost's daily automatic backups let you restore to the previous day if something does go wrong.
My server crashes with no error message at all — what now?
A silent crash with no log entry usually means the Java process was killed by the operating system — almost always due to running out of system RAM (not just heap). This happens when your server's memory usage exceeds the available allocation. Reduce plugins, lower RAM-intensive settings, or upgrade your plan.
Tired of crashes on an underpowered host? FreeGameHost gives you 4GB RAM free — more than enough for stable servers.
Create Free Server →
Related: How to fix Minecraft server lag • Best Minecraft server plugins • How to install mods