mojira.dev
MC-116398

Crash when changing dimension/relogging with a full inventory

The bug

When a player changes dimension or relogs with a full inventory, the game will crash.

Crash report

  1. Singleplayer crash report

    ---- Minecraft Crash Report ----
    // Uh... Did I do that?
    
    Time: 4/20/17 11:15 PM
    Description: Ticking player
    
    java.lang.ArrayIndexOutOfBoundsException
    
    
    A detailed walkthrough of the error, its code path and all known details is as follows:
    ---------------------------------------------------------------------------------------
    
    -- Head --
    Thread: Server thread
    Stacktrace:
    	at ns.k_(SourceFile:385)
    
    -- Player being ticked --
    Details:
    	Entity Type: null (ns)
    	Entity ID: 68
    	Entity Name: PlayerName
    	Entity's Exact location: 116.33, -237.44, -92.41
    	Entity's Block location: World: (116,-238,-93), Chunk: (at 4,-15,3 in 7,-6; contains blocks 112,0,-96 to 127,255,-81), Region: (0,-1; contains chunks 0,-32 to 31,-1, blocks 0,0,-512 to 511,255,-1)
    	Entity's Momentum: 0.00, -3.46, 0.00
    	Entity's Passengers: []
    	Entity's Vehicle: ~~ERROR~~ NullPointerException: null
    Stacktrace:
    	at ns.k_(SourceFile:385)
    	at oc.G_(SourceFile:182)
    	at gd.a(SourceFile:231)
    	at ob.c(SourceFile:187)
    	at net.minecraft.server.MinecraftServer.D(SourceFile:652)
    	at net.minecraft.server.MinecraftServer.C(SourceFile:562)
    	at cfz.C(SourceFile:154)
    	at net.minecraft.server.MinecraftServer.run(SourceFile:466)
    	at java.lang.Thread.run(Thread.java:745)
    
    -- Ticking connection --
    Details:
    	Connection: gd@7c7793d3
    
    -- System Details --
    Details:
    	Minecraft Version: 17w16a
    	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: 130807080 bytes (124 MB) / 375955456 bytes (358 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: 0, tallocated: 0
    	Profiler Position: N/A (disabled)
    	Player Count: 1 / 8; [ns[''/68, l='Redstone', x=116.33, y=-237.44, z=-92.41]]
    	Type: Integrated Server (map_client.txt)
    	Is Modded: Probably not. Jar signature remains and both client + server brands are untouched.
  2. Multiplayer crash report

    ---- Minecraft Crash Report ----
    // Don't do that.
    
    Time: 4/20/17 11:22 PM
    Description: Exception in server tick loop
    
    java.lang.ArrayIndexOutOfBoundsException
    
    
    A detailed walkthrough of the error, its code path and all known details is as follows:
    ---------------------------------------------------------------------------------------
    
    -- System Details --
    Details:
    	Minecraft Version: 17w16a
    	Operating System: Windows 10 (amd64) version 10.0
    	Java Version: 1.8.0_121, Oracle Corporation
    	Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
    	Memory: 780051464 bytes (743 MB) / 885522432 bytes (844 MB) up to 1908932608 bytes (1820 MB)
    	JVM Flags: 0 total; 
    	IntCache: cache: 0, tcache: 0, allocated: 13, tallocated: 95
    	Profiler Position: N/A (disabled)
    	Player Count: 1 / 20; [ns[''/224, l='world', x=177.70, y=70.00, z=252.73]]
    	Is Modded: Unknown (can't tell)
    	Type: Dedicated Server (map_server.txt)

Note that when the server crashes while entering the nether the player will log back in at the overworld coordinates, but in the nether.

Linked issues

Attachments

Comments 4

[media]

Same problem also, with an array index exception. After I restarted the game I ended with my head in a block of netherrack.

Can confirm this also for 17w16a.

Has happen many times to me, can confirm happens in 17w16a.

John Spanos

(Unassigned)

Confirmed

crash, end, inventory, nether

Minecraft 17w16a

Minecraft 17w16b

Retrieved