The following document contains the results of FindBugs Report
FindBugs Version is 1.0.0
Threshold is Low
Effort is Default
| Bug | Category | Details | Line | 
|---|---|---|---|
| Method org.apache.shale.examples.sqlbrowser.Listener.populate(javax.sql.DataSource) passes a nonconstant String to an execute method on an SQL statement | CORRECTNESS | SQL_NONCONSTANT_STRING_PASSED_TO_EXECUTE | 196 | 
| Possible null pointer dereference in org.apache.shale.examples.sqlbrowser.Listener.contextInitialized(javax.servlet.ServletContextEvent) | CORRECTNESS | NP_NULL_ON_SOME_PATH | 119 | 
| Bug | Category | Details | Line | 
|---|---|---|---|
| org.apache.shale.examples.sqlbrowser.InternalDataSource is Serializable; consider declaring a serialVersionUID | CORRECTNESS | SE_NO_SERIALVERSIONID | Not available | 
| Bug | Category | Details | Line | 
|---|---|---|---|
| A prepared statement is generated from a nonconstant String at org.apache.shale.examples.sqlbrowser.Query.prerender() | CORRECTNESS | SQL_PREPARED_STATEMENT_GENERATED_FROM_NONCONSTANT_STRING | 181 | 
| Method org.apache.shale.examples.sqlbrowser.Query.prerender() catches Exception, but Exception is not thrown in the try block and RuntimeException is not explicitly caught | STYLE | REC_CATCH_EXCEPTION | 227 | 
| Bug | Category | Details | Line | 
|---|---|---|---|
| org.apache.shale.examples.sqlbrowser.Application.getDataSources() may expose internal representation by returning org.apache.shale.examples.sqlbrowser.Application.dataSources | MALICIOUS_CODE | EI_EXPOSE_REP | 88 | 
| Dead store to context in method org.apache.shale.examples.sqlbrowser.Application.internal(java.util.List) | STYLE | DLS_DEAD_LOCAL_STORE | 138 |