MarkupFormatter.translate is supposed to check for null, which antisamy-markup-formatter and pegdown-formatter do, but the built-in one did not (fixed here), nor did the escaped-markup or anything-goes-formatter plugins (which I do not much care about).