Creeperface01 / Nukkit

Nukkit is a Nuclear-Powered Server Software For Minecraft: Pocket Edition
https://nukkit.io
GNU General Public License v3.0
15 stars 5 forks source link

NPE on chunk unload #44

Open PhanaticD opened 7 years ago

PhanaticD commented 7 years ago
2017-10-26 12:41:18 [ALERT] java.lang.RuntimeException: java.lang.RuntimeException: java.lang.NullPointerException
    at cn.nukkit.level.Level.saveChunks(Level.java:1200)
    at cn.nukkit.level.Level.save(Level.java:1183)
    at cn.nukkit.level.Level.save(Level.java:1167)
    at cn.nukkit.Server.doAutoSave(Server.java:973)
    at cn.nukkit.Server.tick(Server.java:1030)
    at cn.nukkit.Server.tickProcessor(Server.java:800)
    at cn.nukkit.Server.start(Server.java:779)
    at cn.nukkit.Server.<init>(Server.java:470)
    at cn.nukkit.Nukkit.main(Nukkit.java:68)
Caused by: java.lang.RuntimeException: java.lang.NullPointerException
    at cn.nukkit.level.format.anvil.Anvil.saveChunk(Anvil.java:279)
    at cn.nukkit.level.Level.saveChunks(Level.java:1196)
    ... 8 more
Caused by: java.lang.NullPointerException
^M

nukkit version as of this commit https://github.com/Creeperface01/Nukkit/commit/830091c1e8f8b9b95b4945a471f61c1482c9e595