Description
Page.getMessage() method does not accept null as parameter for Object[] args while it should.
Instead of this:
content = getMessage("exception_" + ex.getErrorType() + "_message", ex.getParameters());
I have to write code like this:
if (ex.getParameters() != null)
else
{ content = getMessage("exception_" + ex.getErrorType() + "_message"); }The underlying mechanism, MessageFormat.format(String, Object[]) has no trouble handling null as args, so I don't see the reason to bomb out with an IllegalArgumentException("Null args parameter");