mojira.dev
MC-300167

Game crashes when moving items between chest and inventory

To reproduce:

Open a chest and shift-click items into it. Doing this quickly seems to crash the game faster.

Expected result:

The items stay in the chest without crashing the game.

Actual result:

The game crashes with the β€œmouseReleased event handler” reason.

Edit to add crash report after testing with official Minecraft launcher:

---- Minecraft Crash Report ----
// Hi. I'm Minecraft, and I'm a crashaholic.

Time: 2025-07-29 12:19:11
Description: mouseClicked event handler

java.lang.IllegalArgumentException: Failed to hash minecraft:container=>dgg@8a91bd40: Unsupported operation
	at gub.a(SourceFile:464)
	at com.mojang.serialization.DataResult$Error.getOrThrow(DataResult.java:287)
	at gub.a(SourceFile:464)
	at wl.a(SourceFile:32)
	at java.base/java.lang.Iterable.forEach(Iterable.java:75)
	at wl.a(SourceFile:32)
	at wm.b(SourceFile:69)
	at guk.a(SourceFile:468)
	at gip.a(SourceFile:592)
	at gip.a(SourceFile:388)
	at fvl.a(SourceFile:130)
	at fvl.c(SourceFile:238)
	at bwh.execute(SourceFile:110)
	at fvl.b(SourceFile:238)
	at org.lwjgl.glfw.GLFWMouseButtonCallbackI.callback(GLFWMouseButtonCallbackI.java:43)
	at org.lwjgl.system.JNI.invokeV(Native Method)
	at org.lwjgl.glfw.GLFW.glfwPollEvents(GLFW.java:3438)
	at com.mojang.blaze3d.systems.RenderSystem.pollEvents(SourceFile:148)
	at com.mojang.blaze3d.systems.RenderSystem.flipFrame(SourceFile:159)
	at foo.a(SourceFile:308)
	at fvk.c(SourceFile:1364)
	at fvk.g(SourceFile:940)
	at net.minecraft.client.main.Main.main(SourceFile:259)


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

-- Head --
Thread: Render thread
Stacktrace:
	at gub.a(SourceFile:464)
	at com.mojang.serialization.DataResult$Error.getOrThrow(DataResult.java:287)
	at gub.a(SourceFile:464)
	at wl.a(SourceFile:32)
	at java.base/java.lang.Iterable.forEach(Iterable.java:75)
	at wl.a(SourceFile:32)
	at wm.b(SourceFile:69)
	at guk.a(SourceFile:468)
	at gip.a(SourceFile:592)
	at gip.a(SourceFile:388)
	at fvl.a(SourceFile:130)
	at fvl.c(SourceFile:238)
	at bwh.execute(SourceFile:110)
	at fvl.b(SourceFile:238)
	at org.lwjgl.glfw.GLFWMouseButtonCallbackI.callback(GLFWMouseButtonCallbackI.java:43)
	at org.lwjgl.system.JNI.invokeV(Native Method)
	at org.lwjgl.glfw.GLFW.glfwPollEvents(GLFW.java:3438)
	at com.mojang.blaze3d.systems.RenderSystem.pollEvents(SourceFile:148)
	at com.mojang.blaze3d.systems.RenderSystem.flipFrame(SourceFile:159)

-- Affected screen --
Details:
	Screen name: gjc
Stacktrace:
	at fvl.a(SourceFile:130)
	at fvl.c(SourceFile:238)
	at bwh.execute(SourceFile:110)
	at fvl.b(SourceFile:238)
	at org.lwjgl.glfw.GLFWMouseButtonCallbackI.callback(GLFWMouseButtonCallbackI.java:43)
	at org.lwjgl.system.JNI.invokeV(Native Method)
	at org.lwjgl.glfw.GLFW.glfwPollEvents(GLFW.java:3438)
	at com.mojang.blaze3d.systems.RenderSystem.pollEvents(SourceFile:148)
	at com.mojang.blaze3d.systems.RenderSystem.flipFrame(SourceFile:159)
	at foo.a(SourceFile:308)
	at fvk.c(SourceFile:1364)
	at fvk.g(SourceFile:940)
	at net.minecraft.client.main.Main.main(SourceFile:259)

-- Mouse --
Details:
	Mouse location: Scaled: (254.666667, 157.666667). Absolute: (764.000000, 473.000000)
	Screen size: ~~ERROR~~ IllegalFormatConversionException: f != java.lang.Integer
	Button: 0
