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

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

This widget could not be displayed.

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
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

176 views 2 0
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you