Mojira Archive
MC-227600

Selector Signs create errors when many entities exist

A sign with the selector @e can kick players upon placing when many entities are in the world (use a repeating command block to constantly spawn many)

/give @p minecraft:oak_sign{BlockEntityTag:{front_text:{messages:['{"selector":"@e"}','""','""','""']}}}

The following error is output to the log:

Failed to write NBT String
java.io.UTFDataFormatException: encoded string ({"extra"...ext":""}) too long: 1109900 bytes
	at java.base/java.io.DataOutputStream.writeUTF(DataOutputStream.java:369)
	at java.base/java.io.DataOutputStream.writeUTF(DataOutputStream.java:333)
	at su.a(SourceFile:87)
	at sf.a(SourceFile:150)
	at rz.a(SourceFile:514)
	at rz.a(SourceFile:192)
	at rz.a(SourceFile:514)
	at rz.a(SourceFile:192)
	at sf.a(SourceFile:150)
	at rz.a(SourceFile:514)
	at rz.a(SourceFile:192)
	at sm.b(SourceFile:166)
	at sm.a(SourceFile:115)
	at djz.a(SourceFile:80)
	at djw.a(SourceFile:260)
	at djw.a(SourceFile:250)
	at bhl$b.run(SourceFile:60)
	at bhj.h(SourceFile:91)
	at bhj.a(SourceFile:146)
	at bhj.run(SourceFile:102)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
	at java.base/java.lang.Thread.run(Thread.java:833)

Awaiting Response

ServerFilter

2021-06-06, 03:19 PM

2024-11-14, 03:25 PM

2024-11-14, 03:25 PM

2

3

Confirmed

Important

Platform

Networking

1.16.5 - 23w42a1.16.5, 1.17 Release Candidate 1, 1.17 Release Candidate 2, 1.17, 1.17.1 Pre-release 1, 1.20.2, 23w42a

-