Apache MyFaces
Documentation
Foundation

FindBugs Bug Detector Report

The following document contains the results of FindBugs Report

FindBugs Version is 1.3.9

Threshold is low

Effort is min

Summary

ClassesBugsErrorsMissing Classes
209400

org.apache.myfaces.commons.util.ExternalContextUtils

BugCategoryDetailsLinePriority
Exception is caught when Exception is not thrown in org.apache.myfaces.commons.util.ExternalContextUtils.getContentLength(ExternalContext)STYLEREC_CATCH_EXCEPTION64Low
Exception is caught when Exception is not thrown in org.apache.myfaces.commons.util.ExternalContextUtils.getRequestInputStream(ExternalContext)STYLEREC_CATCH_EXCEPTION94Low

org.apache.myfaces.commons.util.LocaleUtils

BugCategoryDetailsLinePriority
Exception is caught when Exception is not thrown in org.apache.myfaces.commons.util.LocaleUtils.converterTagLocaleFromString(String)STYLEREC_CATCH_EXCEPTION134Low

org.apache.myfaces.commons.util.MessageUtils

BugCategoryDetailsLinePriority
Method call in org.apache.myfaces.commons.util.MessageUtils.getMessageFromBundle(String, String, Object[]) passes null for nonnull parameter of getMessageFromBundle(String, FacesContext, Locale, String, Object[])CORRECTNESSNP_NULL_PARAM_DEREF266Medium
Redundant comparison of non-null value to null in org.apache.myfaces.commons.util.MessageUtils.getMessage(String, FacesContext, String, Object[])STYLERCN_REDUNDANT_COMPARISON_OF_NULL_AND_NONNULL_VALUE591Low
Redundant comparison of non-null value to null in org.apache.myfaces.commons.util.MessageUtils.getMessage(FacesContext, String, Object[])STYLERCN_REDUNDANT_COMPARISON_OF_NULL_AND_NONNULL_VALUE571Low
Redundant nullcheck of message, which is known to be non-null in org.apache.myfaces.commons.util.MessageUtils.getMessage(String, FacesContext, String, Object[])STYLERCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE594Low
Redundant nullcheck of message, which is known to be non-null in org.apache.myfaces.commons.util.MessageUtils.getMessage(FacesContext, String, Object[])STYLERCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE574Low

org.apache.myfaces.commons.util.ParametrizableFacesMessage

BugCategoryDetailsLinePriority
new org.apache.myfaces.commons.util.ParametrizableFacesMessage(String, String, Object[], Locale) may expose internal representation by storing an externally mutable object into ParametrizableFacesMessage._argsMALICIOUS_CODEEI_EXPOSE_REP255Medium
new org.apache.myfaces.commons.util.ParametrizableFacesMessage(FacesMessage$Severity, String, String, Object[], Locale) may expose internal representation by storing an externally mutable object into ParametrizableFacesMessage._argsMALICIOUS_CODEEI_EXPOSE_REP264Medium

org.apache.myfaces.commons.util.StringUtils

BugCategoryDetailsLinePriority
Should org.apache.myfaces.commons.util.StringUtils.trim(String[]) return a zero length array rather than null?STYLEPZLA_PREFER_ZERO_LENGTH_ARRAYS684Low

org.apache.myfaces.commons.util.TagUtils

BugCategoryDetailsLinePriority
Should org.apache.myfaces.commons.util.TagUtils.getStringArray(Object) return a zero length array rather than null?STYLEPZLA_PREFER_ZERO_LENGTH_ARRAYS177Low
Should org.apache.myfaces.commons.util.TagUtils.getTokensArray(String) return a zero length array rather than null?STYLEPZLA_PREFER_ZERO_LENGTH_ARRAYS253Low
Should org.apache.myfaces.commons.util.TagUtils.parseNameTokens(String) return a zero length array rather than null?STYLEPZLA_PREFER_ZERO_LENGTH_ARRAYS289Low

org.apache.myfaces.commons.util.WebConfigParamUtils

