Bug Report Summary (Java 1.21.9 Snapshot 25w31a):
Title:"Game crash when clicking NBT-copied blocks (e.g. lectern with book) in GUI interfaces"
Steps to Reproduce:
Launch game (Version: 25w31a).
Place a lectern and insert any book (text optional).
Ctrl + Middle-click
to copy the lectern (now with NBT data).Open any GUI (e.g. chest).
Click the NBT-copied lectern in the GUI.
Result: 1-3秒 freeze → Crash to desktop.
Affected Blocks:
Lecterns (with books)
Chiseled bookshelves
Signs
Item frames
All NBT-copied blocks when interacted via GUI.
Technical Note:
Likely caused by improper NBT data handling during GUI item slot interactions.
Translation:Beehive and Bee Nest
---- Minecraft Crash Report ----
// You're mean.
Time: 2025-07-31 17:51:36
Description: mouseReleased event handler
java.lang.IllegalArgumentException: Failed to hash minecraft:block_entity_data=>ecd@29727534 dgu@ece9a1f: 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:549)
at fvl.a(SourceFile:145)
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)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at oolloo.jlw.Wrapper.invokeMain(Wrapper.java:112)
at oolloo.jlw.Wrapper.main(Wrapper.java:105)
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:549)
at fvl.a(SourceFile:145)
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: gjv
Stacktrace:
at fvl.a(SourceFile:145)
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)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at oolloo.jlw.Wrapper.invokeMain(Wrapper.java:112)
at oolloo.jlw.Wrapper.main(Wrapper.java:105)
-- Mouse --
Details:
Mouse location: Scaled: (312.500000, 188.262937). Absolute: (625.000000, 376.000000)
Screen size: ERROR IllegalFormatConversionException: f != java.lang.Integer
Button: 0
Stacktrace:
at fvl.a(SourceFile:145)
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)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at oolloo.jlw.Wrapper.invokeMain(Wrapper.java:112)
at oolloo.jlw.Wrapper.main(Wrapper.java:105)
-- Uptime --
Details:
JVM uptime: 119.600s
Wall uptime: 85.625s
High-res time: 84.005s
Client ticks: 1401 ticks / 70.050s
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)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at oolloo.jlw.Wrapper.invokeMain(Wrapper.java:112)
at oolloo.jlw.Wrapper.main(Wrapper.java:105)
-- Affected level --
Details:
All players: 1 total; gyy{name=MireDrizzle, id=3, pos=(148.00308975491467, -60.0, 120.36452259181256), mode=CREATIVE, permission=4}
Chunk stats: 961, 637
Level dimension: minecraft:overworld
Level spawn location: World: (0,-60,0), Section: (at 0,4,0 in 0,-4,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: 1017765 game time, 0 day time
Server brand: vanilla
Server type: Integrated singleplayer server
Tracked entity count: 3
-- Last reload --
Details:
Reload number: 1
Reload reason: initial
Finished: Yes
Packs: vanilla
-- System Details --
Details:
Minecraft Version: 25w31a
Minecraft Version ID: 25w31a
Operating System: Windows 10 (amd64) version 10.0
Java Version: 21.0.6, Microsoft
Java VM Version: OpenJDK 64-Bit Server VM (mixed mode, sharing), Microsoft
Memory: 322494400 bytes (307 MiB) / 654311424 bytes (624 MiB) up to 3221225472 bytes (3072 MiB)
CPUs: 4
Processor Vendor: GenuineIntel
Processor Name: Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz
Identifier: Intel64 Family 6 Model 142 Stepping 9
Microarchitecture: Amber Lake
Frequency (GHz): 2.71
Number of physical packages: 1
Number of physical CPUs: 2
Number of logical CPUs: 4
Graphics card #0 name: Intel(R) HD Graphics 620
Graphics card #0 vendor: Intel Corporation
Graphics card #0 VRAM (MiB): 1024.00
Graphics card #0 deviceId: VideoController1
Graphics card #0 versionInfo: 21.20.16.4727
Graphics card #1 name: NVIDIA GeForce 920MX
Graphics card #1 vendor: NVIDIA
Graphics card #1 VRAM (MiB): 2048.00
Graphics card #1 deviceId: VideoController2
Graphics card #1 versionInfo: 31.0.15.1654
Memory slot #0 capacity (MiB): 4096.00
Memory slot #0 clockSpeed (GHz): 2.13
Memory slot #0 type: DDR4
Memory slot #1 capacity (MiB): 4096.00
Memory slot #1 clockSpeed (GHz): 2.13
Memory slot #1 type: DDR4
Virtual memory max (MiB): 13470.99
Virtual memory used (MiB): 6916.73
Swap memory total (MiB): 5376.00
Swap memory used (MiB): 549.19
Space in storage for jna.tmpdir (MiB): available: 10357.37, total: 83969.00
Space in storage for org.lwjgl.system.SharedLibraryExtractPath (MiB): available: 10357.37, total: 83969.00
Space in storage for io.netty.native.workdir (MiB): available: 10357.37, total: 83969.00
Space in storage for java.io.tmpdir (MiB): available: 14583.36, total: 59930.93
Space in storage for workdir (MiB): available: 10357.37, total: 83969.00
JVM Flags: 6 total; -XX:+UseG1GC -XX:-UseAdaptiveSizePolicy -XX:-OmitStackTraceInFastThrow -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmn460m -Xmx3072m
Launched Version: 25w31a
Launcher name: PCL
Backend library: LWJGL version 3.3.3+5
Backend API: NVIDIA GeForce 920MX/PCIe/SSE2 GL version 3.2.0 NVIDIA 516.54, NVIDIA Corporation
Window size: 1366x715
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: fancy
Render Distance: 12/12 chunks
Resource Packs: vanilla
Current Language: zh_cn
Locale: zh_CN
System encoding: GBK
File encoding: COMPAT
CPU: 4x Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz
Server Running: true
Player Count: 1 / 8; [aug['MireDrizzle'/3, l='ServerLevel[新的世界]', x=148.00, y=-60.00, z=120.36]]
Active Data Packs: vanilla
Available Data Packs: minecart_improvements, redstone_experiments, trade_rebalance, vanilla
Enabled Feature Flags: minecraft:vanilla
World Generation: Stable
World Seed: 0
Suppressed Exceptions: NONE
Environment
Bug Report (Minecraft Java 1.21.9 Snapshot 25w31a)
Title:
"Critical: Game crashes when interacting with NBT-copied blocks in any GUI interface"
Affected Blocks (NBT-copied):
Lectern
Chiseled Bookshelf
Sign
Item Frame
Command Block
Composter
Spawner
Crash-triggering GUIs:
Furnace/Smoker/Blast Furnace
Chest/Barrel/Trapped Chest
Shulker Box/Ender Chest
Cartography Table
Hopper/Dispenser/Dropper
Smithing Table/Brewing Stand/Enchanting Table
Crafter/Crafting Table
Reproduction Steps:
Ctrl+Middle-click copy any NBT-containing block
Place the copied block in any inventory/GUI
Open any GUI interface (listed above)
Click on the NBT-copied block
Game freezes for 1-3 seconds → Crash to desktop
Discovery Context:
Attempted to save command block NBT data via copy-paste
First crash assumed to be hardware/network issue
Second crash confirmed reproducible pattern
Verified affects ALL NBT-copied blocks in ALL GUIs
Technical Analysis:
Crash occurs during GUI item rendering
Affects both simple and complex NBT data
100% reproducible with any NBT-copied block
Suggests core NBT serialization/deserialization issue
Severity:
Critical - Breaks fundamental inventory/NBT interaction
Suggested Fix Priority:
Highest - Affects basic gameplay functionality across multiple systems
Translation:
Beehive and Bee Nest
Thank you for your report!
We are tracking this issue in MC-300187, so this ticket is being resolved and linked as a duplicate.
That ticket has already been resolved as Fixed. Please check the Fix Version/s field of that ticket to see in which version this behavior was or will be fixed.
If you haven’t already, please make use of the search feature to see whether an issue has already been reported.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki