velocity-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nathan Bubna (JIRA)" <...@velocity.apache.org>
Subject [jira] Updated: (VELOCITY-620) Parse error creates an obscure error message
Date Thu, 02 Oct 2008 16:09:46 GMT

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

Nathan Bubna updated VELOCITY-620:
----------------------------------

    Attachment:     (was: Velocity620TestCase.java)

> 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


Mime
View raw message