You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by Jon Scott Stevens <jo...@latchkey.com> on 2002/03/26 02:30:37 UTC
1.3 and 1.4 bug
With 1.2, I could do this:
#textAreaLarge("" "#xmlExport($federatedIds)")
It works perfectly fine if I pull the #xmlExport out...
Now, with 1.3-rc1 and 1.4 cvs head, I get an exception thrown:
2002-03-25 17:27:39,799 - VMProxyArg.setup() : exception
"#xmlExport($federatedIds)" : java.lang.NullPointerExceptio
n
at
org.apache.velocity.runtime.parser.node.ASTDirective.init(ASTDirective.java)
at
org.apache.velocity.runtime.parser.node.SimpleNode.init(SimpleNode.java)
at
org.apache.velocity.runtime.parser.node.ASTStringLiteral.init(ASTStringLiter
al.java)
at
org.apache.velocity.runtime.directive.VMProxyArg.setup(VMProxyArg.java)
at
org.apache.velocity.runtime.directive.VMProxyArg.<init>(VMProxyArg.java)
at
org.apache.velocity.runtime.directive.VelocimacroProxy.setupProxyArgs(Veloci
macroProxy.java)
at
org.apache.velocity.runtime.directive.VelocimacroProxy.setupMacro(Velocimacr
oProxy.java)
at
org.apache.velocity.runtime.directive.VelocimacroProxy.init(VelocimacroProxy
.java)
at
org.apache.velocity.runtime.parser.node.ASTDirective.init(ASTDirective.java)
at
org.apache.velocity.runtime.parser.node.SimpleNode.init(SimpleNode.java)
at
org.apache.velocity.runtime.parser.node.SimpleNode.init(SimpleNode.java)
at
org.apache.velocity.runtime.parser.node.SimpleNode.init(SimpleNode.java)
at org.apache.velocity.Template.initDocument(Template.java)
at org.apache.velocity.Template.process(Template.java)
at
org.apache.velocity.runtime.resource.ResourceManagerImpl.loadResource(Resour
ceManagerImpl.java)
at
org.apache.velocity.runtime.resource.ResourceManagerImpl.getResource(Resourc
eManagerImpl.java)
at
org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java
)
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: 1.3 and 1.4 bug
Posted by "Geir Magnusson Jr." <ge...@optonline.net>.
On 3/26/02 1:46 PM, "Jon Scott Stevens" <jo...@latchkey.com> wrote:
> on 3/26/02 7:16 AM, "Geir Magnusson Jr." <ge...@optonline.net> wrote:
>
>> Fixed in 1.4. Try it. If all is well, I'll commit to 1.3 as well and
>> respin another rc.
>
> Works. Thanks geir.
>
Great. I'll backport the fix to 1.3
--
Geir Magnusson Jr. geirm@optonline.net
System and Software Consulting
Java : the speed of Smalltalk with the simple elegance of C++...
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: 1.3 and 1.4 bug
Posted by Jon Scott Stevens <jo...@latchkey.com>.
on 3/26/02 7:16 AM, "Geir Magnusson Jr." <ge...@optonline.net> wrote:
> Fixed in 1.4. Try it. If all is well, I'll commit to 1.3 as well and
> respin another rc.
Works. Thanks geir.
-jon
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: 1.3 and 1.4 bug
Posted by "Geir Magnusson Jr." <ge...@optonline.net>.
On 3/25/02 8:30 PM, "Jon Scott Stevens" <jo...@latchkey.com> wrote:
> With 1.2, I could do this:
>
> #textAreaLarge("" "#xmlExport($federatedIds)")
>
> It works perfectly fine if I pull the #xmlExport out...
>
> Now, with 1.3-rc1 and 1.4 cvs head, I get an exception thrown:
Fixed in 1.4. Try it. If all is well, I'll commit to 1.3 as well and
respin another rc.
--
Geir Magnusson Jr. geirm@optonline.net
System and Software Consulting
You're going to end up getting pissed at your software
anyway, so you might as well not pay for it. Try Open Source.
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>