You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by "Nathan Bubna (JIRA)" <de...@velocity.apache.org> on 2008/10/01 23:53:44 UTC

[jira] Resolved: (VELOCITY-620) Parse error creates an obscure error message

     [ https://issues.apache.org/jira/browse/VELOCITY-620?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nathan Bubna resolved VELOCITY-620.
-----------------------------------

       Resolution: Cannot Reproduce
    Fix Version/s: 1.6

> Parse error creates an obscure error message
> --------------------------------------------
>
>                 Key: VELOCITY-620
>                 URL: https://issues.apache.org/jira/browse/VELOCITY-620
>             Project: Velocity
>          Issue Type: Bug
>          Components: Engine
>    Affects Versions: 1.6
>            Reporter: Byron Foster
>             Fix For: 1.6
>
>         Attachments: Velocity620TestCase.java
>
>
> The following incorrect velocity usage:
> #macro(foo $a)
>   blaa
> #end
> #foo("b" "c")
> or ...
> #if ($x = "a")
> #end
> will create the obscure error message in the exception:
> > Bad Reference "null" in /foo.vm:18

-- 
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