[SPIGOT-7485] Crash on launch: Cannot drop air Created: 21/Sep/23  Updated: 25/Dec/24  Resolved: 21/Sep/23

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

Type: Bug Priority: Major
Reporter: James Morris Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: crash, spigot
Environment:

Windows 2019 server all updates applied.  Java v21.


Attachments: Text File crash-2023-09-21_09.38.48-server.txt     Text File latest.log    
Version: CraftBukkit version 3875-Spigot-17ca32d-5dfd33d (MC: 1.20.2) (Implementing API version 1.20.2-R0.1-SNAPSHOT)
Guidelines Read: Yes

 Description   

On launching server (with our without plugins) it completes the start up with Done message and immediately crashes.

 

[09:38:46] [Server thread/INFO]: Done (19.003s)! For help, type "help"
[09:38:48] [Server thread/ERROR]: Encountered an unexpected exception
net.minecraft.ReportedException: Ticking block entity

...

Caused by: java.lang.IllegalArgumentException: Cannot drop air

...

[09:38:48] [Server thread/ERROR]:     Cause of unexpected exception was
java.lang.IllegalArgumentException: Cannot drop air

 

Server then proceeds to shut down.

I do see lines that specify something about Hoppers, but I don't know if that's the actual issue.

at net.minecraft.world.level.block.entity.TileEntityHopper.a(TileEntityHopper.java:293) ~[spigot-1.20.2-R0.1-SNAPSHOT.jar:3875-Spigot-17ca32d-5dfd33d]

 

Made a copy of the folders and ran the Vanilla 1.20.2 version and it didn't report a crash on start up.  However, I didn't enter the world to see if that would cause the issue.  Just wanted to test the startup conditions.  Issue could be in a non-loaded chunk for vanilla.

 

Log and crash log are attached.



 Comments   
Comment by James Morris [ 22/Sep/23 ]

Testing with CraftBukkit version 3877-Spigot-17ca32d-f070277 (MC: 1.20.2) (Implementing API version 1.20.2-R0.1-SNAPSHOT) and the server didn't crash on start up.  Good so far.

 

Thanks!

Comment by James Morris [ 21/Sep/23 ]

I was able to confirm the world works with Vanilla with no crash.  Spigot version still crashes.

Generated at Sat Apr 05 10:22:43 UTC 2025 using Jira 10.3.3#10030003-sha1:d220e3fefc8dfc6d47f522d3b9a20c1455e12b7b.