mojira.dev
MC-241429

[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.

Linked issues

Attachments

Comments 3

Seems to be a duplicate of MC-241194.

@ampolive I agree, likely duplicate of MC-241194
Happy to link to master incident and resolve this one.

Thank you for your report!
We're tracking this issue in MC-241194, so this ticket is being resolved and linked as a duplicate.

That ticket has already been resolved as Fixed. Please check the Fix Version/s field in that ticket to see in which version this behavior was or will be fixed.

If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
-- I am a bot. This action was performed automatically! The ticket was resolved by one of our moderators, and I left this message to give more information to you.

Loafabreadly

(Unassigned)

Unconfirmed

(Unassigned)

1.18 Pre-release 1

Retrieved