[1.18 Pre-Release-1] World Crashes with "Cannot invoke "ddm.a(cao, cps, java.util.Random, gh)" when attempting to save a chunk during generation
[Summary]
SMP Server crashes with an NPE while attempting to save a specific chunk that is being generated. I was able to workaround the issue by using MCA Selector to reset the chunk in question (-12,46) which allowed the world to continue on.
java.lang.NullPointerException: Cannot invoke "ddm.a(cao, cps, java.util.Random, gh)" because the return value of "java.util.function.Supplier.get()" is null at dbi.a(SourceFile:75) at dem.a(SourceFile:88) at dem.a(SourceFile:84) at dev.a(SourceFile:62) at cps.a(SourceFile:259) at com.google.common.collect.ImmutableList.forEach(ImmutableList.java:422) at cps.a(SourceFile:258) at cpu.c(SourceFile:134) at cpu.a(SourceFile:274) at acp.a(SourceFile:627) at com.mojang.datafixers.util.Either$Left.map(Either.java:38) at acp.a(SourceFile:621) 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 acr.b(SourceFile:58) at aud.g(SourceFile:91) at aud.a(SourceFile:146) at aud.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)
[To Reproduce]
In Singleplayer:
- Load an MC 1.18-pre1 Java client
- Take the BrokenChunkWorld.zip file, extract into %appdata% > .minecraft > saves
- Open the BrokenChunkWorld world, titled "worldgenupdate" in a single player session
- TP to 31, 70, 660 in-game coords and let the world crash
In SMP
- Take BrokenChunkWorld.zip file > extract into %smpserver%
- Modify the server.properties file to point to the BrokenChunkWorld folder
- Start an MC 1.18-pre1 server.jar client on localhost or remote server which has port 25565 open
- Connect to the SMP server
- TP to 31, 70, 660 in-game coords and let the world crash
[Logs]
I've attached both crash reports from my SMP server, where the problem originated, as well as the single player client that I was able to reproduce it within.
2021-11-13, 03:55 PM
2021-11-19, 05:45 AM
2021-11-19, 05:40 AM
2
0
-