FindBugs Bug Detector Report

The following document contains the results of FindBugs

FindBugs Version is 3.0.1

Threshold is

Effort is min

Summary

Classes Bugs Errors Missing Classes
119 7 0 0

Files

Class Bugs
org.apache.log4j.WriterAppender 2
org.apache.log4j.bridge.LayoutAdapter 3
org.apache.log4j.config.PropertiesConfiguration 1
org.apache.log4j.spi.ThrowableInformation 1

org.apache.log4j.WriterAppender

Bug Category Details Line Priority
Found reliance on default encoding in new org.apache.log4j.WriterAppender(Layout, OutputStream): new java.io.OutputStreamWriter(OutputStream) I18N DM_DEFAULT_ENCODING 81 High
Found reliance on default encoding in org.apache.log4j.WriterAppender.createWriter(OutputStream): new java.io.OutputStreamWriter(OutputStream) I18N DM_DEFAULT_ENCODING 248 High

org.apache.log4j.bridge.LayoutAdapter

Bug Category Details Line Priority
Found reliance on default encoding in org.apache.log4j.bridge.LayoutAdapter.getFooter(): String.getBytes() I18N DM_DEFAULT_ENCODING 39 High
Found reliance on default encoding in org.apache.log4j.bridge.LayoutAdapter.getHeader(): String.getBytes() I18N DM_DEFAULT_ENCODING 44 High
Found reliance on default encoding in org.apache.log4j.bridge.LayoutAdapter.toByteArray(LogEvent): String.getBytes() I18N DM_DEFAULT_ENCODING 50 High

org.apache.log4j.config.PropertiesConfiguration

Bug Category Details Line Priority
Null pointer dereference of next in org.apache.log4j.config.PropertiesConfiguration.parseAppenderFilters(Properties, String, String) CORRECTNESS NP_ALWAYS_NULL 546 High

org.apache.log4j.spi.ThrowableInformation

Bug Category Details Line Priority
Class org.apache.log4j.spi.ThrowableInformation defines non-transient non-serializable instance field toStringList BAD_PRACTICE SE_BAD_FIELD Not available High