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 Sign up to answer
Community showcase
Posted Sep 25, 2018 in Jira

Atlassian Research Workshop opportunity on Sep. 28th in Austin, TX

We're looking for participants for a workshop at Atlassian! We need Jira admins who have interesting custom workflows, issue views, or boards. Think you have a story to sha...

465 views 7 5
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