mircokroon / minecraft-world-downloader

Download Minecraft worlds, extend server's render distance. 1.12.2 - 1.21
GNU General Public License v3.0
1.25k stars 83 forks source link

java.lang.NullPointerException: Cannot invoke "game.data.chunk.ChunkHeightHandler.heightAt(int, int)" because the return value of "game.data.chunk.Chunk.getChunkHeightHandler()" is null #671

Open shroomjaks opened 5 months ago

shroomjaks commented 5 months ago

Describe the bug java.lang.NullPointerException: Cannot invoke "game.data.chunk.ChunkHeightHandler.heightAt(int, int)" because the return value of "game.data.chunk.Chunk.getChunkHeightHandler()" is null Is repeated in the console until I am timed out from the server

Steps to reproduce If possible, describe how the bug can be achieved. Run the world-downloader.jar in a Linux environment. Connect to the local proxy. Error happens

Log output

java.lang.NullPointerException: Cannot invoke "game.data.chunk.ChunkHeightHandler.heightAt(int, int)" because the return value of "game.data.chunk.Chunk.getChunkHeightHandler()" is null
        at game.data.WorldManager.checkAboveSurface(WorldManager.java:194)
        at game.data.WorldManager.save(WorldManager.java:421)
        at game.data.WorldManager.save(WorldManager.java:467)
        at util.ExceptionHandling.attempt(ExceptionHandling.java:12)
        at util.ExceptionHandling.attempt(ExceptionHandling.java:22)
        at game.data.WorldManager.lambda$start$3(WorldManager.java:417)
        at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
        at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
        at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
        at java.base/java.lang.Thread.run(Thread.java:840)           

Screenshots If applicable, add screenshots to help explain your problem.

Version