org.apache.velocity.app.event.implement.EscapeReference needs a guard against NPE ---------------------------------------------------------------------------------
Key: VELOCITY-411 URL: http://issues.apache.org/jira/browse/VELOCITY-411 Project: Velocity Type: Bug Components: Source Reporter: Konstantin Pribluda Fix For: 1.5 If reference value passed to EscapeReference.referenceInsert(String reference, Object value) is null, then derived clases produce NPE when trying to do toString() This condition shall be guarded like this: ( insert it on line 86 - too trivial for a patch ) if(value == null) return value; -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]