Exception ticking entity
An error while processing an entity: how to find its coordinates and type, remove the problematic entity, and what usually causes it.
Updated August 13, 2026
java.lang.NullPointerException: Exception ticking entity
Entity Type: minecraft:villager (net.minecraft.world.entity.npc.Villager)
Entity ID: 1284
Entity Name: Villager
Entity's Exact location: 152.50, 64.00, -308.30
The server couldn't process a specific entity. What's useful here is the type and the coordinates.
What to do
- Identify the type and the location from the
Entity TypeandExact locationblocks. - Delete the entity. Go to the location and run:
/kill @e[type=minecraft:villager,distance=..3]
Be careful with @e without filters: it kills everything, including items and armor stands.
- Check what created it. Most often it's a mod or plugin that adds its own data to the entity: A plugin is breaking the server, Mod conflicts.
Repeats every tick
If the error comes in a stream, the server spends resources on it and fills up the log. This is a priority task: until you delete the entity, the server will lag.
After an update
Errors of this kind appear en masse after a version change or after removing a mod: there's no one left to handle entities with old data — Registry remapping.
If you can't delete it
You can cut out the chunk with the MCA Selector tool: it will be generated again — Chunk cleanup. Buildings in the chunk are lost in the process.
