[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.
Environment
Minecraft Version: 1.18 Pre-release 1
Minecraft Version ID: 1.18-pre1
Operating System: Linux (amd64) version 5.4.0-90-generic
Java Version: 16.0.1, Private Build
Java VM Version: OpenJDK 64-Bit Server VM (mixed mode, sharing), Private Build
Memory: 8509558872 bytes (8115 MiB) / 11106516992 bytes (10592 MiB) up to 12884901888 bytes (12288 MiB)
CPUs: 4
Processor Vendor: GenuineIntel
Processor Name: Intel(R) Core(TM) i5-8259U CPU @ 2.30GHz
Identifier: Intel64 Family 6 Model 142 Stepping 10
Microarchitecture: Coffee Lake
Frequency (GHz): 2.30
Number of physical packages: 4
Number of physical CPUs: 4
Number of logical CPUs: 4
Graphics card #0 name: SVGA II Adapter
Graphics card #0 vendor: VMware (0x15ad)
Graphics card #0 VRAM (MB): 128.00
Graphics card #0 deviceId: 0x0405
Graphics card #0 versionInfo: unknown
Virtual memory max (MB): 12102.83
Virtual memory used (MB): 9564.54
Swap memory total (MB): 4096.00
Swap memory used (MB): 0.00
JVM Flags: 9 total; -Xmx12288M -XX:+UseG1GC -Xmx12G -Xms8G -XX:+UnlockExperimentalVMOptions -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M
Player Count: 1 / 10; [add['LoafaBread'/72, l='ServerLevel[worldgenupdate]', x=-19.75, y=69.00, z=640.53]]
Data Packs: vanilla
Is Modded: Probably not. Server jar signature and brand is untouched
Type: Dedicated Server (map_server.txt)
Linked issues
Attachments
Comments 3
@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.
Seems to be a duplicate of MC-241194.