[SPIGOT-4254] Critical exception on joining a world Created: 11/Aug/18  Updated: 12/Aug/18  Resolved: 11/Aug/18

Status: Resolved
Project: Spigot
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Rincewind Assignee: Unassigned
Resolution: Cannot Reproduce Votes: 0
Labels: 1.13, bug, error, spigot, world

Version: This server is running CraftBukkit version git-Spigot-417cfb3-eb36029 (MC: 1.13) (Implementing API version 1.13-R0.1-SNAPSHOT)
Guidelines Read: Yes

 Description   

I'm getting this exception when I connect to the server (joining the world). The world I connect to is the main overworld (nether and end are disabled). As result the server crashes.

I optimized the world using the built-in mechanic by minecraft.

The exception does not occur if no player connects.

Crash-Report: https://pastebin.com/5WPecuZz
Full-Serverlog: https://pastebin.com/9Gp9K67k



 Comments   
Comment by Rincewind [ 12/Aug/18 ]

I managed to figure out why that exactly happens: I accidentally called World#close() by using the Resource-Try-Catch for the world in the WorldInitEvent. Removing this fixed the problem and the other exception occurring right after the server is fully started.

For that: can be closed.

Comment by md_5 [ 11/Aug/18 ]

Please reproduce without plugins

Generated at Tue Apr 22 06:21:07 UTC 2025 using Jira 10.3.5#10030005-sha1:190c783f2bd6c69cd5accdb70f97e48812a78d14.