BugCategoryDetailsLinePriority
Use of non-localized String.toUpperCase() or String.toLowerCaseI18NDM_CONVERT_CASE212Low
Use of non-localized String.toUpperCase() or String.toLowerCaseI18NDM_CONVERT_CASE263Low
Use of non-localized String.toUpperCase() or String.toLowerCaseI18NDM_CONVERT_CASE327Low
Use of non-localized String.toUpperCase() or String.toLowerCaseI18NDM_CONVERT_CASE388Low
Use of non-localized String.toUpperCase() or String.toLowerCaseI18NDM_CONVERT_CASE446Low
Use of non-localized String.toUpperCase() or String.toLowerCaseI18NDM_CONVERT_CASE509Low
Use of non-localized String.toUpperCase() or String.toLowerCaseI18NDM_CONVERT_CASE566Low
Use of non-localized String.toUpperCase() or String.toLowerCaseI18NDM_CONVERT_CASE630Low
org.apache.myfaces.commons.util.WebConfigParamUtils.COMMON_FALSE_VALUES should be package protectedMALICIOUS_CODEMS_PKGPROTECT33Low
org.apache.myfaces.commons.util.WebConfigParamUtils.COMMON_TRUE_VALUES should be package protectedMALICIOUS_CODEMS_PKGPROTECT32Low

org.apache.myfaces.commons.util.renderkit.HTML