Stacktrace:
	at fvl.a(SourceFile:130)
	at fvl.c(SourceFile:238)
	at bwh.execute(SourceFile:110)
	at fvl.b(SourceFile:238)
	at org.lwjgl.glfw.GLFWMouseButtonCallbackI.callback(GLFWMouseButtonCallbackI.java:43)
	at org.lwjgl.system.JNI.invokeV(Native Method)
	at org.lwjgl.glfw.GLFW.glfwPollEvents(GLFW.java:3438)
	at com.mojang.blaze3d.systems.RenderSystem.pollEvents(SourceFile:148)
	at com.mojang.blaze3d.systems.RenderSystem.flipFrame(SourceFile:159)
	at foo.a(SourceFile:308)
	at fvk.c(SourceFile:1364)
	at fvk.g(SourceFile:940)
	at net.minecraft.client.main.Main.main(SourceFile:259)

-- Uptime --
Details:
	JVM uptime: 119.919s
	Wall uptime: 103.230s
	High-res time: 102.042s
	Client ticks: 1598 ticks / 79.900s
Stacktrace:
	at fvk.d(SourceFile:2373)
	at fvk.c(SourceFile:1009)
	at fvk.g(SourceFile:961)
	at net.minecraft.client.main.Main.main(SourceFile:259)

-- Affected level --
Details:
	All players: 1 total; gyy{name=Jamtastic_, id=213, pos=(375.0776512259926, 64.0, -3372.3152113017018), mode=SURVIVAL, permission=0}
	Chunk stats: 529, 329
	Level dimension: minecraft:overworld
	Level spawn location: World: (0,128,0), Section: (at 0,0,0 in 0,8,0; chunk contains blocks 0,-64,0 to 15,319,15), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,-64,0 to 511,319,511)
	Level time: 48281264 game time, 23797495 day time
	Server brand: vanilla
	Server type: Integrated singleplayer server
	Tracked entity count: 278

-- Last reload --
Details:
	Reload number: 1
	Reload reason: initial
	Finished: Yes
	Packs: vanilla, file/Jamie's Custom Pack

