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

Crash report "Connection:" field contains unuseful value (Object.toString())

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 1.16 Pre-release 4
    • 20w14a
    • None
    • Confirmed
    • Debug
    • Normal

      The bug

      The following uses 20w13b Mojang class names

      Crash reports which contain the "Ticking connection" section have an unuseful value for the "Connection:" field because the class net.minecraft.network.Connection does not override the method toString() and therefore the crash report shows something like:

      - Ticking connection -
       Details:
       Connection: ly@63011c0a
      

      This can currently be seen with the crash reports generated due to MC-177085.

      Note: It is probably not a good idea to include the remote address as "Connection:" value since this can be sensitive information and crash reports are often shared publicly.

            boq [Mojang] Bartosz Bok
            marcono1234 Marcono1234
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: