mojira.dev
MC-131226

Random crashes when teleporting to chunks that havent generated yet

Teleporting to for example 500 500 on a new world has a good chance of crashing your game. dosent happen to generated chunks

---- Minecraft Crash Report ----
// But it works on my machine.

Time: 11.06.18 17:09
Description: Exception generating new chunk

java.util.concurrent.ExecutionException: java.lang.IllegalArgumentException: bound must be positive
	at java.util.concurrent.CompletableFuture.get(CompletableFuture.java:2237)
	at sl.c(SourceFile:126)
	at bbi.d(SourceFile:248)
	at bbi.l(SourceFile:243)
	at bbi.b(SourceFile:597)
	at aie.a(SourceFile:1142)
	at ars.dj(SourceFile:336)
	at ars.S_(SourceFile:278)
	at so.i(SourceFile:371)
	at tl.Y_(SourceFile:190)
	at hu.a(SourceFile:221)
	at tk.c(SourceFile:175)
	at net.minecraft.server.MinecraftServer.w(SourceFile:719)
	at net.minecraft.server.MinecraftServer.v(SourceFile:626)
	at dio.v(SourceFile:156)
	at net.minecraft.server.MinecraftServer.run(SourceFile:531)
	at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.IllegalArgumentException: bound must be positive
	at java.util.Random.nextInt(Random.java:388)
	at bzz.b(SourceFile:177)
	at bzz.c(SourceFile:214)
	at bzz.a(SourceFile:34)
	at bzz$p.c(SourceFile:352)
	at bzz$d.a(SourceFile:835)
	at bwl$a.<init>(SourceFile:89)
	at bwl.a(SourceFile:61)
	at bwm.a(SourceFile:233)
	at bwm.a(SourceFile:71)
	at bys.a(SourceFile:16)
	at bys.a(SourceFile:13)
	at bsp.a(SourceFile:27)
	at bcc.a(SourceFile:515)
	at bqc.a(SourceFile:109)
	at ta.a(SourceFile:12)
	at sz.a(SourceFile:34)
	at bqg.a(SourceFile:95)
	at tg.a(SourceFile:62)
	at tg.a(SourceFile:25)
	at agk$a.a(SourceFile:131)
	at agk$a$$Lambda$1389/1456630627.apply(Unknown Source)
	at java.util.concurrent.CompletableFuture$AsyncApply.exec(CompletableFuture.java:501)
	at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
	at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:902)
	at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1689)
	at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1644)
	at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)


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

-- Head --
Thread: Server thread
Stacktrace:
	at sl.a(SourceFile:170)

-- Chunk to be generated --
Details:
	Location: -19,-88
	Position hash: -373662154771
	Generator: brx@9b81357
Stacktrace:
	at sl.a(SourceFile:170)
	at sl.c(SourceFile:129)
	at bbi.d(SourceFile:248)
	at bbi.l(SourceFile:243)
	at bbi.b(SourceFile:597)
	at aie.a(SourceFile:1142)
	at ars.dj(SourceFile:336)
	at ars.S_(SourceFile:278)
	at so.i(SourceFile:371)
	at tl.Y_(SourceFile:190)
	at hu.a(SourceFile:221)
	at tk.c(SourceFile:175)
	at net.minecraft.server.MinecraftServer.w(SourceFile:719)
	at net.minecraft.server.MinecraftServer.v(SourceFile:626)
	at dio.v(SourceFile:156)
	at net.minecraft.server.MinecraftServer.run(SourceFile:531)
	at java.lang.Thread.run(Thread.java:745)

-- Player being ticked --
Details:
	Entity Type: minecraft:player (so)
	Entity ID: 548
	Entity Name: Plank_02
	Entity's Exact location: -299.50, 100.00, -1399.50
	Entity's Block location: World: (-300,100,-1400), Chunk: (at 4,6,8 in -19,-88; contains blocks -304,0,-1408 to -289,255,-1393), Region: (-1,-3; contains chunks -32,-96 to -1,-65, blocks -512,0,-1536 to -1,255,-1025)
	Entity's Momentum: 0.00, 0.00, 0.00
	Entity's Passengers: []
	Entity's Vehicle: ~~ERROR~~ NullPointerException: null

-- Ticking connection --
Details:
	Connection: hu@5892a251

-- System Details --
Details:
	Minecraft Version: 1.13-pre1
	Operating System: Windows 10 (amd64) version 10.0
	Java Version: 1.8.0_25, Oracle Corporation
	Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
	Memory: 417970792 bytes (398 MB) / 1298661376 bytes (1238 MB) up to 2863661056 bytes (2731 MB)
	JVM Flags: 2 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx3G
	Profiler Position: N/A (disabled)
	Player Count: 1 / 8; [so['Plank_02'/548, l='1 3 0', x=-299.50, y=100.00, z=-1399.50]]
	Data Packs: vanilla
	Type: Integrated Server (map_client.txt)
	Is Modded: Probably not. Jar signature remains and both client + server brands are untouched.

Attachments

Comments 1

Please check if that's still an issue for you in 1.13.1.

Sander B

(Unassigned)

Unconfirmed

Minecraft 1.13-pre1

Retrieved