[Patch] Unexpected NPE in MapVariableInterpolator
-------------------------------------------------

                 Key: WICKET-340
                 URL: https://issues.apache.org/jira/browse/WICKET-340
             Project: Wicket
          Issue Type: Bug
          Components: wicket
    Affects Versions: 2.0
            Reporter: Martin Benda
         Attachments: MapVariableInterpolator.patch

When MapVariableInterpolator interpolates a string that contains variables 
missing in the variable map, it throws a NPE even if exceptionOnNullVarValue is 
set to false. The bug is in the getValue method - toString() is invoken 
directly on tha value returned from the map.

A trivial patch is attached.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to