As a result of https://github.com/igniterealtime/Openfire/pull/217, the Audit Policy JSP file gives a nullpointer. The module isn't loaded correctly.
Fix provided here: https://github.com/igniterealtime/Openfire/pull/322
Merged the fix.