Failed to save chunk in Nether, leads to server crashes
Krewsy opened this issue ยท 0 comments
Bug Description
This previously wasn't an issue as we've spent plenty of time in the nether prior to this, but now anytime we enter the nether the server console is filled with errors saying
[File IO Thread/ERROR] [minecraft/AnvilChunkLoader]: Failed to save chunk java.lang.NullPointerException: null
and occasionally we will see the error
[11:36:59] [File IO Thread/ERROR] [minecraft/AnvilChunkLoader]: Failed to save chunk java.lang.NullPointerException: null at net.minecraft.world.chunk.storage.RegionFile.func_76706_a(RegionFile.java:234) ~[ayj.class:?] at net.minecraft.world.chunk.storage.RegionFile$ChunkBuffer.close(RegionFile.java:361) ~[ayj$a.class:?] at java.util.zip.DeflaterOutputStream.close(DeflaterOutputStream.java:241) ~[?:1.8.0_265] at java.io.FilterOutputStream.close(FilterOutputStream.java:159) ~[?:1.8.0_265] at java.io.FilterOutputStream.close(FilterOutputStream.java:159) ~[?:1.8.0_265] at net.minecraft.world.chunk.storage.AnvilChunkLoader.func_183013_b(AnvilChunkLoader.java:243) ~[aye.class:?] at net.minecraft.world.chunk.storage.AnvilChunkLoader.func_75814_c(AnvilChunkLoader.java:220) [aye.class:?] at net.minecraft.world.storage.ThreadedFileIOBase.func_75736_b(SourceFile:37) [bgx.class:?] at net.minecraft.world.storage.ThreadedFileIOBase.run(SourceFile:30) [bgx.class:?] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_265]
(it appears this one only appears for the first couple minutes after restarting the server and entering the nether, and then it is the first error)
This leads to an eventual server crash every time if we spend more than a few minutes in the nether.
Any time both of us(there are only 2 of us playing on the server) are not in the nether, the entire nether will regenerate upon re-entry. If the server crashes and only one of us are in the nether, after restart we will reload into a nether with no portal, kill ourselves, and on re-entry the nether will have been reset and all of our items lost.
We are in Age 3, we have completed up to the 'Drilling for Oil' achievement in age 3. I have not experience this issue outside of the nether at all.
Did this behavior use to work in the previous version?
Not sure, 3.1.7 is the first version I've played. We created the world in 3.1.6 but only played about 2 days before upgrading, so we were still in Age 0/1 at the time.
Steps to Reproduce (for bugs)
It could possibly take weeks for me to try and reproduce this on a new world organically, but this is what we've done so far:
- Create new world, progress to Age 3, complete up to 'Drilling for Oil' achievement
- Enter nether
- View server console, experience server crash moments after
Logs
- Crash Log: https://pastebin.com/89d9pnj7
Client Information
- Modpack Version: 3.1.7
- Java Version: 1.8.0_261
- Launcher Used: MultiMC
- Memory Allocated: 8GB
- Server/LAN/Single Player: Server
- Optifine Installed: No
- Shaders Enabled: No
World Information
- Modpack Version world created in: 3.1.6
- Additional Content Installed:
Server Information
- Java Version: 1.8.0_265
- Operating System: Ubuntu 20.04.1 LTS
- Hoster/Hosting Solution: I run the server on a dedicated machine in my home
- Sponge (Non-Vanilla Forge) Server: ??