You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by "Stephen Cresswell (JIRA)" <de...@velocity.apache.org> on 2008/01/24 14:05:41 UTC
[jira] Commented: (VELOCITY-514) Rendering a template with inline
macro concurrently causes VM error : Null AST
[ https://issues.apache.org/jira/browse/VELOCITY-514?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12562043#action_12562043 ]
Stephen Cresswell commented on VELOCITY-514:
--------------------------------------------
We're hitting this issue during our stress tests using Velocity 1.5
2008-01-24 12:10:44,397 [resin-tcp-connection-tstrespub02:8080-49] ERROR com.gu.r2.common.velocity.logger.VelocityLogHandler - VM error requires. Null AST
> Rendering a template with inline macro concurrently causes VM error : Null AST
> ------------------------------------------------------------------------------
>
> Key: VELOCITY-514
> URL: https://issues.apache.org/jira/browse/VELOCITY-514
> Project: Velocity
> Issue Type: Bug
> Components: Engine
> Affects Versions: 1.3.1, 1.4
> Reporter: Sam Chang
> Assignee: Henning Schmiedehausen
> Fix For: 1.5
>
> Attachments: macroSlammer-1.4.jar, macroSlammer-1.5.jar, macroSlammer.jar, nullAST.log, slammer.vm
>
>
> If a template with inline macro is rendered concurrently it prints the following errors in the log:
> ERROR [velocity] VM #myInlineMacro: error : too few arguments to macro. Wanted 3 got 0
> ERROR [velocity] VM error : myInlineMacro. Null AST
> and where the expected output of the inline macro is, it has the string values of the arguments passed to the macro in brackets
> eg:
> #myInlineMacro('Arg1' 'arg2' 'arg3')
> gives the following on above error
> (Arg1 arg2 arg3)
--
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