Server setupServer Error: java.lang.IllegalStateException: Title not set
What the log looks like
java\.lang\.IllegalStateException: Title not set
Container\.getTitle\(Container\.java
How to fix it
- If this happens when right-clicking a Crafter block on Spigot 1.21.4, update your Spigot build via BuildTools or switch your server jar to Paper, which does not have this bug.
- Check the console log directly above the error for `Could not pass event InventoryClickEvent` or `InventoryCloseEvent` to see which plugins are reacting to the untitled menu.
- Update your GUI, crate, or minigame plugins to their latest versions, as older plugins using NMS (internal server code) often open inventories directly without setting a title.
- If you are a plugin developer experiencing this, ensure you pass a valid title when creating inventories via the Bukkit API, or check `InventoryType` before calling `getView().getTitle()` on player inventories.
| Loaders | Server |
|---|
| Severity | Breaks something |
|---|
| Category | Server setup |
|---|
Check your own log