"Exception in Server Tick Loop": How to Find the Real Cause
Your server crashed, you opened the crash report, and the description says Exception in server tick loop. Searching that phrase gives thousands of results with completely different fixes, because the phrase itself tells you almost nothing. It just means "something went wrong while the server was running". The real cause is a few lines further down, and once you know where to look, it usually names the mod or plugin to blame.
java.lang.NullPointerException or java.lang.NoSuchMethodError). If there are Caused by: lines, the last one is the root cause. Then scan the first at ... lines for a mod or plugin name, and check the Suspected Mods line on Forge and NeoForge. Update, remove, or fix the config of whatever it names.What the tick loop is
A Minecraft server runs in a loop called the tick loop. Twenty times a second it moves mobs, grows crops, runs redstone, processes players, and calls every mod and plugin that wants to do something that tick. If anything in that loop throws an error that nothing catches, the server can't safely keep going. It stops, writes a crash report, and labels it "Exception in server tick loop".
So the label tells you when it crashed (while running, not while starting), not what crashed.
Step 1: Find the crash report
Look in the server folder:
crash-reports/holds files named likecrash-2026-12-03_14.22.10-server.txt. Open the newest one.logs/latest.loghas the same error near the bottom, after a line like:
[Server thread/ERROR]: Encountered an unexpected exception
If you are not sure which file is which, see where the server logs live.
Step 2: Read the line after the description
The top of the crash report looks like this:
---- Minecraft Crash Report ----
// Who set us up the TNT?
Time: 2026-12-03 14:22:10
Description: Exception in server tick loop
java.lang.NullPointerException: Cannot invoke "net.minecraft.world.entity.Entity.getX()" because "target" is null
at com.example.mobmod.ai.FollowGoal.tick(FollowGoal.java:58)
at net.minecraft.world.entity.ai.goal.WrappedGoal.tick(...)
...
The line right after Description: is the real error. Here it is a NullPointerException: some code expected a value and got nothing. The very next line shows where it happened, and in this example it is inside com.example.mobmod, so the mob mod is the suspect.
If there are "Caused by" lines
Some errors are wrapped inside other errors. You will see:
java.lang.RuntimeException: Error ticking entity
at ...
Caused by: java.lang.IllegalStateException: Something went wrong
at ...
Java prints the outer error first and the original problem last. The last Caused by: is the root cause. Read that one and the at lines just under it.
Step 3: Find the mod or plugin name
Java code is named like folders: com.examplemod.machines.Furnace. Minecraft's own code starts with net.minecraft, and loader code starts with things like net.minecraftforge, net.neoforged, net.fabricmc or io.papermc. Skip over those. The first line that is not Minecraft or the loader is usually your culprit.
More clues, depending on the loader:
| Where to look | What it tells you |
|---|---|
Suspected Mods: line (Forge and NeoForge) |
The loader's own guess, often right |
Jar name in square brackets at the end of at lines, like ~[examplemod-1.2.jar...] |
Which mod file that code came from |
| Mixin lines with a mod ID inside the method name | A mod that patches Minecraft code at that spot |
| A plugin name in the package (Paper, Spigot) | The plugin that threw the error |
If the only names you see are net.minecraft and the loader, the crash may be caused by a broken world (a corrupted chunk or entity) or by running out of memory, rather than by one add-on.
Step 4: Match the error type to a fix
Once you have the error type and a name, this table covers most tick loop crashes:
| Error | What it usually means | What to do |
|---|---|---|
NullPointerException |
A mod hit a missing value, often an edge case or a bug | Update that mod, check its issue tracker, or remove it |
NoSuchMethodError or NoClassDefFoundError |
A mod was built for a different version of Minecraft or of a library it uses | Get the mod build that matches your exact Minecraft and loader version, and update its library mods |
ClassCastException |
Two mods disagree about what an object is, usually a conflict | Check both names in the trace and test with one removed |
ConcurrentModificationException |
A mod changed a list (often entities) while the game was reading it | Update the mod named in the trace |
StackOverflowError |
Code called itself in an endless loop, usually a mod bug or two mods triggering each other | Look for the block of repeating lines in the trace and the mod names inside it |
OutOfMemoryError |
The server ran out of RAM | See out of memory crashes |
Step 5: Fix it without making it worse
- Back up first. Copy the world before removing mods. Removing a mod that added blocks or items deletes them from the world. See how to back up your server.
- Update the suspect. Many tick loop crashes are known bugs that are already fixed in a newer build. Check the mod's Modrinth or CurseForge page and pick the build for your exact Minecraft version.
- Check its config. Some crashes come from one setting, like a mob spawn list or a recipe that points at a missing item.
- Remove it to confirm. If the server runs fine without the mod, you found it. If the mod is part of a modpack, check whether the pack has a newer version first.
- If the crash repeats at the same place, read the report for a section that mentions an entity or block entity and its coordinates. One broken entity or machine can crash the server every time that chunk loads. The full guide to reading a crash report covers ticking entity crashes in more detail.
When the trace names nothing useful
Sometimes every line is Minecraft or the loader. Then:
- Check the previous lines in
latest.log, before the crash. A warning a few seconds earlier often names the mod that started the problem. - Think about what changed last: a new mod, an update, a config edit, a new build in the world.
- Split the mods in half. Remove half (on a copy of the server), start it, and see if it still crashes. Keep halving until one mod is left. It is slow but it always works.
If the server freezes instead of crashing with an exception, that is a different problem: see single server tick took 60 seconds.
On FreaksMC the crash reports are in the crash-reports folder in the panel's Files tab, and you can paste the top of the report into a support email if you want a second pair of eyes on it.
Want a server that just runs fast?
FreaksMC servers run on AMD Ryzen 9 7950X3D processors with fast NVMe storage. Pick vanilla, Paper or a modpack and your server is ready in minutes.
See plans from $4/mo