unable to render viewport tpl - scroll plugin involved

Hello,

When i try to open one specific space, the viewport crashes!

Going to

Scroll Viewport Config > Scrolll Viewport > Content 

at the bottom I have 

Configuration Error

Reason: Failed to render template '/page.vm'.

For more information please contact your admin or check the log files.

---

Instead the page returns to me Cause and a very long Stack Trace:

Cause

com.k15t.scroll.runtime.confluence.content.transform.render.RenderingException: Failed to render template '/page.vm'.
    at com.k15t.scroll.viewport.infra.render.VelocityTemplateAdapter.render(VelocityTemplateAdapter.java:33)

caused by: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'template' in class com.k15t.scroll.viewport.api.placeholder.IncludePlaceholder threw exception com.k15t.scroll.runtime.confluence.content.transform.render.RenderingException: Failed to render template '/include/include-headerbar.vm'. at /page.vm[line 21, column 14]
    at org.apache.velocity.runtime.parser.node.ASTMethod.handleInvocationException(ASTMethod.java:337)

caused by: com.k15t.scroll.runtime.confluence.content.transform.render.RenderingException: Failed to render template '/include/include-headerbar.vm'.
    at com.k15t.scroll.viewport.infra.render.VelocityTemplateAdapter.render(VelocityTemplateAdapter.java:33)

caused by: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'get' in class java.util.ArrayList threw exception java.lang.IndexOutOfBoundsException: Index: 4, Size: 4 at /include/include-headerbar.vm[line 76, column 34]
    at org.apache.velocity.runtime.parser.node.ASTMethod.handleInvocationException(ASTMethod.java:337)

caused by: java.lang.IndexOutOfBoundsException: Index: 4, Size: 4
    at java.util.ArrayList.rangeCheck(ArrayList.java:653)

 

Stack Trace:[hide] - a few line

Screenshot (2).png

With the other viewport spaces, there is no problem, everything works fine.

Do you have any idea?! 

Any suggestions/solution?

Thx u already

L

1 answer

Hi.

Do you see this error when there is a default WebHelp theme applied to the space? Or is it a customer theme? If you still see this issue, it would be great if you could send me a Support ZIP to support@k15t.com.

Cheers,
Roman.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published Thursday in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

76 views 0 5
Read article

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