Apache logging services logo Apache log4j logo

FindBugs Bug Detector Report

The following document contains the results of FindBugs

FindBugs Version is 2.0.3

Threshold is

Effort is min

Summary

ClassesBugsErrorsMissing Classes
81800

org.apache.logging.log4j.simple.SimpleLogger

BugCategoryDetailsLinePriority
Found reliance on default encoding in org.apache.logging.log4j.simple.SimpleLogger.logMessage(String, Level, Marker, Message, Throwable): java.io.ByteArrayOutputStream.toString()I18NDM_DEFAULT_ENCODING166High
Found reliance on default encoding in org.apache.logging.log4j.simple.SimpleLogger.logMessage(String, Level, Marker, Message, Throwable): new java.io.PrintStream(OutputStream)I18NDM_DEFAULT_ENCODING165High

org.apache.logging.log4j.simple.SimpleLoggerContext

BugCategoryDetailsLinePriority
Found reliance on default encoding in new org.apache.logging.log4j.simple.SimpleLoggerContext(): new java.io.PrintStream(OutputStream)I18NDM_DEFAULT_ENCODING87High

org.apache.logging.log4j.spi.DefaultThreadContextStack

BugCategoryDetailsLinePriority
org.apache.logging.log4j.spi.DefaultThreadContextStack.equals(Object) checks for operand being a MutableThreadContextStack BAD_PRACTICEEQ_CHECK_FOR_OPERAND_NOT_COMPATIBLE_WITH_THIS134High

org.apache.logging.log4j.status.StatusData

BugCategoryDetailsLinePriority
Found reliance on default encoding in org.apache.logging.log4j.status.StatusData.getFormattedStatus(): java.io.ByteArrayOutputStream.toString()I18NDM_DEFAULT_ENCODING118High
Found reliance on default encoding in org.apache.logging.log4j.status.StatusData.getFormattedStatus(): new java.io.PrintStream(OutputStream)I18NDM_DEFAULT_ENCODING117High

org.apache.logging.log4j.util.LoaderUtil$UrlResource

BugCategoryDetailsLinePriority
Invocation of java.net.URL.equals(Object), which blocks to do domain name resolution, in org.apache.logging.log4j.util.LoaderUtil$UrlResource.equals(Object)PERFORMANCEDMI_BLOCKING_METHODS_ON_URL247High
Invocation of java.net.URL.hashCode(), which blocks to do domain name resolution, in org.apache.logging.log4j.util.LoaderUtil$UrlResource.hashCode()PERFORMANCEDMI_BLOCKING_METHODS_ON_URL257High