Game crashes with 'Exception generating new chunk'
The bug
Upgrade from 1.10.2. One crash. Chunks aren't generating. Gamemode creative/survival no longer works. Can't leave Spectator Mode. Can't exit the game normally. Must close app.
Crash report
Time: 6/27/18 12:00 PM Description: Exception generating new chunk java.util.concurrent.ExecutionException: java.lang.IndexOutOfBoundsException: Index: 1, Size: 1 at java.util.concurrent.CompletableFuture.reportGet(Unknown Source) at java.util.concurrent.CompletableFuture.get(Unknown Source) at sw.c(SourceFile:126) at te.a(SourceFile:85) at tf.c(SourceFile:122) at sx.i_(SourceFile:221) at net.minecraft.server.MinecraftServer.w(SourceFile:696) at si.w(SourceFile:356) at net.minecraft.server.MinecraftServer.v(SourceFile:630) at net.minecraft.server.MinecraftServer.run(SourceFile:535) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.IndexOutOfBoundsException: Index: 1, Size: 1 at java.util.ArrayList.rangeCheck(Unknown Source) at java.util.ArrayList.set(Unknown Source) at bru.<init>(SourceFile:137) at brv.b(SourceFile:87) at brv.f(SourceFile:123) at brq.a(SourceFile:156) at sw.f(SourceFile:327) at bxg.a(SourceFile:223) at bxg.a(SourceFile:71) at bzm.a(SourceFile:16) at bzm.a(SourceFile:13) at bti.a(SourceFile:27) at bct.a(SourceFile:515) at bqu.a(SourceFile:109) at tl.a(SourceFile:12) at tk.a(SourceFile:35) at bqy.a(SourceFile:95) at tr.a(SourceFile:62) at tr.a(SourceFile:25) at ahb$a.a(SourceFile:130) at java.util.concurrent.CompletableFuture.uniApply(Unknown Source) at java.util.concurrent.CompletableFuture$UniApply.tryFire(Unknown Source) at java.util.concurrent.CompletableFuture$Completion.exec(Unknown Source) at java.util.concurrent.ForkJoinTask.doExec(Unknown Source) at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(Unknown Source) at java.util.concurrent.ForkJoinPool.runWorker(Unknown Source) at java.util.concurrent.ForkJoinWorkerThread.run(Unknown Source)
Description: Exception generating new chunk java.util.concurrent.ExecutionException: java.lang.UnsupportedOperationException at java.util.concurrent.CompletableFuture.reportGet(Unknown Source) at java.util.concurrent.CompletableFuture.get(Unknown Source) at sl.c(SourceFile:126) at st.a(SourceFile:84) at su.c(SourceFile:143) at sm.i_(SourceFile:223) at net.minecraft.server.MinecraftServer.w(SourceFile:693) at net.minecraft.server.MinecraftServer.v(SourceFile:626) at dik.v(SourceFile:156) at net.minecraft.server.MinecraftServer.run(SourceFile:531) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.UnsupportedOperationException at bpy.e(SourceFile:100) at sr.i(SourceFile:245) at sr.a(SourceFile:238) at bsk.a(SourceFile:29) at bsk.a(SourceFile:13) at bss.a(SourceFile:21) at bss.a(SourceFile:13) at bsn.a(SourceFile:27) at bca.a(SourceFile:515) at bqa.a(SourceFile:109) at ta.a(SourceFile:12) at sz.a(SourceFile:34) at bqe.a(SourceFile:95) at tg.a(SourceFile:62) at tg.a(SourceFile:25) at agi$a.a(SourceFile:131) at java.util.concurrent.CompletableFuture.uniApply(Unknown Source) at java.util.concurrent.CompletableFuture$UniApply.tryFire(Unknown Source) at java.util.concurrent.CompletableFuture$Completion.exec(Unknown Source) at java.util.concurrent.ForkJoinTask.doExec(Unknown Source) at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(Unknown Source) at java.util.concurrent.ForkJoinPool.runWorker(Unknown Source) at java.util.concurrent.ForkJoinWorkerThread.run(Unknown Source)
Created Issue:
Spectator Mode
Upgrade from 1.10.2. One crash. Chunks aren't generating. Gamemode creative/survival no longer works. Can't leave Spectator Mode. Can't exit the game normally. Must close app.
Environment
Win 10, i7-4770, GTX 1070, jre1.8.0_171
The bug
Upgrade from 1.10.2. One crash. Chunks aren't generating. Gamemode creative/survival no longer works. Can't leave Spectator Mode. Can't exit the game normally. Must close app.
Crash report
Description: Exception generating new chunk java.util.concurrent.ExecutionException: java.lang.UnsupportedOperationException at java.util.concurrent.CompletableFuture.reportGet(Unknown Source) at java.util.concurrent.CompletableFuture.get(Unknown Source) at sl.c(SourceFile:126) at st.a(SourceFile:84) at su.c(SourceFile:143) at sm.i_(SourceFile:223) at net.minecraft.server.MinecraftServer.w(SourceFile:693) at net.minecraft.server.MinecraftServer.v(SourceFile:626) at dik.v(SourceFile:156) at net.minecraft.server.MinecraftServer.run(SourceFile:531) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.UnsupportedOperationException at bpy.e(SourceFile:100) at sr.i(SourceFile:245) at sr.a(SourceFile:238) at bsk.a(SourceFile:29) at bsk.a(SourceFile:13) at bss.a(SourceFile:21) at bss.a(SourceFile:13) at bsn.a(SourceFile:27) at bca.a(SourceFile:515) at bqa.a(SourceFile:109) at ta.a(SourceFile:12) at sz.a(SourceFile:34) at bqe.a(SourceFile:95) at tg.a(SourceFile:62) at tg.a(SourceFile:25) at agi$a.a(SourceFile:131) at java.util.concurrent.CompletableFuture.uniApply(Unknown Source) at java.util.concurrent.CompletableFuture$UniApply.tryFire(Unknown Source) at java.util.concurrent.CompletableFuture$Completion.exec(Unknown Source) at java.util.concurrent.ForkJoinTask.doExec(Unknown Source) at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(Unknown Source) at java.util.concurrent.ForkJoinPool.runWorker(Unknown Source) at java.util.concurrent.ForkJoinWorkerThread.run(Unknown Source)
Win 10, i7-4770, GTX 1070, jre1.8.0_171
Spectator ModeGame crashes with 'Exception generating new chunk'
is duplicated by
MC-130546
is duplicated by
MC-130546
is duplicated by
is duplicated by
is duplicated by
The bug
Upgrade from 1.10.2. One crash. Chunks aren't generating. Gamemode creative/survival no longer works. Can't leave Spectator Mode. Can't exit the game normally. Must close app.
Crash report
1.13-pre4 (fromMC-132178Time: 6/27/18 12:00 PM Description: Exception generating new chunk java.util.concurrent.ExecutionException: java.lang.IndexOutOfBoundsException: Index: 1, Size: 1 at java.util.concurrent.CompletableFuture.reportGet(Unknown Source) at java.util.concurrent.CompletableFuture.get(Unknown Source) at sw.c(SourceFile:126) at te.a(SourceFile:85) at tf.c(SourceFile:122) at sx.i_(SourceFile:221) at net.minecraft.server.MinecraftServer.w(SourceFile:696) at si.w(SourceFile:356) at net.minecraft.server.MinecraftServer.v(SourceFile:630) at net.minecraft.server.MinecraftServer.run(SourceFile:535) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.IndexOutOfBoundsException: Index: 1, Size: 1 at java.util.ArrayList.rangeCheck(Unknown Source) at java.util.ArrayList.set(Unknown Source) at bru.<init>(SourceFile:137) at brv.b(SourceFile:87) at brv.f(SourceFile:123) at brq.a(SourceFile:156) at sw.f(SourceFile:327) at bxg.a(SourceFile:223) at bxg.a(SourceFile:71) at bzm.a(SourceFile:16) at bzm.a(SourceFile:13) at bti.a(SourceFile:27) at bct.a(SourceFile:515) at bqu.a(SourceFile:109) at tl.a(SourceFile:12) at tk.a(SourceFile:35) at bqy.a(SourceFile:95) at tr.a(SourceFile:62) at tr.a(SourceFile:25) at ahb$a.a(SourceFile:130) at java.util.concurrent.CompletableFuture.uniApply(Unknown Source) at java.util.concurrent.CompletableFuture$UniApply.tryFire(Unknown Source) at java.util.concurrent.CompletableFuture$Completion.exec(Unknown Source) at java.util.concurrent.ForkJoinTask.doExec(Unknown Source) at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(Unknown Source) at java.util.concurrent.ForkJoinPool.runWorker(Unknown Source) at java.util.concurrent.ForkJoinWorkerThread.run(Unknown Source)Description: Exception generating new chunk java.util.concurrent.ExecutionException: java.lang.UnsupportedOperationException at java.util.concurrent.CompletableFuture.reportGet(Unknown Source) at java.util.concurrent.CompletableFuture.get(Unknown Source) at sl.c(SourceFile:126) at st.a(SourceFile:84) at su.c(SourceFile:143) at sm.i_(SourceFile:223) at net.minecraft.server.MinecraftServer.w(SourceFile:693) at net.minecraft.server.MinecraftServer.v(SourceFile:626) at dik.v(SourceFile:156) at net.minecraft.server.MinecraftServer.run(SourceFile:531) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.UnsupportedOperationException at bpy.e(SourceFile:100) at sr.i(SourceFile:245) at sr.a(SourceFile:238) at bsk.a(SourceFile:29) at bsk.a(SourceFile:13) at bss.a(SourceFile:21) at bss.a(SourceFile:13) at bsn.a(SourceFile:27) at bca.a(SourceFile:515) at bqa.a(SourceFile:109) at ta.a(SourceFile:12) at sz.a(SourceFile:34) at bqe.a(SourceFile:95) at tg.a(SourceFile:62) at tg.a(SourceFile:25) at agi$a.a(SourceFile:131) at java.util.concurrent.CompletableFuture.uniApply(Unknown Source) at java.util.concurrent.CompletableFuture$UniApply.tryFire(Unknown Source) at java.util.concurrent.CompletableFuture$Completion.exec(Unknown Source) at java.util.concurrent.ForkJoinTask.doExec(Unknown Source) at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(Unknown Source) at java.util.concurrent.ForkJoinPool.runWorker(Unknown Source) at java.util.concurrent.ForkJoinWorkerThread.run(Unknown Source)
is duplicated by

Cannot set affected version 1.13-pre4, using 1.13-pre5 instead (
MC-132178)Can you attach the world this happens with? Or is it every world that was last opened in 1.10.2?
It's either not every world or doesn't affect 1.13-pre8.
I cannot attach my world as it is too large of a file, but it was first generated in 18w11a, on the seed -2941945307275246814.
Generating a world with the same seed on 1.13-pre8 yields the same world, except that it does not crash at the particular coordinates that the 18w11a world does.
Then please upload it somewhere else and link it here.
Here's a mediafire link to the world I've referenced previously, one location in specific that causes game/server crash (depending on whether it is run in singleplayer or on a server) is in the world at [1049, 72, -3238]. I've found that deleting the region data for this area, and reloading in 1.13-pre8 prevents the crash.
This seems to be 3 different reports rolled into one:
MC-131886`java.lang.ClassCastException: bfv cannot be cast to bhi` - already fixedMC-132178`java.lang.IndexOutOfBoundsException: Index: 1, Size: 1` (current issue, I guess?) - can't reproduce on attached world, but it seems it's result of earlier crash. This is caused by `.mca` file in save with `4096 < size < 8192` and I don't see anything like thatSomething is very wrong with your world - villages.dat files are empty, for example. IndexOutOfBounds exception appears to only be triggerable by the same issue - if the region file is somehow truncated. The only explanation we can think of is running out of disk space, or some other storage corruption.