2009/05/20 - Apache Shale has been retired.

For more information, please explore the Attic.

FindBugs Bug Detector Report

The following document contains the results of FindBugs Report

FindBugs Version is 1.1.1

Threshold is Low

Effort is Default

Summary

ClassesBugsErrorsMissing Classes
1317011

Files

ClassBugs
org.apache.shale.examples.sqlbrowser.Application2
org.apache.shale.examples.sqlbrowser.Listener3
org.apache.shale.examples.sqlbrowser.Query2

org.apache.shale.examples.sqlbrowser.Application

BugCategoryDetailsLine
Dead store to context in method org.apache.shale.examples.sqlbrowser.Application.internal(java.util.List)STYLEDLS_DEAD_LOCAL_STORE138
org.apache.shale.examples.sqlbrowser.Application.getDataSources() may expose internal representation by returning org.apache.shale.examples.sqlbrowser.Application.dataSourcesMALICIOUS_CODEEI_EXPOSE_REP88

org.apache.shale.examples.sqlbrowser.Listener

BugCategoryDetailsLine
Possible null pointer dereference of e in org.apache.shale.examples.sqlbrowser.Listener.contextInitialized(javax.servlet.ServletContextEvent)CORRECTNESSNP_NULL_ON_SOME_PATH119
org.apache.shale.examples.sqlbrowser.Listener.logger is transient but org.apache.shale.examples.sqlbrowser.Listener isn't SerializableSTYLESE_TRANSIENT_FIELD_OF_NONSERIALIZABLE_CLASSNot available
Method org.apache.shale.examples.sqlbrowser.Listener.populate(javax.sql.DataSource) passes a nonconstant String to an execute method on an SQL statementBAD_PRACTICESQL_NONCONSTANT_STRING_PASSED_TO_EXECUTE196

org.apache.shale.examples.sqlbrowser.Query

BugCategoryDetailsLine
Method org.apache.shale.examples.sqlbrowser.Query.prerender() catches Exception, but Exception is not thrown in the try block and RuntimeException is not explicitly caughtSTYLEREC_CATCH_EXCEPTION227
A prepared statement is generated from a nonconstant String at org.apache.shale.examples.sqlbrowser.Query.prerender() BAD_PRACTICESQL_PREPARED_STATEMENT_GENERATED_FROM_NONCONSTANT_STRING181