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

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: Minecraft 1.11.2, Minecraft 1.12 Pre-Release 6, Minecraft 1.12 Pre-Release 7, Minecraft 1.12.1
    • Fix Version/s: None
    • Confirmation Status:
      Confirmed
    • Category:
      (Unassigned)

      Description

      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(); one is also in a realms class.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                CHK: