Mojira Archive
MC-273163

After using /data with command blocks on a large number of component items viewing the command block UI will cause the player to be kicked out of the Singleplayer world

After using /data with command blocks on a large number of component items viewing the command block UI will cause the player to be kicked out of the Singleplayer world.

Game output
14:47:56.408
ad
IO-Worker-7
Failed to write NBT String
java.io.UTFDataFormatException: encoded string ({"text":...}"]}]}]}) too long: 8523711 bytes
	at java.base/java.io.DataOutputStream.writeUTF(DataOutputStream.java:366)
	at java.base/java.io.DataOutputStream.writeUTF(DataOutputStream.java:330)
	at axr.writeUTF(SourceFile:80)
	at uo$a.writeUTF(SourceFile:208)
	at uw.a(SourceFile:83)
	at ub.a(SourceFile:519)
	at ub.a(SourceFile:193)
	at uh.a(SourceFile:150)
	at ub.a(SourceFile:519)
	at ub.a(SourceFile:193)
	at uo.b(SourceFile:170)
	at uo.c(SourceFile:174)
	at uo.a(SourceFile:119)
	at dwq.a(SourceFile:82)
	at dwl.a(SourceFile:266)
	at dwl.b(SourceFile:256)
	at bpm$b.run(SourceFile:60)
	at bpk.h(SourceFile:91)
	at bpk.a(SourceFile:146)
	at bpk.run(SourceFile:102)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
	at java.base/java.lang.Thread.run(Thread.java:1570)
14:48:14.654
fzc
Render thread
Client disconnected with reason: Internal Exception: io.netty.handler.codec.EncoderException: Failed to encode packet 'clientbound/minecraft:block_entity_data'

For the convenience of testing, the world file has been attached.

Steps to reproduce

  1. Drop the chest you're holding.
  2. Activate nearby command blocks.
  3. View the command block UI.

Duplicate

[Mod] Les3awe

2024-06-09, 06:26 AM

2024-06-11, 07:12 AM

2024-06-11, 07:12 AM

1

1

Community Consensus

Commands, Networking, Save Data

1.21 Pre-Release 4, 1.21 Release Candidate 1

-