Background image of the page

Help Article

How to Diagnose Minecraft Server Crashes?

This article shows you step-by-step on how to diagnose different Minecraft server crashing problems on your server.

Last updated on  Jul 15, 2026

There are many reasons why your Minecraft server could crash, whether it's because of mods, memory, plugins, world corruption, or the wrong Java version.

⚠️
IMPORTANT: Before you change anything, stop the server and take a backup from the Backups tab. Some fixes below involve removing mods or entities, and you'll want a way back.

Step 1: Find the Evidence

When your server crashes, the cause is written down in one of three places.

  1. Head over to the Game Panel and open the Files tab.
  1. crash-reports folder: a new crash-....txt file is created every time the game itself crashes. Open the one at the very bottom (that's the latest).
👉
NOTE: This folder only appears after the first crash. A brand-new server won't have it.
  1. logs folder: the full log of the current session (the same output you see in the console). If there's no crash report, the last lines of this file usually show what went wrong.
  2. hs_err_pid*.log in the main server folder: if you find one of these, Java itself crashed. Skip to Crashed with no crash report? below.

You can also just watch the Console while starting the server. Mod loading errors print there directly. In this example the console tells us the "Zombie Horse Spawn" mod requires the "Collective" mod to work:


Step 2: Read the Crash Report in 60 Seconds

Crash reports look scary, but you only need three things:

  1. The Description: line near the top. It's a plain-English label like Ticking entity, Exception in server tick loop, or Mod loading error has occurred.
  2. The Caused by: chain. Inside the error, keep reading down to the deepest Caused by: line. That's the root cause, everything above it is wrapping.
  3. Mod names in the error. Any package name that isn't net.minecraft... or java... points at a mod. The first mod named is your suspect, but in a big modpack it can also be the victim of another mod, so don't delete it blindly.

At the very bottom, the System Details section lists your Minecraft version, Java version, memory, and every installed mod which is useful for checking versions match.

💡
TIP: Use CTRL + F and search for A detailed walkthrough, the section after that line names the mods involved.

Step 3: Match the Error

1. Missing or Wrong-Version Mods

On Fabric, the server stops with a block like this and it literally tells you the fix:

Incompatible mods found!
A potential solution has been determined, this may resolve your problem:
	 - Install fabric-api, version 0.100.7 or later.
	 - Replace mod 'Clumps' (clumps) 19.0.0.1 with any version that is compatible with: minecraft 1.21.3
More details:
	 - Mod 'AmbientSounds' (ambientsounds) 6.1.3 requires any version of fabric-api, which is missing!

On Forge/NeoForge, look for:

Missing or unsupported mandatory dependencies:
	Mod ID: 'collective', Requested by: 'zombiehorsespawn', Expected range: '[7.30,)', Actual version: '[MISSING]'

It names the missing mod (Mod ID), which mod needs it (Requested by), and the version it wants. If Mod ID: 'minecraft' shows the wrong version, the mod was built for a different Minecraft version than your server runs.

In this crash-report we can see it's caused by the "fastbench" mod requiring the "placebo" mod to work. After installing the required mod, the server starts nicely:

FIX: Install the missing dependency (or the correct version) from Modrinth/CurseForge via the panel's mods manager. Keep scrolling in the report as there may be more than one.

2. A Client-Only Mod on the Server

Mods like minimaps, shaders, and FPS boosters (Sodium, Iris, OptiFine, etc.) only work in the game client. On a dedicated server, they can crash startup with:

Attempted to load class net/minecraft/client/multiplayer/ClientLevel for invalid dist DEDICATED_SERVER

Any error mentioning net/minecraft/client/... classes or invalid dist DEDICATED_SERVER means a client-only mod is in your server's mods folder.

FIX: Remove it from the server (keep it in your own game). The mod's Modrinth page shows whether it's client-side, server-side, or both.

3. Mixin Errors (mod conflicts)

If the report contains org.spongepowered.asm.mixin anywhere in the Caused by: chain, two mods are fighting over the same piece of game code, or a mod doesn't match your game version. Search the log for Mixin apply for mod, it names the cause directly:

Mixin apply for mod seasons failed seasons.mixins.json:BiomeMixin from mod seasons ...
... cannot inject into ... merged by me.jellysquid.mods.sodium... with priority 1000

Here both mods are named: seasons (the one that failed) and Sodium (the one it collided with).

FIX: Update both mods first as most mixin conflicts are already fixed in newer versions. If not, remove one of the pair and report it to the mod's issue tracker.

4. Duplicate Mods

EarlyLoadingException: Duplicate mods found

Two copies of the same mod (often an old and a new version with different file names) are in the mods folder.

FIX: Sort the mods folder by name and delete the older duplicate.

5. Wrong Java Version

... has been compiled by a more recent version of the Java Runtime (class file version 65.0),
this version of the Java Runtime only recognizes class file versions up to 61.0

The mod or server jar wants a newer Java than the server is running. The numbers translate as: class file version minus 44 = Java version (61 = Java 17, 65 = Java 21, 66 = Java 22).

FIX: Switch the Java version in Settings → Startup in the panel, then restart.

6. Ticking Entity

If the Description: says Ticking entity (or Ticking block entity), one specific creature or machine in the world errors every time the game tries to update it. Scroll to the -- Entity being ticked -- section as it gives the exact entity and coordinates:

Here an Iron Golem at -708, 104, 296 is the problem. Fixes, from safest to hardest:

  1. Restore a backup from before the crash loop started, the cleanest fix.
  2. If the server stays up long enough, teleport there and remove the entity, or run a targeted /kill from the console. On older Forge packs, CoFH Core's cofh killall [type] can remove entities even in unloaded chunks.
  3. Forge/NeoForge only: in world/serverconfig/forge-server.toml (or neoforge-server.toml), temporarily set removeErroringEntities (or removeErroringBlockEntities) to true, start the server once, then set it back to false. Leaving it on permanently can silently delete things you want to keep.
  4. Edit/Trim the region with MCA Selector on a downloaded copy of the world.

7. Out of Memory

java.lang.OutOfMemoryError: Java heap space

The server genuinely ran out of its allocated RAM. Before upgrading, check why. A modpack that needs more memory than the plan provides, too many loaded chunks/entities (huge farms, massive exploration), or a leaking mod.

If the pack's official page recommends more RAM than your plan has, upgrading is the right option. If the server ran fine for weeks and suddenly OOMs, something changed; find that first. Our support team can help confirm by opening a ticket.

8. Crashes After Updating or Removing Mods

Changed the modpack under an existing world? These are the usual suspects:

  • "Fatally missing registry entries". Blocks/items from a removed mod still exist in the world. The console offers /fml confirm to continue without them (they vanish from the world, so backup first!).
  • Failed to load data packs, can't proceed with server load. A worldgen mod/datapack the world depends on was removed or changed. Restore it, or start with --safeMode to recover (contact support to do that).
  • Config errors (ParsingException: Not a key...). A config file got corrupted (often after a hard crash). The error names the file, e.g. flywheel-client.toml; delete just that file from the config folder and it regenerates with defaults.

9. Crashing Due to Plugins

On Paper/Purpur/Spigot servers, watch the console at startup:

[Server thread/ERROR]: Could not load 'plugins/EssentialsX.jar' in folder 'plugins'
org.bukkit.plugin.InvalidPluginException: Unsupported API version 1.16

The plugin is named right in the error, it's built for a different server version.

FIX: Download the version of the plugin that matches your server, or remove it.

When the report doesn't name a usable suspect (common in 200+ mod packs), find it by elimination:

  1. Back up the server first.
  2. In the Files tab, move half your mods out of the mods folder (or disable them).
  3. Keep dependencies together since if you disable a library/API mod, disable the mods that need it too, or you'll create new crashes that mislead you.
  4. Start the server. Still crashing? The cause is in the half that's still enabled. Fixed? It's in the half you removed.
  5. Repeat with the problematic half until one mod remains. Update it, replace it, or remove it.
⚠️
WARNING: Careful with worldgen mods (new biomes/dimensions) as disabling them on an existing world can damage or reset those areas. That's what the backup in step 1 is for.

Crashed With No Crash Report?

If the server stops and there's no new file in crash-reports, don't assume anything yet. Check in this order:

  1. The last lines of logs/latest.log. Startup errors on modded servers often stop the server before a crash report is ever written.
  2. An hs_err_pid*.log file in the main folder. Java itself crashed. This can indicate memory problems, but not always.
  3. Neither? The process may have been stopped from outside which can mean the server exceeded its memory limit, but it can also be other things. Open a ticket and our team will check what actually happened on the node.