Mojira Archive
MC-118158

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

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.

Awaiting Response

Marcono1234

2017-06-01, 09:47 PM

2024-05-06, 03:00 AM

2024-05-06, 03:00 AM

3

3

Confirmed

(Unassigned)

error-message, logging, stacktrace

Minecraft 1.11.2 - 20w07aMinecraft 1.11.2, Minecraft 1.12 Pre-Release 6, Minecraft 1.12 Pre-Release 7, Minecraft 1.12.1, 20w07a

-