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
1757115

Files

ClassBugs
org.apache.commons.jci.examples.configuration.ConfigurationReloading$13
org.apache.commons.jci.examples.serverpages.JspGenerator1
org.apache.commons.jci.examples.serverpages.ServerPageServlet1
org.apache.commons.jci.examples.serverpages.ServerPageServlet$12

org.apache.commons.jci.examples.configuration.ConfigurationReloading$1

BugCategoryDetailsLine
Possible null pointer dereference of is in org.apache.commons.jci.examples.configuration.ConfigurationReloading$1.onStop(org.apache.commons.jci.monitor.FilesystemAlterationObserver) on exception pathCORRECTNESSNP_NULL_ON_SOME_PATH_EXCEPTION74
Method org.apache.commons.jci.examples.configuration.ConfigurationReloading$1.onStop(org.apache.commons.jci.monitor.FilesystemAlterationObserver) catches Exception, but Exception is not thrown in the try block and RuntimeException is not explicitly caughtSTYLEREC_CATCH_EXCEPTION70
The class org.apache.commons.jci.examples.configuration.ConfigurationReloading$1 could be refactored into a named _static_ inner classPERFORMANCESIC_INNER_SHOULD_BE_STATIC_ANONNot available

org.apache.commons.jci.examples.serverpages.JspGenerator

BugCategoryDetailsLine
org.apache.commons.jci.examples.serverpages.JspGenerator.generateJavaSource(String,java.io.File) may fail to close streamBAD_PRACTICEOS_OPEN_STREAM75

org.apache.commons.jci.examples.serverpages.ServerPageServlet

BugCategoryDetailsLine
org.apache.commons.jci.examples.serverpages.ServerPageServlet.ServerPageServlet() creates a org.apache.commons.jci.ReloadingClassLoader classloader, which should be performed within a doPrivileged blockBAD_PRACTICEDP_CREATE_CLASSLOADER_INSIDE_DO_PRIVILEGED58

org.apache.commons.jci.examples.serverpages.ServerPageServlet$1

BugCategoryDetailsLine
Field not initialized in constructor: org.apache.commons.jci.examples.serverpages.ServerPageServlet$1.newClassesSTYLEUWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTORNot available
Field not initialized in constructor: org.apache.commons.jci.examples.serverpages.ServerPageServlet$1.newServletsByClassnameSTYLEUWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTORNot available