mojira.dev
MC-207408

Trying to generate something below y=0 results in game crash

When we try to generate something other than block layer below y=0, the game will crash with following informations (removed note about crash log generation, crash log itself added to the files)

 

As of 21w05a it seems to be fixed. Probably due to the fix of MC-212422, however the bedrock layer is still generated at y=0, so don't really have a way to tell.

09:07:16.890net.minecraft.server.MinecraftServerServer threadGenerating keypair

09:07:18.535net.minecraft.server.MinecraftServerServer threadEncountered an unexpected exception
u: Exception generating new chunk
	at net.minecraft.server.MinecraftServer.a(SourceFile:389)
	at net.minecraft.server.MinecraftServer.l_(SourceFile:334)
	at esz.d(SourceFile:69)
	at net.minecraft.server.MinecraftServer.w(SourceFile:644)
	at net.minecraft.server.MinecraftServer.a(SourceFile:257)
	at net.minecraft.server.MinecraftServer$$Lambda$4586/1551630190.run(Unknown Source)
	at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 16
	at civ.b(SourceFile:216)
	at cld.a(SourceFile:615)
	at cig.f(SourceFile:71)
	at cig$$Lambda$1917/1687037426.doWork(Unknown Source)
	at cig$d.doWork(SourceFile:263)
	at cig.a(SourceFile:219)
	at aaf.a(SourceFile:562)
	at aaf$$Lambda$4689/1294500830.apply(Unknown Source)
	at com.mojang.datafixers.util.Either$Left.map(Either.java:38)
	at aaf.a(SourceFile:556)
	at aaf$$Lambda$4674/1824151702.apply(Unknown Source)
	at java.util.concurrent.CompletableFuture.uniCompose(CompletableFuture.java:952)
	at java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:926)
	at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:442)
	at aah.b(SourceFile:58)
	at aah$$Lambda$4687/952883018.run(Unknown Source)
	at aou.e(SourceFile:94)
	at aou.a(SourceFile:137)
	at aou.run(SourceFile:105)
	at java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(ForkJoinTask.java:1402)
	at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
	at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
	at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1689)
	at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)

09:07:18.580net.minecraft.server.MinecraftServerServer threadStopping server
09:07:18.580net.minecraft.server.MinecraftServerServer threadSaving players
09:07:18.581net.minecraft.server.MinecraftServerServer threadSaving worlds
09:07:18.581net.minecraft.server.MinecraftServerServer threadSaving chunks for level 'ServerLevel[New World]'/minecraft:overworld

09:07:18.582net.minecraft.server.MinecraftServerServer threadException stopping the server
java.util.concurrent.CompletionException: u: Exception generating new chunk
	at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:273)
	at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:280)
	at java.util.concurrent.CompletableFuture.uniCompose(CompletableFuture.java:961)
	at java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:926)
	at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:442)
	at aah.b(SourceFile:58)
	at aah$$Lambda$4687/952883018.run(Unknown Source)
	at aou.e(SourceFile:94)
	at aou.a(SourceFile:137)
	at aou.run(SourceFile:105)
	at java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(ForkJoinTask.java:1402)
	at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
	at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
	at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1689)
	at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)
Caused by: u: Exception generating new chunk
	at aaf.a(SourceFile:573)
	at aaf$$Lambda$4689/1294500830.apply(Unknown Source)
	at com.mojang.datafixers.util.Either$Left.map(Either.java:38)
	at aaf.a(SourceFile:556)
	at aaf$$Lambda$4674/1824151702.apply(Unknown Source)
	at java.util.concurrent.CompletableFuture.uniCompose(CompletableFuture.java:952)
	... 12 more
Caused by: java.lang.ArrayIndexOutOfBoundsException: 16
	at civ.b(SourceFile:216)
	at cld.a(SourceFile:615)
	at cig.f(SourceFile:71)
	at cig$$Lambda$1917/1687037426.doWork(Unknown Source)
	at cig$d.doWork(SourceFile:263)
	at cig.a(SourceFile:219)
	at aaf.a(SourceFile:562)
	... 17 more
