You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by "Henning Schmiedehausen (JIRA)" <de...@velocity.apache.org> on 2007/03/08 01:04:43 UTC
[jira] Closed: (VELOCITY-411)
org.apache.velocity.app.event.implement.EscapeReference needs a guard
against NPE
[ https://issues.apache.org/jira/browse/VELOCITY-411?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Henning Schmiedehausen closed VELOCITY-411.
-------------------------------------------
> org.apache.velocity.app.event.implement.EscapeReference needs a guard against NPE
> ---------------------------------------------------------------------------------
>
> Key: VELOCITY-411
> URL: https://issues.apache.org/jira/browse/VELOCITY-411
> Project: Velocity
> Issue Type: Bug
> Components: Engine
> 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.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@velocity.apache.org
For additional commands, e-mail: dev-help@velocity.apache.org