Mojira Archive
MC-237330

Worlds created with seed "REDApRES" (0) crash when trying to load new 1.18 mountain biomes / java.lang.NullPointerException: Cannot invoke "dfw.a(double, double, double)" because "this.a" is null

Basically the title. This doesn't affect any cave biomes. To recreate this you just have to enter "REDApRES" into the seed field and create a new world. After that you can locate and tp/walk to any of the new mountain biomes except Meadow and the world will crash. I tried this on a server and the error was "java.lang.NullPointerException: Cannot invoke "dfw.a(double, double, double)" because "this.a" is null" and the server closed with error code "255".

I understand that technically seed "0" isn't even supposed to be entered but it have worked with all previous versions so I think this crash counts as a bug.

My guess is that this new mountain generation is completely based on the raw seed so there probably won't be any fix for this bug but I am still reporting it because I often use it and I got hope.

Stack trace

crash-2021-09-21_15.04.25-server.txt
Description: Exception generating new chunk

java.lang.NullPointerException: Cannot invoke "dfw.a(double, double, double)" because "this.a" is null
	at dff.a(SourceFile:38)
	at dfi.a(SourceFile:24)
	at dff.a(SourceFile:30)
	at dff.a(SourceFile:13)
	at det.a(SourceFile:27)
	at bze.a(SourceFile:352)
	at crh.a(SourceFile:330)
	at cod.e(SourceFile:98)
	at cod$d.doWork(SourceFile:306)
	at cod.a(SourceFile:256)
	at abj.a(SourceFile:625)
	at com.mojang.datafixers.util.Either$Left.map(Either.java:38)
	at abj.a(SourceFile:619)
	at java.base/java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:1146)
	at java.base/java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:478)
	at abl.b(SourceFile:58)
	at ask.g(SourceFile:91)
	at ask.a(SourceFile:146)
	at ask.run(SourceFile:102)
	at java.base/java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(ForkJoinTask.java:1434)
	at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:295)
	at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1016)
	at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1665)
	at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1598)
	at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)

Fixed

Alex Ivanov

2021-09-21, 07:55 PM

2021-10-13, 06:03 PM

2021-10-13, 06:03 PM

9

7

Confirmed

Very Important

Crash

21w37a, 21w38a, 21w39a, 21w40a

21w41a