Apache Commons logo Commons DbUtils

FindBugs Bug Detector Report

The following document contains the results of FindBugs Report

FindBugs Version is 2.0.0

Threshold is

Effort is min

Summary

Classes Bugs Errors Missing Classes
52 7 0 0

org.apache.commons.dbutils.DbUtils

Bug Category Details Line Priority
Found reliance on default encoding in org.apache.commons.dbutils.DbUtils.printStackTrace(SQLException): new java.io.PrintWriter(OutputStream) I18N DM_DEFAULT_ENCODING 242 High
Found reliance on default encoding in org.apache.commons.dbutils.DbUtils.printWarnings(Connection): new java.io.PrintWriter(OutputStream) I18N DM_DEFAULT_ENCODING 270 High
Exception is caught when Exception is not thrown in org.apache.commons.dbutils.DbUtils.loadDriver(ClassLoader, String) STYLE REC_CATCH_EXCEPTION 230 Medium

org.apache.commons.dbutils.wrappers.SqlNullCheckedResultSet

Bug Category Details Line Priority
org.apache.commons.dbutils.wrappers.SqlNullCheckedResultSet.getNullDate() may expose internal representation by returning SqlNullCheckedResultSet.nullDate MALICIOUS_CODE EI_EXPOSE_REP 256 Medium
org.apache.commons.dbutils.wrappers.SqlNullCheckedResultSet.getNullTimestamp() may expose internal representation by returning SqlNullCheckedResultSet.nullTimestamp MALICIOUS_CODE EI_EXPOSE_REP 356 Medium
org.apache.commons.dbutils.wrappers.SqlNullCheckedResultSet.setNullDate(Date) may expose internal representation by storing an externally mutable object into SqlNullCheckedResultSet.nullDate MALICIOUS_CODE EI_EXPOSE_REP2 495 Medium
org.apache.commons.dbutils.wrappers.SqlNullCheckedResultSet.setNullTimestamp(Timestamp) may expose internal representation by storing an externally mutable object into SqlNullCheckedResultSet.nullTimestamp MALICIOUS_CODE EI_EXPOSE_REP2 595 Medium