-- System Details --
Details:
	Minecraft Version: 25w31a
	Minecraft Version ID: 25w31a
	Operating System: Windows 11 (amd64) version 10.0
	Java Version: 21.0.7, Microsoft
	Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Microsoft
	Memory: 288222008 bytes (274 MiB) / 1006632960 bytes (960 MiB) up to 2147483648 bytes (2048 MiB)
	CPUs: 8
	Processor Vendor: AuthenticAMD
	Processor Name: AMD Ryzen 5 3500U with Radeon Vega Mobile Gfx  
	Identifier: AuthenticAMD Family 23 Model 24 Stepping 1
	Microarchitecture: Zen / Zen+
	Frequency (GHz): 2.10
	Number of physical packages: 1
	Number of physical CPUs: 4
	Number of logical CPUs: 8
	Graphics card #0 name: AMD Radeon(TM) Vega 8 Graphics
	Graphics card #0 vendor: Advanced Micro Devices, Inc.
	Graphics card #0 VRAM (MiB): 2048.00
	Graphics card #0 deviceId: VideoController1
	Graphics card #0 versionInfo: 30.0.13044.0
	Memory slot #0 capacity (MiB): 8192.00
	Memory slot #0 clockSpeed (GHz): 3.20
	Memory slot #0 type: DDR4
	Virtual memory max (MiB): 14252.75
	Virtual memory used (MiB): 10192.48
	Swap memory total (MiB): 8192.00
	Swap memory used (MiB): 641.67
	Space in storage for jna.tmpdir (MiB): available: 138483.13, total: 487443.00
	Space in storage for org.lwjgl.system.SharedLibraryExtractPath (MiB): available: 138483.13, total: 487443.00
	Space in storage for io.netty.native.workdir (MiB): available: 138483.13, total: 487443.00
	Space in storage for java.io.tmpdir (MiB): available: 138483.13, total: 487443.00
	Space in storage for workdir (MiB): available: 138483.13, total: 487443.00
	JVM Flags: 9 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M
	Launched Version: 25w31a
	Launcher name: minecraft-launcher
	Backend library: LWJGL version 3.3.3+5
	Backend API: AMD Radeon(TM) Vega 8 Graphics GL version 3.2.14761 Core Profile Forward-Compatible Context 21.30.44 30.0.13044.0, ATI Technologies Inc.
	Window size: 1920x1080
	GFLW Platform: win32
	Render Extensions: GL_ARB_buffer_storage, GL_KHR_debug, GL_ARB_vertex_attrib_binding, GL_ARB_direct_state_access
	GL debug messages: 
	Is Modded: Probably not. Client jar signature and brand is untouched; Server jar signature and brand is untouched
	Universe: 400921fb54442d18
	Type: Integrated Server (map_client.txt)
	Graphics mode: fast
	Render Distance: 8/8 chunks
	Resource Packs: vanilla, file/Jamie's Custom Pack (incompatible)
	Current Language: en_us
	Locale: en_US
	System encoding: Cp1252
	File encoding: UTF-8
	CPU: 8x AMD Ryzen 5 3500U with Radeon Vega Mobile Gfx 
	Server Running: true
	Player Count: 1 / 8; [aug['Jamtastic_'/213, l='ServerLevel[Modless]', x=375.08, y=64.00, z=-3372.32]]
	Active Data Packs: vanilla
	Available Data Packs: file/BackToBlocks.zip (incompatible), file/BetterStonecutterV112.zip (incompatible), file/DurabilityPing v1.1.6.zip (incompatible), file/ExplosionRebuilderDatapack.v3.1.zip (incompatible), file/HeightenedTrees.zip (incompatible), file/Pacifist Crafting Tweaks.zip (incompatible), file/Silktouchspawners.zip (incompatible), file/Straight to Shapeless.zip (incompatible), file/anti ghast grief v1.1.6 (MC 1.20-1.20.4).zip (incompatible), file/armor statues v2.8.11 (MC 1.20-1.20.4).zip (incompatible), file/cauldron concrete v2.0.9 (MC 1.20-1.20.4).zip (incompatible), file/custom nether portals v2.3.9 (MC 1.20-1.20.4).zip (incompatible), file/cuttable_wood_v3-balanced.zip (incompatible), file/easy-bone-blocks-v1-0-1.zip (incompatible), file/more mob heads v2.12.4 (MC 1.20-1.20.4).zip (incompatible), file/silence mobs v1.2.1 (MC 1.20-1.20.4).zip (incompatible), file/terracotta rotation wrench v1.1.7 (MC 1.20-1.20.4).zip (incompatible), file/unpackable-minecarts-v1.3.zip (incompatible), file/update_1_21_no_trial_chambers_1.20.4.zip (incompatible), file/wandering trades hermit edition v1.9.0 (MC 1.20-1.20.4).zip (incompatible), minecart_improvements, redstone_experiments, trade_rebalance, vanilla
	Enabled Feature Flags: minecraft:vanilla
	World Generation: Stable
	World Seed: 617194183
	Suppressed Exceptions: ~~NONE~~

Linked issues

Comments 4

Update: The crash seems to trigger on clicking an item, not just shift-clicking it. Attempting to move a shulker to my inventory crashed the game. I had just disabled all datapacks except [minecart-improvements] as well, so disregard those in the crash report.

Does this issue also occur when the game is launched with the official Minecraft launcher? If so, please attach the crash report created in that case too. If not, this issue should be reported to MultiMC instead.

This issue is being temporarily resolved as Awaiting Response. Once the requested information has been delivered, the report will be reopened automatically.

Quick Links:
πŸ““ Bug Tracker Guidelines – πŸ’¬ Community Support – πŸ“§ Mojang Support (Technical Issues) – πŸ“§ Microsoft Support (Account Issues)
πŸ““ Project Summary – ✍️ Feedback and Suggestions – πŸ“– Game Wiki

Added report using official launcher.

Thank you for your report!
We're resolving and linking this ticket forward as a duplicate of MC-300187, as that ticket contains more detailed information and/or has already been triaged by Mojang.

If you would like to add a vote and any extra information to the main ticket it would be appreciated.

Quick Links:
πŸ““ Bug Tracker Guidelines – πŸ’¬ Community Support – πŸ“§ Mojang Support (Technical Issues) – πŸ“§ Microsoft Support (Account Issues)
πŸ““ Project Summary – ✍️ Feedback and Suggestions – πŸ“– Game Wiki

Jamie

(Unassigned)

Plausible

Crash

25w31a

Retrieved