On 2/23/02 12:42 AM, "Victor Salaman" <[EMAIL PROTECTED]> wrote:
>
> Hi:
>
> Just updated to cvs current, I am now getting some errors in the log.
Thanks for the heads up, this will be fixed immediately.
>
> I have a macro defined as
>
> #macro(categoryLink $id)#ilink("category.qsp?cid=$id")#end
>
> when invoked,
>
> I get this in the log,
>
> 2/23/02 1:13 AM elamal-commerce: Velocity [error] Error in interpolating
> string literal : java.lang.NullPointerException
> 2/23/02 1:13 AM elamal-commerce: Velocity [error] VMProxyArg.setup() :
> exception "category.qsp?cid=$id" : java.lang.NullPointerException
> at
> org.apache.velocity.runtime.parser.node.ASTStringLiteral.init(ASTStringLiteral
> .java:146)
> at
> org.apache.velocity.runtime.directive.VMProxyArg.setup(VMProxyArg.java:441)
> at
> org.apache.velocity.runtime.directive.VMProxyArg.<init>(VMProxyArg.java:173)
> at
> org.apache.velocity.runtime.directive.VelocimacroProxy.setupProxyArgs(Velocima
> croProxy.java:361)
> at
> org.apache.velocity.runtime.directive.VelocimacroProxy.setupMacro(VelocimacroP
> roxy.java:289)
> at
> org.apache.velocity.runtime.directive.VelocimacroProxy.init(VelocimacroProxy.j
> ava:279)
> at
> org.apache.velocity.runtime.parser.node.ASTDirective.init(ASTDirective.java:13
> 3)
> at
> org.apache.velocity.runtime.parser.node.SimpleNode.init(SimpleNode.java:242)
> at
> org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy
> .java:190)
> at
> org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:
> 153)
> at
> org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:271)
> at org.apache.velocity.Template.merge(Template.java:296)
> ...
>
> If I switch back, it works...
>
> Cheers,
>
> /V
>
> _________________________________________________________________
> Send and receive Hotmail on your mobile device: http://mobile.msn.com
>
>
> --
> To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
--
Geir Magnusson Jr. [EMAIL PROTECTED]
System and Software Consulting
"We will be judged not by the monuments we build, but by the monuments we
destroy" - Ada Louise Huxtable
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>