09:07:16.890net.minecraft.server.MinecraftServerServer threadGenerating keypair

09:07:18.535net.minecraft.server.MinecraftServerServer threadEncountered an unexpected exception
u: Exception generating new chunk
	at net.minecraft.server.MinecraftServer.a(SourceFile:389)
	at net.minecraft.server.MinecraftServer.l_(SourceFile:334)
	at esz.d(SourceFile:69)
	at net.minecraft.server.MinecraftServer.w(SourceFile:644)
	at net.minecraft.server.MinecraftServer.a(SourceFile:257)
	at net.minecraft.server.MinecraftServer$$Lambda$4586/1551630190.run(Unknown Source)
	at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 16
	at civ.b(SourceFile:216)
	at cld.a(SourceFile:615)
	at cig.f(SourceFile:71)
	at cig$$Lambda$1917/1687037426.doWork(Unknown Source)
	at cig$d.doWork(SourceFile:263)
	at cig.a(SourceFile:219)
	at aaf.a(SourceFile:562)
	at aaf$$Lambda$4689/1294500830.apply(Unknown Source)
	at com.mojang.datafixers.util.Either$Left.map(Either.java:38)
	at aaf.a(SourceFile:556)
	at aaf$$Lambda$4674/1824151702.apply(Unknown Source)
	at java.util.concurrent.CompletableFuture.uniCompose(CompletableFuture.java:952)
	at java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:926)
	at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:442)
	at aah.b(SourceFile:58)
	at aah$$Lambda$4687/952883018.run(Unknown Source)
	at aou.e(SourceFile:94)
	at aou.a(SourceFile:137)
	at aou.run(SourceFile:105)
	at java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(ForkJoinTask.java:1402)
	at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
	at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
	at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1689)
	at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)

09:07:18.580net.minecraft.server.MinecraftServerServer threadStopping server
09:07:18.580net.minecraft.server.MinecraftServerServer threadSaving players
09:07:18.581net.minecraft.server.MinecraftServerServer threadSaving worlds
09:07:18.581net.minecraft.server.MinecraftServerServer threadSaving chunks for level 'ServerLevel[New World]'/minecraft:overworld

09:07:18.582net.minecraft.server.MinecraftServerServer threadException stopping the server
java.util.concurrent.CompletionException: u: Exception generating new chunk
	at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:273)
	at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:280)
	at java.util.concurrent.CompletableFuture.uniCompose(CompletableFuture.java:961)
	at java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:926)
	at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:442)
	at aah.b(SourceFile:58)
	at aah$$Lambda$4687/952883018.run(Unknown Source)
	at aou.e(SourceFile:94)
	at aou.a(SourceFile:137)
	at aou.run(SourceFile:105)
	at java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(ForkJoinTask.java:1402)
	at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
	at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
	at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1689)
	at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)
Caused by: u: Exception generating new chunk
	at aaf.a(SourceFile:573)
	at aaf$$Lambda$4689/1294500830.apply(Unknown Source)
	at com.mojang.datafixers.util.Either$Left.map(Either.java:38)
	at aaf.a(SourceFile:556)
	at aaf$$Lambda$4674/1824151702.apply(Unknown Source)
	at java.util.concurrent.CompletableFuture.uniCompose(CompletableFuture.java:952)
	... 12 more
Caused by: java.lang.ArrayIndexOutOfBoundsException: 16
	at civ.b(SourceFile:216)
	at cld.a(SourceFile:615)
	at cig.f(SourceFile:71)
	at cig$$Lambda$1917/1687037426.doWork(Unknown Source)
	at cig$d.doWork(SourceFile:263)
	at cig.a(SourceFile:219)
	at aaf.a(SourceFile:562)
	... 17 more

Attachments

Comments 2

Please check if this is still an issue in 21w03a or later.

user-39d6c

(Unassigned)

Confirmed

Very Important

Crash, Custom Worlds

20w49a, 21w03a

21w05a

Retrieved