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

Hi Minhch,

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

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,329 views 14 20
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot