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

/setblock with signs missing Text tags kicks all players loading the sign

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Minecraft 15w35d, Minecraft 15w35e, Minecraft 15w45a, Minecraft 15w51b, Minecraft 16w03a, Minecraft 16w04a, Minecraft 1.9, Minecraft 1.9.1, Minecraft 1.9.2, Minecraft 1.9.3 Pre-Release 1, Minecraft 1.9.3 Pre-Release 2, Minecraft 1.9.3 Pre-Release 3
    • None
    • Confirmed

      Warning: this bug is server-only.
      Place a command block (Impulse, Unconditionnal, Needs Redstone).
      Enter this command :

      setblock ~ ~1 ~ standing_sign 0 replace {Text1:"[{\"text\":\"Hey\"}]"}
      

      Place a redstone block next to this command block. Now everyone near this command_block is getting kicked from the server, with this error :

      Internal Exeption: io.netty.handler.codec.DecoderExeption:
      com.google.gson.JsonSyntaxExeption:
      com.google.gson.stream.MalformedJsonExeption: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 1
      

      Here is the consol log :

      TheMrZZ lost connection: TextComponent{text='Disconnected', siblings=[], style=Style{hasParent=false, color=null, bold=null, italic=null, underlined=null, obfuscated=null, clickEvent=null, hoverEvent=null, insertion=null}}
      

      Happens when alimented with a lever, a button (stone & wood), a repeater, a comparator, a redstone wire (any kind of alimentation works).

      BIGGEST PROBLEM : If you do this in a spawn chunk, you can't come back because it seems to instant-kick every player near the CM, except if someone put a command like /tp PLAYER @p in a repeating command block.

      See Marcono1234's comment for a description of why this happens

            grum [Mojang] Grum (Erik Broes)
            TheMrZZ TheMrZZ
            Votes:
            11 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: