[ 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to