BugCategoryDetailsLinePriority
org.apache.myfaces.commons.util.renderkit.HTML.ANCHOR_ATTRIBUTES should be package protectedMALICIOUS_CODEMS_PKGPROTECT214Medium
org.apache.myfaces.commons.util.renderkit.HTML.BODY_ATTRIBUTES should be package protectedMALICIOUS_CODEMS_PKGPROTECT513Medium
org.apache.myfaces.commons.util.renderkit.HTML.BODY_ATTRIBUTES_WITHOUT_EVENTS should be package protectedMALICIOUS_CODEMS_PKGPROTECT525Medium
org.apache.myfaces.commons.util.renderkit.HTML.BUTTON_ATTRIBUTES should be package protectedMALICIOUS_CODEMS_PKGPROTECT357Medium
org.apache.myfaces.commons.util.renderkit.HTML.COMMON_FIELD_ATTRIBUTES_WITHOUT_DISABLED should be package protectedMALICIOUS_CODEMS_PKGPROTECT139Medium
org.apache.myfaces.commons.util.renderkit.HTML.COMMON_FIELD_EVENT_ATTRIBUTES should be package protectedMALICIOUS_CODEMS_PKGPROTECT85Medium
org.apache.myfaces.commons.util.renderkit.HTML.COMMON_FIELD_EVENT_ATTRIBUTES_WITHOUT_ONFOCUS should be package protectedMALICIOUS_CODEMS_PKGPROTECT93Medium
org.apache.myfaces.commons.util.renderkit.HTML.COMMON_FIELD_EVENT_ATTRIBUTES_WITHOUT_ONSELECT_AND_ONCHANGE should be package protectedMALICIOUS_CODEMS_PKGPROTECT100Medium
org.apache.myfaces.commons.util.renderkit.HTML.COMMON_FIELD_PASSTROUGH_ATTRIBUTES_WITHOUT_DISABLED should be package protectedMALICIOUS_CODEMS_PKGPROTECT166Medium
org.apache.myfaces.commons.util.renderkit.HTML.COMMON_FIELD_PASSTROUGH_ATTRIBUTES_WITHOUT_DISABLED_AND_EVENTS should be package protectedMALICIOUS_CODEMS_PKGPROTECT195Medium
org.apache.myfaces.commons.util.renderkit.HTML.COMMON_FIELD_PASSTROUGH_ATTRIBUTES_WITHOUT_DISABLED_AND_ONCLICK should be package protectedMALICIOUS_CODEMS_PKGPROTECT186Medium
org.apache.myfaces.commons.util.renderkit.HTML.COMMON_FIELD_PASSTROUGH_ATTRIBUTES_WITHOUT_DISABLED_AND_ONFOCUS_AND_ONCLICK should be package protectedMALICIOUS_CODEMS_PKGPROTECT181Medium
org.apache.myfaces.commons.util.renderkit.HTML.COMMON_FIELD_PASSTROUGH_ATTRIBUTES_WITHOUT_DISABLED_AND_STYLE should be package protectedMALICIOUS_CODEMS_PKGPROTECT171Medium
org.apache.myfaces.commons.util.renderkit.HTML.COMMON_FIELD_PASSTROUGH_ATTRIBUTES_WITHOUT_DISABLED_AND_STYLE_AND_EVENTS should be package protectedMALICIOUS_CODEMS_PKGPROTECT199Medium
org.apache.myfaces.commons.util.renderkit.HTML.COMMON_PASSTROUGH_ATTRIBUTES should be package protectedMALICIOUS_CODEMS_PKGPROTECT150Medium
org.apache.myfaces.commons.util.renderkit.HTML.COMMON_PASSTROUGH_ATTRIBUTES_WITHOUT_ONCLICK should be package protectedMALICIOUS_CODEMS_PKGPROTECT158Medium
org.apache.myfaces.commons.util.renderkit.HTML.COMMON_PASSTROUGH_ATTRIBUTES_WITHOUT_ONCLICK_WITHOUT_STYLE should be package protectedMALICIOUS_CODEMS_PKGPROTECT162Medium
org.apache.myfaces.commons.util.renderkit.HTML.COMMON_PASSTROUGH_ATTRIBUTES_WITHOUT_ONMOUSEOVER_AND_ONMOUSEOUT should be package protectedMALICIOUS_CODEMS_PKGPROTECT191Medium
org.apache.myfaces.commons.util.renderkit.HTML.COMMON_PASSTROUGH_ATTRIBUTES_WITHOUT_STYLE should be package protectedMALICIOUS_CODEMS_PKGPROTECT154Medium
org.apache.myfaces.commons.util.renderkit.HTML.EVENT_HANDLER_ATTRIBUTES should be package protectedMALICIOUS_CODEMS_PKGPROTECT77Medium
org.apache.myfaces.commons.util.renderkit.HTML.EVENT_HANDLER_ATTRIBUTES_WITHOUT_ONCLICK should be package protectedMALICIOUS_CODEMS_PKGPROTECT54Medium
org.apache.myfaces.commons.util.renderkit.HTML.EVENT_HANDLER_ATTRIBUTES_WITHOUT_ONMOUSEOVER_AND_ONMOUSEOUT should be package protectedMALICIOUS_CODEMS_PKGPROTECT66Medium
org.apache.myfaces.commons.util.renderkit.HTML.FORM_ATTRIBUTES should be package protectedMALICIOUS_CODEMS_PKGPROTECT256Medium
org.apache.myfaces.commons.util.renderkit.HTML.IMG_ATTRIBUTES should be package protectedMALICIOUS_CODEMS_PKGPROTECT283Medium
org.apache.myfaces.commons.util.renderkit.HTML.INPUT_ATTRIBUTES should be package protectedMALICIOUS_CODEMS_PKGPROTECT314Medium
org.apache.myfaces.commons.util.renderkit.HTML.INPUT_FILE_UPLOAD_ATTRIBUTES should be package protectedMALICIOUS_CODEMS_PKGPROTECT457Medium
org.apache.myfaces.commons.util.renderkit.HTML.INPUT_PASSTHROUGH_ATTRIBUTES_WITHOUT_DISABLED should be package protectedMALICIOUS_CODEMS_PKGPROTECT322Medium
org.apache.myfaces.commons.util.renderkit.HTML.INPUT_PASSTHROUGH_ATTRIBUTES_WITHOUT_DISABLED_AND_EVENTS should be package protectedMALICIOUS_CODEMS_PKGPROTECT336Medium
org.apache.myfaces.commons.util.renderkit.HTML.LABEL_ATTRIBUTES should be package protectedMALICIOUS_CODEMS_PKGPROTECT381Medium
org.apache.myfaces.commons.util.renderkit.HTML.LABEL_ATTRIBUTES_WITHOUT_EVENTS should be package protectedMALICIOUS_CODEMS_PKGPROTECT388Medium
org.apache.myfaces.commons.util.renderkit.HTML.TABLE_ATTRIBUTES should be package protectedMALICIOUS_CODEMS_PKGPROTECT416Medium
org.apache.myfaces.commons.util.renderkit.HTML.TEXTAREA_ATTRIBUTES should be package protectedMALICIOUS_CODEMS_PKGPROTECT440Medium
org.apache.myfaces.commons.util.renderkit.HTML.UL_ATTRIBUTES should be package protectedMALICIOUS_CODEMS_PKGPROTECT488Medium
org.apache.myfaces.commons.util.renderkit.HTML.UNIVERSAL_ATTRIBUTES should be package protectedMALICIOUS_CODEMS_PKGPROTECT126Medium
org.apache.myfaces.commons.util.renderkit.HTML.UNIVERSAL_ATTRIBUTES_WITHOUT_STYLE should be package protectedMALICIOUS_CODEMS_PKGPROTECT113Medium
org.apache.myfaces.commons.util.renderkit.HTML.ANCHOR_PASSTHROUGH_ATTRIBUTES should be package protectedMALICIOUS_CODEMS_PKGPROTECT227Low
org.apache.myfaces.commons.util.renderkit.HTML.ANCHOR_PASSTHROUGH_ATTRIBUTES_WITHOUT_EVENTS should be package protectedMALICIOUS_CODEMS_PKGPROTECT242Low
org.apache.myfaces.commons.util.renderkit.HTML.ANCHOR_PASSTHROUGH_ATTRIBUTES_WITHOUT_ONCLICK_WITHOUT_STYLE should be package protectedMALICIOUS_CODEMS_PKGPROTECT237Low
org.apache.myfaces.commons.util.renderkit.HTML.ANCHOR_PASSTHROUGH_ATTRIBUTES_WITHOUT_STYLE should be package protectedMALICIOUS_CODEMS_PKGPROTECT232Low
org.apache.myfaces.commons.util.renderkit.HTML.ANCHOR_PASSTHROUGH_ATTRIBUTES_WITHOUT_STYLE_AND_EVENTS should be package protectedMALICIOUS_CODEMS_PKGPROTECT246Low
org.apache.myfaces.commons.util.renderkit.HTML.BODY_PASSTHROUGH_ATTRIBUTES should be package protectedMALICIOUS_CODEMS_PKGPROTECT535Low
org.apache.myfaces.commons.util.renderkit.HTML.BODY_PASSTHROUGH_ATTRIBUTES_WITHOUT_EVENTS should be package protectedMALICIOUS_CODEMS_PKGPROTECT539Low
org.apache.myfaces.commons.util.renderkit.HTML.BUTTON_PASSTHROUGH_ATTRIBUTES_WITHOUT_DISABLED should be package protectedMALICIOUS_CODEMS_PKGPROTECT362Low
org.apache.myfaces.commons.util.renderkit.HTML.BUTTON_PASSTHROUGH_ATTRIBUTES_WITHOUT_DISABLED_AND_EVENTS should be package protectedMALICIOUS_CODEMS_PKGPROTECT370Low
org.apache.myfaces.commons.util.renderkit.HTML.BUTTON_PASSTHROUGH_ATTRIBUTES_WITHOUT_DISABLED_AND_ONCLICK should be package protectedMALICIOUS_CODEMS_PKGPROTECT366Low
org.apache.myfaces.commons.util.renderkit.HTML.COMMON_FIELD_ATTRIBUTES should be package protectedMALICIOUS_CODEMS_PKGPROTECT144Low
org.apache.myfaces.commons.util.renderkit.HTML.COMMON_FIELD_PASSTROUGH_ATTRIBUTES_WITHOUT_DISABLED_AND_ONFOCUS should be package protectedMALICIOUS_CODEMS_PKGPROTECT176Low
org.apache.myfaces.commons.util.renderkit.HTML.FORM_PASSTHROUGH_ATTRIBUTES should be package protectedMALICIOUS_CODEMS_PKGPROTECT265Low
org.apache.myfaces.commons.util.renderkit.HTML.FORM_PASSTHROUGH_ATTRIBUTES_WITHOUT_EVENTS should be package protectedMALICIOUS_CODEMS_PKGPROTECT269Low
org.apache.myfaces.commons.util.renderkit.HTML.IMG_PASSTHROUGH_ATTRIBUTES should be package protectedMALICIOUS_CODEMS_PKGPROTECT296Low
org.apache.myfaces.commons.util.renderkit.HTML.IMG_PASSTHROUGH_ATTRIBUTES_WITHOUT_EVENTS should be package protectedMALICIOUS_CODEMS_PKGPROTECT304Low
org.apache.myfaces.commons.util.renderkit.HTML.IMG_PASSTHROUGH_ATTRIBUTES_WITHOUT_ONMOUSEOVER_AND_ONMOUSEOUT should be package protectedMALICIOUS_CODEMS_PKGPROTECT300Low
org.apache.myfaces.commons.util.renderkit.HTML.INPUT_FILE_PASSTHROUGH_ATTRIBUTES_WITHOUT_DISABLED should be package protectedMALICIOUS_CODEMS_PKGPROTECT461Low
org.apache.myfaces.commons.util.renderkit.HTML.INPUT_FILE_PASSTHROUGH_ATTRIBUTES_WITHOUT_DISABLED_AND_EVENTS should be package protectedMALICIOUS_CODEMS_PKGPROTECT465Low
org.apache.myfaces.commons.util.renderkit.HTML.INPUT_PASSTHROUGH_ATTRIBUTES_WITHOUT_DISABLED_AND_ONFOCUS_AND_ONCLICK should be package protectedMALICIOUS_CODEMS_PKGPROTECT331Low
org.apache.myfaces.commons.util.renderkit.HTML.INPUT_PASSTHROUGH_ATTRIBUTES_WITHOUT_DISABLED_AND_STYLE should be package protectedMALICIOUS_CODEMS_PKGPROTECT326Low
org.apache.myfaces.commons.util.renderkit.HTML.INPUT_PASSTHROUGH_ATTRIBUTES_WITHOUT_DISABLED_AND_STYLE_AND_EVENTS should be package protectedMALICIOUS_CODEMS_PKGPROTECT341Low
org.apache.myfaces.commons.util.renderkit.HTML.LABEL_PASSTHROUGH_ATTRIBUTES should be package protectedMALICIOUS_CODEMS_PKGPROTECT392Low
org.apache.myfaces.commons.util.renderkit.HTML.LABEL_PASSTHROUGH_ATTRIBUTES_WITHOUT_EVENTS should be package protectedMALICIOUS_CODEMS_PKGPROTECT396Low
org.apache.myfaces.commons.util.renderkit.HTML.MESSAGE_PASSTHROUGH_ATTRIBUTES_WITHOUT_TITLE_STYLE_AND_STYLE_CLASS should be package protectedMALICIOUS_CODEMS_PKGPROTECT477Low
org.apache.myfaces.commons.util.renderkit.HTML.SELECT_PASSTHROUGH_ATTRIBUTES_WITHOUT_DISABLED should be package protectedMALICIOUS_CODEMS_PKGPROTECT404Low
org.apache.myfaces.commons.util.renderkit.HTML.SELECT_PASSTHROUGH_ATTRIBUTES_WITHOUT_DISABLED_AND_EVENTS should be package protectedMALICIOUS_CODEMS_PKGPROTECT406Low
org.apache.myfaces.commons.util.renderkit.HTML.SELECT_TABLE_PASSTHROUGH_ATTRIBUTES should be package protectedMALICIOUS_CODEMS_PKGPROTECT484Low
org.apache.myfaces.commons.util.renderkit.HTML.TABLE_PASSTHROUGH_ATTRIBUTES should be package protectedMALICIOUS_CODEMS_PKGPROTECT427Low
org.apache.myfaces.commons.util.renderkit.HTML.TABLE_PASSTHROUGH_ATTRIBUTES_WITHOUT_EVENTS should be package protectedMALICIOUS_CODEMS_PKGPROTECT431Low
org.apache.myfaces.commons.util.renderkit.HTML.TEXTAREA_PASSTHROUGH_ATTRIBUTES_WITHOUT_DISABLED should be package protectedMALICIOUS_CODEMS_PKGPROTECT447Low
org.apache.myfaces.commons.util.renderkit.HTML.TEXTAREA_PASSTHROUGH_ATTRIBUTES_WITHOUT_DISABLED_AND_EVENTS should be package protectedMALICIOUS_CODEMS_PKGPROTECT451Low
org.apache.myfaces.commons.util.renderkit.HTML.UL_PASSTHROUGH_ATTRIBUTES should be package protectedMALICIOUS_CODEMS_PKGPROTECT492Low
org.apache.myfaces.commons.util.renderkit.HTML.UL_PASSTHROUGH_ATTRIBUTES_WITHOUT_EVENTS should be package protectedMALICIOUS_CODEMS_PKGPROTECT496Low
org.apache.myfaces.commons.util.renderkit.HTML.UNIVERSAL_ATTRIBUTES_WITHOUT_STYLE_AND_TITLE should be package protectedMALICIOUS_CODEMS_PKGPROTECT121Low