Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-157850

Using /data get entity in a command block can cause players looking into the command block's GUI to be kicked from the server

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Awaiting Response
    • None
    • 1.14.4
    • Unconfirmed
    • Commands

      So I have a private server I play with my friends on and I was setting up some command blocks to detect when a player drinks a specific custom potion(made with commands), so it could be automatically refilled. When I logged on today to continue working on them, the chunk with the command blocks that checked if they had inventory space were gone, along with the command blocks and Redstone around it, AND what we had built in the main nether in that same chunk. So I tried the command for the inventory space check, the first one in the sequence, executed the command, and checked to see the output. Then I was disconnected. So I tried just /data get entity <username>, but still got disconnected after triggering and checking the command block, so I did it again, but I recorded it this time.

      Kick message:

      Internal Exception: io.netty.handler.codec.EncoderException: java.io.UTFDataFormatException: encoded string too long: 398367 bytes
      

      Additionally, I checked and found this in the server log:

      [10:49:38 ERROR]: Couldn't load chunk [-9, -3][10:49:38 ERROR]: Couldn't load chunk [-9, -3]
      java.io.EOFException: null
      	at java.io.DataInputStream.readUnsignedShort(DataInputStream.java:340) ~[?:1.8.0_211]
      	at java.io.DataInputStream.readUTF(DataInputStream.java:589) ~[?:1.8.0_211]
      	at java.io.DataInputStream.readUTF(DataInputStream.java:564) ~[?:1.8.0_211]
      	at it.a(SourceFile:41) ~[server-7.jar:?]
      	at id.a(SourceFile:438) ~[server-7.jar:?]
      	at id.a(SourceFile:81) ~[server-7.jar:?]
      	at ik.a(SourceFile:65) ~[server-7.jar:?]
      	at id.a(SourceFile:438) ~[server-7.jar:?]
      	at id.a(SourceFile:81) ~[server-7.jar:?]
      	at id.a(SourceFile:438) ~[server-7.jar:?]
      	at id.a(SourceFile:81) ~[server-7.jar:?]
      	at io.a(SourceFile:113) ~[server-7.jar:?]
      	at io.a(SourceFile:78) ~[server-7.jar:?]
      	at io.a(SourceFile:74) ~[server-7.jar:?]
      	at byj.e(SourceFile:53) ~[server-7.jar:?]
      	at uw.g(SourceFile:816) ~[server-7.jar:?]
      	at uw.j(SourceFile:506) ~[server-7.jar:?]
      	at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1590) [?:1.8.0_211]
      	at agq.h(SourceFile:144) [server-7.jar:?]
      	at agq.q(SourceFile:118) [server-7.jar:?]
      	at vi$a.q(SourceFile:550) [server-7.jar:?]
      	at agq.c(SourceFile:127) [server-7.jar:?]
      	at vi.a(SourceFile:135) [server-7.jar:?]
      	at bhr.a(SourceFile:194) [server-7.jar:?]
      	at vk.f(SourceFile:869) [server-7.jar:?]
      	at vk.c(SourceFile:852) [server-7.jar:?]
      	at xv.a(SourceFile:183) [server-7.jar:?]
      	at we.c(SourceFile:111) [server-7.jar:?]
      	at we.b(SourceFile:63) [server-7.jar:?]
      	at jc.a(SourceFile:230) [server-7.jar:?]
      	at wb.c(SourceFile:171) [server-7.jar:?]
      	at net.minecraft.server.MinecraftServer.b(SourceFile:847) [server-7.jar:?]
      	at uk.b(SourceFile:343) [server-7.jar:?]
      	at net.minecraft.server.MinecraftServer.a(SourceFile:774) [server-7.jar:?]
      	at net.minecraft.server.MinecraftServer.run(SourceFile:642) [server-7.jar:?]
      

      Maybe because the command output is too long??

      My Recording Of It

      I blurred my server list and the blur was active a little longer than expected, but nothing important should be missing

            Unassigned Unassigned
            A Command Blockling DudeBoard250
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: