Description
ProfanityFilter attempts to load a list of naughty words from com/ecyrd/jspwiki/filters/profanity.properties. This is done through a static class initializer. However, if the file cannot be found, static String[] array c_profanities is never initialized.
The fix is simply to assign the value of c_profanities to String[0] before the static {} block.