Uploaded image for project: 'Spigot'
  1. Spigot
  2. SPIGOT-6056

Bungee Hover Events leads to malformed JSON components some of the time in 1.16

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • None
    • It is unknown what environments this issue appears under

    • You are running the latest version
    • mcMMO and other plugins that use hover in TextComponents
    • Yes

      The following issue is a bit unusual, I cannot reproduce it, yet I am fairly certain it exists. Talking to other developers it seems no one has gotten to the bottom of this yet.

      This issue so far has only been seen with bungee hover components.

      The code in mcMMO involving JSON (and has used hover components since) has not changed from version 1.13.2 to now, and as of 1.16 certain users minecraft clients are receiving malformed JSON components causing them to disconnect from the server. Some users report that the issue happens randomly, some users say that they can reproduce it reliably. I do not know how to reproduce it currently.

      The client side error typically reads like this

      io.netty.handler.codec.DecoderException: com.google.gson.JsonParseException: Don't know how to turn {...} into component

       

      Has anything significant changed relating to bungee hover implementation in 1.16? Some other plugin authors are getting this issue reported to them as well. I'm getting daily reports about it on my discord. It appears to be a known issue but without a known cause.

        1. json1.png
          44 kB
          crash demons
        2. Screenshot 2020-08-16 at 17.06.01.png
          354 kB
          Floris Fiedeldij Dop
        3. Screenshot from 2020-08-10 15-31-52.png
          58 kB
          Robert Alan Chapton
        4. Shared-Image-2020-08-12-17-04-25.png
          27 kB
          Intelli

            Unassigned Unassigned
            nossr50@gmail.com Robert Alan Chapton
            Votes:
            12 Vote for this issue
            Watchers:
            19 Start watching this issue

              Created:
              Updated: