The following document contains the results of FindBugs Report
FindBugs Version is 1.1.1
Threshold is Low
Effort is Default
Classes | Bugs | Errors | Missing Classes |
---|---|---|---|
223 | 24 | 19 | 18 |
Bug | Category | Details | Line |
---|---|---|---|
Method org.apache.shale.remoting.faces.MappingsHelper.patterns(javax.faces.context.FacesContext) catches Exception, but Exception is not thrown in the try block and RuntimeException is not explicitly caught | STYLE | REC_CATCH_EXCEPTION | 374 |
org.apache.shale.remoting.faces.MappingsHelper.log is transient but org.apache.shale.remoting.faces.MappingsHelper isn't Serializable | STYLE | SE_TRANSIENT_FIELD_OF_NONSERIALIZABLE_CLASS | Not available |
Bug | Category | Details | Line |
---|---|---|---|
org.apache.shale.remoting.faces.RemotingPhaseListener.log is transient but org.apache.shale.remoting.faces.RemotingPhaseListener isn't Serializable | STYLE | SE_TRANSIENT_FIELD_OF_NONSERIALIZABLE_CLASS | Not available |
Unread field: org.apache.shale.remoting.faces.RemotingPhaseListener.bundle | PERFORMANCE | URF_UNREAD_FIELD | Not available |
Bug | Category | Details | Line |
---|---|---|---|
org.apache.shale.remoting.impl.AbstractResourceProcessor.process(javax.faces.context.FacesContext,String) might ignore java.lang.Exception | BAD_PRACTICE | DE_MIGHT_IGNORE | 149 |
Method org.apache.shale.remoting.impl.AbstractResourceProcessor.mimeType(javax.faces.context.FacesContext,String) catches Exception, but Exception is not thrown in the try block and RuntimeException is not explicitly caught | STYLE | REC_CATCH_EXCEPTION | 432 |
Method org.apache.shale.remoting.impl.AbstractResourceProcessor.sendContentType(javax.faces.context.FacesContext,String) catches Exception, but Exception is not thrown in the try block and RuntimeException is not explicitly caught | STYLE | REC_CATCH_EXCEPTION | 486 |
org.apache.shale.remoting.impl.AbstractResourceProcessor.log is transient but org.apache.shale.remoting.impl.AbstractResourceProcessor isn't Serializable | STYLE | SE_TRANSIENT_FIELD_OF_NONSERIALIZABLE_CLASS | Not available |
Bug | Category | Details | Line |
---|---|---|---|
org.apache.shale.remoting.impl.ChainProcessor.log is transient but org.apache.shale.remoting.impl.ChainProcessor isn't Serializable | STYLE | SE_TRANSIENT_FIELD_OF_NONSERIALIZABLE_CLASS | Not available |
Bug | Category | Details | Line |
---|---|---|---|
Method org.apache.shale.remoting.impl.ClassResourceProcessor.getResourceURL(javax.faces.context.FacesContext,String) invokes dubious String.toUpperCase() or String.toLowerCase; use the Locale parameterized version instead | I18N | DM_CONVERT_CASE | 83 |
org.apache.shale.remoting.impl.ClassResourceProcessor.log is transient but org.apache.shale.remoting.impl.ClassResourceProcessor isn't Serializable | STYLE | SE_TRANSIENT_FIELD_OF_NONSERIALIZABLE_CLASS | Not available |
Bug | Category | Details | Line |
---|---|---|---|
org.apache.shale.remoting.impl.MappingsImpl.getPatterns() may expose internal representation by returning org.apache.shale.remoting.impl.MappingsImpl.patterns | MALICIOUS_CODE | EI_EXPOSE_REP | 129 |
org.apache.shale.remoting.impl.MappingsImpl.setPatterns(String[]) may expose internal representation by storing an externally mutable object into org.apache.shale.remoting.impl.MappingsImpl.patterns | MALICIOUS_CODE | EI_EXPOSE_REP2 | 152 |
Bug | Category | Details | Line |
---|---|---|---|
org.apache.shale.remoting.impl.MethodBindingProcessor.log is transient but org.apache.shale.remoting.impl.MethodBindingProcessor isn't Serializable | STYLE | SE_TRANSIENT_FIELD_OF_NONSERIALIZABLE_CLASS | Not available |
Bug | Category | Details | Line |
---|---|---|---|
Method org.apache.shale.remoting.impl.WebResourceProcessor.getResourceURL(javax.faces.context.FacesContext,String) invokes dubious String.toUpperCase() or String.toLowerCase; use the Locale parameterized version instead | I18N | DM_CONVERT_CASE | 83 |
Method org.apache.shale.remoting.impl.WebResourceProcessor.getResourceURL(javax.faces.context.FacesContext,String) catches Exception, but Exception is not thrown in the try block and RuntimeException is not explicitly caught | STYLE | REC_CATCH_EXCEPTION | 112 |
org.apache.shale.remoting.impl.WebResourceProcessor.log is transient but org.apache.shale.remoting.impl.WebResourceProcessor isn't Serializable | STYLE | SE_TRANSIENT_FIELD_OF_NONSERIALIZABLE_CLASS | Not available |
Bug | Category | Details | Line |
---|---|---|---|
There is an apparent infinite recursive loop in org.apache.shale.remoting.logger.DefaultLogger.debug(String,String,Throwable,Object[]). | CORRECTNESS | IL_INFINITE_RECURSIVE_LOOP | 151 |
There is an apparent infinite recursive loop in org.apache.shale.remoting.logger.DefaultLogger.error(String,String,Throwable,Object[]). | CORRECTNESS | IL_INFINITE_RECURSIVE_LOOP | 193 |
There is an apparent infinite recursive loop in org.apache.shale.remoting.logger.DefaultLogger.fatal(String,String,Throwable,Object[]). | CORRECTNESS | IL_INFINITE_RECURSIVE_LOOP | 207 |
There is an apparent infinite recursive loop in org.apache.shale.remoting.logger.DefaultLogger.info(String,String,Throwable,Object[]). | CORRECTNESS | IL_INFINITE_RECURSIVE_LOOP | 165 |
There is an apparent infinite recursive loop in org.apache.shale.remoting.logger.DefaultLogger.trace(String,String,Throwable,Object[]). | CORRECTNESS | IL_INFINITE_RECURSIVE_LOOP | 137 |
There is an apparent infinite recursive loop in org.apache.shale.remoting.logger.DefaultLogger.warn(String,String,Throwable,Object[]). | CORRECTNESS | IL_INFINITE_RECURSIVE_LOOP | 179 |
Method org.apache.shale.remoting.logger.DefaultLogger.DefaultLogger() catches Exception, but Exception is not thrown in the try block and RuntimeException is not explicitly caught | STYLE | REC_CATCH_EXCEPTION | 46 |