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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: 20w14a
    • Fix Version/s: 1.16 Pre-release 4
    • Labels:
      None
    • Confirmation Status:
      Confirmed
    • Category:
      Debug
    • Mojang Priority:
      Normal

      Description

      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.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:
              CHK: