Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Minh Cao
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
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
TAGS
AUG Leaders

Atlassian Community Events