mojira.dev
MC-70008

When i try to open a specific world minecraft closes

What I expected to happen was the world to open
Describe what you thought should happen here

What actually happened was minecraft closed
Describe what happened here

Steps to Reproduce:
1. open the world skyblox

Description: Ticking memory connection

java.lang.IllegalArgumentException: n must be positive
	at java.util.Random.nextInt(Unknown Source)
	at arw.a(SourceFile:153)
	at arw.a(SourceFile:49)
	at ark.a(SourceFile:389)
	at asl.a(SourceFile:85)
	at bgt.a(SourceFile:472)
	at qs.a(SourceFile:174)
	at bff.a(SourceFile:870)
	at qs.c(SourceFile:104)
	at qr.<init>(SourceFile:39)

Linked issues

Attachments

Comments 5

Please ZIP or 7Z and attach the world.

Can confirm. Getting a slightly different crash report with Java 8:

---- Minecraft Crash Report ----
// Who set us up the TNT?

Time: 30.08.14 10:12
Description: Ticking memory connection

java.lang.IllegalArgumentException: bound must be positive
	at java.util.Random.nextInt(Unknown Source)
	at arw.a(SourceFile:153)
	at arw.a(SourceFile:49)
	at ark.a(SourceFile:389)
	at asl.a(SourceFile:85)
	at bgt.a(SourceFile:472)
	at qs.a(SourceFile:174)
	at bff.a(SourceFile:870)
	at qs.c(SourceFile:104)
	at qr.<init>(SourceFile:39)
	at qq.a(SourceFile:231)
	at qq.a(SourceFile:263)
	at sn.a(SourceFile:225)
	at sn.c(SourceFile:277)
	at sn.a(SourceFile:132)
	at rq.b(SourceFile:96)
	at rq.c(SourceFile:54)
	at gr.a(SourceFile:187)
	at rc.c(SourceFile:151)
	at net.minecraft.server.MinecraftServer.z(SourceFile:625)
	at net.minecraft.server.MinecraftServer.y(SourceFile:531)
	at cyi.y(SourceFile:155)
	at net.minecraft.server.MinecraftServer.run(SourceFile:447)
	at java.lang.Thread.run(Unknown Source)


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

-- Head --
Stacktrace:
	at java.util.Random.nextInt(Unknown Source)
	at arw.a(SourceFile:153)
	at arw.a(SourceFile:49)
	at ark.a(SourceFile:389)
	at asl.a(SourceFile:85)
	at bgt.a(SourceFile:472)
	at qs.a(SourceFile:174)
	at bff.a(SourceFile:870)
	at qs.c(SourceFile:104)
	at qr.<init>(SourceFile:39)
	at qq.a(SourceFile:231)
	at qq.a(SourceFile:263)
	at sn.a(SourceFile:225)
	at sn.c(SourceFile:277)
	at sn.a(SourceFile:132)
	at rq.b(SourceFile:96)
	at rq.c(SourceFile:54)
	at gr.a(SourceFile:187)

-- Ticking connection --
Details:
	Connection: gr@1e5b483c
Stacktrace:
	at rc.c(SourceFile:151)
	at net.minecraft.server.MinecraftServer.z(SourceFile:625)
	at net.minecraft.server.MinecraftServer.y(SourceFile:531)
	at cyi.y(SourceFile:155)
	at net.minecraft.server.MinecraftServer.run(SourceFile:447)
	at java.lang.Thread.run(Unknown Source)

-- System Details --
Details:
	Minecraft Version: 1.8-pre3
	Operating System: Windows 7 (amd64) version 6.1
	Java Version: 1.8.0_20, Oracle Corporation
	Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
	Memory: 96914120 bytes (92 MB) / 296484864 bytes (282 MB) up to 1060372480 bytes (1011 MB)
	JVM Flags: 6 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx1G -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn128M
	IntCache: cache: 0, tcache: 0, allocated: 13, tallocated: 95
	Profiler Position: N/A (disabled)
	Player Count: 1 / 8; [qw['Kumasasa'/17, l='Skyblox', x=-257,95, y=70,00, z=-111,47]]
	Type: Integrated Server (map_client.txt)
	Is Modded: Probably not. Jar signature remains and both client + server brands are untouched.

The crash happens specifically when loading chunks that are marked as needing to be populated. I opened up the map in MCEdit and marked the chunks so as to not repopulate and the crash no longer occurred.

@unknown: Stop removing the "Public" attribute!

Is this still an issue in the most recent versions (currently that is 1.10.2, or 16w42a) of Minecraft? If so, please update the affected versions and help us keeping this ticket updated from time to time.

Simon L

(Unassigned)

Confirmed

Minecraft 1.7.10, Minecraft 14w34d, Minecraft 1.8-pre3

Retrieved