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

Multiple methods call Throwable.printStackTrace() instead of properly logging an error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • Minecraft 1.11.2, Minecraft 1.12 Pre-Release 6, Minecraft 1.12 Pre-Release 7, Minecraft 1.12.1, 20w07a
    • Confirmed
    • (Unassigned)

      The bug

      Multiple methods call java.lang.Throwable.printStackTrace() instead of properly logging an error with the exception as parameter. This causes the error to be logged as "INFO" and to have [STDERR]: as prefix.

      How to reproduce

      Try to reproduce one of the following bugs

      Important: These are not the only occurrences of this bug, they are just examples. Who ever fixes this should search for all occurrences of java.lang.Throwable.printStackTrace(); there are also multiple in the realms classes.

            Unassigned Unassigned
            marcono1234 [Mod] Marcono1234
            Votes:
            3 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              CHK: