How to Fix "Exception in Server Tick Loop"
This crash means something broke while the server was running a tick. Here's how to find what.
"Exception in server tick loop" is a general crash message: something went wrong during a server tick and the server stopped. The real cause is in the lines below it.
Find the cause
- Open Files and go to
crash-reports. Open the newest file. - Read the
Descriptionand the first few lines of the stack trace under it. - Look for a mod or plugin name, or a familiar error.
Common causes
| In the crash report | Fix |
|---|---|
OutOfMemoryError |
Remove heavy mods, lower view distance, or upgrade your plan |
Ticking entity / Ticking block entity |
See How to Fix Ticking Entity Errors |
| A mod's name in the first lines | Update or remove that mod in Package Manager |
JsonSyntaxException, MalformedJsonException |
A broken .json file: often ops.json, whitelist.json, usercache.json or a mod's config. Fix or delete the file named |
Failed to check session lock |
See How to Fix Failed to Check Session Lock |
A broken JSON file
If the error names a .json file:
- Stop the server.
- Open the file in Files. Look for a missing comma, quote or bracket near the line the error mentions.
- If it's
usercache.json, you can simply delete it; the server makes a new one. - Start the server.
Can't tell what's wrong? Open a ticket with the crash report attached.