Hi:

Just updated to cvs current, I am now getting some errors in the log.

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(VelocimacroProxy.java:361)
        at 
org.apache.velocity.runtime.directive.VelocimacroProxy.setupMacro(VelocimacroProxy.java:289)
        at 
org.apache.velocity.runtime.directive.VelocimacroProxy.init(VelocimacroProxy.java:279)
        at 
org.apache.velocity.runtime.parser.node.ASTDirective.init(ASTDirective.java:133)
        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]>

Reply via email to