mojira.dev
MC-241251

Crash during feature placement


Minecraft Crash Report ----
// I let you down. Sorry 😞

Time: 11/11/21, 5:55 PM
Description: Feature placement

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)

A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

– Head –
Thread: Server thread
Stacktrace:
    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)

– Feature –
Details:
    Description: ResourceKey[minecraft:worldgen/structure_feature / minecraft:village]

– Generation –
Details:
    CenterX: -391
    CenterZ: -61
    Seed: 2180434865618410192
Stacktrace:
    at cps.a(SourceFile:258)
    at cpu.c(SourceFile:134)
    at cpu.a(SourceFile:274)

– Chunk to be generated –
Details:
    Location: -391,-61
    Position hash: -257698038151
    Generator: csx@7cf536bc
Stacktrace:
    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)

– Affected level –
Details:
    All players: 1 total; [add['croftyraider'/41, l='ServerLevel[wormtongue]', x=-5954.79, y=72.00, z=-1233.03]]
    Chunk stats: 5629
    Level dimension: minecraft:overworld
    Level spawn location: World: (16,72,-16), Section: (at 0,8,0 in 1,4,-1; chunk contains blocks 16,-64,-16 to 31,319,-1), Region: (0,-1; contains chunks 0,-32 to 31,-1, blocks 0,-64,-512 to 511,319,-1)
    Level time: 1733981 game time, 2339902 day time
    Level name: wormtongue
    Level game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: true
    Level weather: Rain time: 91208 (now: false), thunder time: 31149 (now: false)
    Known server brands: vanilla
    Level was modded: false
    Level storage version: 0x04ABD - Anvil
Stacktrace:
    at net.minecraft.server.MinecraftServer.b(SourceFile:879)
    at net.minecraft.server.MinecraftServer.a(SourceFile:820)
    at fcg.a(SourceFile:99)
    at net.minecraft.server.MinecraftServer.w(SourceFile:684)
    at net.minecraft.server.MinecraftServer.a(SourceFile:270)
    at java.base/java.lang.Thread.run(Thread.java:831)

Linked issues

Attachments

Comments 5

This was a world I've been playing through several patches (starting at the one where seed consistency was announced). I tried recreating the world and went to the same location and it didn't crash (so far...).

Maybe related - along the way to the crash location, in the desert, there were Azalea trees, but in the recreation they are no longer there.

java.util.concurrent.CompletionException: z: Feature placement
    at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:314)
    at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:319)
    at java.base/java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:1155)
    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)
Caused by: z: Feature placement
    at acp.a(SourceFile:639)
    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)
    ... 11 more
Caused by: 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)
    ... 14 more

I also am having the same issue in two different worlds. posted the error.

Same issue here I updated a world form 1.16.5 to 1.18 pre1 and got this crash after using /kill to return to the world spawn point seems to only happen at the world spawn point in spectator mode for me.

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

If you would like to add a vote and any extra information to the main ticket it would be appreciated.

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

Crofty Raider

(Unassigned)

Unconfirmed

(Unassigned)

1.18 Pre-release 1

Retrieved