Soy template causes an error when .vm file call to render

Minh Cao December 6, 2012

I'm writing a soy template in issue page for Jira.

When using a .vm file to render template in .soy file, it causes error:

Error rendering WebPanel (templates/demo1.vm): org.apache.velocity.exception.MethodInvocationException: Invocation of method 'render' in class com.atlassian.soy.impl.SoyTemplateRendererImpl threw exception com.google.common.collect.ComputationException: java.lang.StackOverflowError

This is a command in .vm file to call soy template render:

$soyRenderer.render('com.example.jira.soy-demo:demo-web-resource', 'JIRA.Templates.Demo.projectDetails', $demoTest)

Is there any problem in this command that it cannot work?

1 answer

0 votes
Yamuna A July 22, 2016

Hi Minhch,

               Have you found the solution for this. Because I'm also facing the same kinda problem.

Suggest an answer

Log in or Sign up to answer