mojira.dev
MC-133763

IllegalArgumentException - Crash when loading the End

Upon joining the End for the first time in 1.13-pre9, my game crashes with the following trace:

Description: Exception ticking world

java.lang.IllegalArgumentException: bound must be positive
        at java.util.Random.nextInt(Random.java:388)
        at axz.a(SourceFile:196)
        at axz.a(SourceFile:98)
        at tc.i_(SourceFile:196)
        at net.minecraft.server.MinecraftServer.w(SourceFile:690)
        at sn.w(SourceFile:357)
        at net.minecraft.server.MinecraftServer.v(SourceFile:623)
        at net.minecraft.server.MinecraftServer.run(SourceFile:526)
        at java.lang.Thread.run(Thread.java:748)

Full info:

-- Head --
Thread: Server thread
Stacktrace:
        at java.util.Random.nextInt(Random.java:388)
        at axz.a(SourceFile:196)
        at axz.a(SourceFile:98)
        at tc.i_(SourceFile:196)-- Affected level --
Details:
        Level name: world
        All players: 1 total; [te['Sebass'/392, l='world', x=100.00, y=49.00, z=0.00]]
        Chunk stats: ServerChunkCache: 17 Drop: 0
        Level seed: 1622175043147928328
        Level generator: ID 00 - default, ver 1. Features enabled: false
        Level generator options: {}
        Level spawn location: World: (0,0,0), Chunk: (at 0,0,0 in 0,0; contains blocks 0,0,0 to 15,255,15), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
        Level time: 0 game time, 0 day time
        Level dimension: 0
        Level storage version: 0x00000 - Unknown?
        Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false)
        Level game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: false
Stacktrace:
        at net.minecraft.server.MinecraftServer.w(SourceFile:690)
        at sn.w(SourceFile:357)
        at net.minecraft.server.MinecraftServer.v(SourceFile:623)
        at net.minecraft.server.MinecraftServer.run(SourceFile:526)
        at java.lang.Thread.run(Thread.java:748)-- System Details --
Details:
        Minecraft Version: 1.13-pre9
        Operating System: Linux (amd64) version 4.4.0-109-generic
        Java Version: 1.8.0_171, Oracle Corporation
        Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Oracle Corporation
        Memory: 4510973952 bytes (4302 MB) / 6442450944 bytes (6144 MB) up to 6442450944 bytes (6144 MB)
        JVM Flags: 14 total; -Xms6G -Xmx6G -XX:+UseG1GC -XX:+UnlockExperimentalVMOptions -XX:MaxGCPauseMillis=100 -XX:+DisableExplicitGC -XX:TargetSurvivorRatio=90 -XX:G1NewSizePercent=50 -XX:G1MaxNewSizePercent=80 -XX:InitiatingHeapOccupancyPercent=10 -XX:G1MixedGCLiveThresholdPercent=50 -XX:+AggressiveOpts -XX:+A$
        Profiler Position: N/A (disabled)
        Player Count: 1 / 10; [te['Sebass'/392, l='world', x=100.00, y=49.00, z=0.00]]
        Data Packs: vanilla, file/pack (incompatible)
        Is Modded: Unknown (can't tell)
        Type: Dedicated Server (map_server.txt)

This occured even after I deleted all region data, leaving me to believe that something is wrong with my playerdata file. Indeed, when I created a new world in singleplayer and placed my existing .dat file in, the game also crashed:

---- Minecraft Crash Report -------- Minecraft Crash Report ----// Who set us up the TNT?
Time: 7/17/18 4:41 AMDescription: Exception ticking world
java.lang.IllegalArgumentException: bound must be positive at java.util.Random.nextInt(Random.java:388) at axz.a(SourceFile:196) at axz.a(SourceFile:98) at tc.i_(SourceFile:196) at net.minecraft.server.MinecraftServer.w(SourceFile:690) at net.minecraft.server.MinecraftServer.v(SourceFile:623) at dft.v(SourceFile:157) at net.minecraft.server.MinecraftServer.run(SourceFile:526) at java.lang.Thread.run(Thread.java:745)A detailed walkthrough of the error, its code path and all known details is as follows:---------------------------------------------------------------------------------------
-- Head --Thread: Server threadStacktrace: at java.util.Random.nextInt(Random.java:388) at axz.a(SourceFile:196) at axz.a(SourceFile:98) at tc.i_(SourceFile:196)
-- Affected level --Details: Level name: Test World All players: 1 total; [te['Sebass'/348, l='Test World', x=100.00, y=49.00, z=0.00]] Chunk stats: ServerChunkCache: 34 Drop: 0 Level seed: -233920129908824440 Level generator: ID 00 - default, ver 1. Features enabled: false Level generator options: {} Level spawn location: World: (0,0,0), Chunk: (at 0,0,0 in 0,0; contains blocks 0,0,0 to 15,255,15), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511) Level time: 0 game time, 0 day time Level dimension: 0 Level storage version: 0x00000 - Unknown? Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false) Level game mode: ~~ERROR~~ NullPointerException: nullStacktrace: at net.minecraft.server.MinecraftServer.w(SourceFile:690) at net.minecraft.server.MinecraftServer.v(SourceFile:623) at dft.v(SourceFile:157) at net.minecraft.server.MinecraftServer.run(SourceFile:526) at java.lang.Thread.run(Thread.java:745)
-- System Details --Details: Minecraft Version: 1.13-pre9 Operating System: Windows 10 (amd64) version 10.0 Java Version: 1.8.0_51, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 3641931872 bytes (3473 MB) / 4108845056 bytes (3918 MB) up to 4108845056 bytes (3918 MB) JVM Flags: 4 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx4G -Xms4G Profiler Position: N/A (disabled) Player Count: 1 / 8; [te['Sebass'/348, l='Test World', x=100.00, y=49.00, z=0.00]] Data Packs: vanilla Type: Integrated Server (map_client.txt) Is Modded: Probably not. Jar signature remains and both client + server brands are untouched.

Thus, something must have gone wrong for my .dat file when I was transferred to the end on my server.

 

Linked issues

Attachments

Comments 1

Sebastian Mendez

(Unassigned)

Unconfirmed

Minecraft 1.13-pre9

Retrieved