Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
  • Community
  • Products
  • Confluence
  • Questions
  • Error occurred during template rendering: Invocation of method 'getHtml' in class com.atlassian.confluence.plugin.descriptor.web.ConfluenceWebInterfaceManager

Error occurred during template rendering: Invocation of method 'getHtml' in class com.atlassian.confluence.plugin.descriptor.web.ConfluenceWebInterfaceManager

Jonas Andersson
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 27, 2015

After upgrading from confluence 5.5 (server) to 5.9.2 confluence seem to start up like it should, but trying to reach the web interface i only see:

Error occurred during template rendering: Invocation of method 'getHtml' in class com.atlassian.confluence.plugin.descriptor.web.ConfluenceWebInterfaceManager$ExceptionHandlingWebPanel threw exception java.lang.LinkageError: loader constraint violation: when resolving method "com.atlassian.confluence.util.velocity.VelocityUtils.getRenderedTemplate(Ljava/lang/String;Lorg/apache/velocity/context/Context;)Ljava/lang/String;" the class loader (instance of org/apache/felix/framework/BundleWiringImpl$BundleClassLoaderJava5) of the current class, de/nielsjaeckel/confluence/plugins/universalnavigation/renderer/HtmlListRenderer, and the class loader (instance of org/apache/catalina/loader/WebappClassLoader) for the method's defining class, com/atlassian/confluence/util/velocity/VelocityUtils, have different Class objects for the type org/apache/velocity/context/Context used in the signature at template/includes/macros.vm[line 1451, column 20]. Contact your administrator for assistance.

Among other bugs i noticed that all files were overwritten by root (which the installer demanded), so i have chowned both application directory and installation directory to the right user again, however same message on restart.

The error seems to refer to https://ecosystem.atlassian.net/browse/ATR-42 but i don't see a solution, just that it's fixed. I also attempted reaching the addon's on http://<our.confluence.address>:8090/plugins/servlet/upm#compatibility but this renders the same error screen as above.

I also attempted copying back the old server.xml which contained a few modifications (opening several http/https connectors), but all ports opened report the same error.

Have anyone seen this error before? Thankful for anything that might lead me right.


 

 

1 answer

1 accepted

2 votes
Answer accepted
Jonas Andersson
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 27, 2015

Broken plugin, solved by support in less than 1hour!!

legal90
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!
July 14, 2016

Could you please share the solution?

Jonas_Bygdén March 21, 2017

Which plugin?

g
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 23, 2017

In this case, issue was caused by this plugin: https://marketplace.atlassian.com/plugins/de.nielsjaeckel.universal-navigation.plugin/server/overview

Disabling plugin fixed issue.

Derek Fields _RightStar_
Community Champion
December 18, 2019

In my case, it was caused by the Brikit plugin (which literally "bricked" the space)

Alex Koxaras _Relational_
Community Champion
March 11, 2021

@Derek Fields _RightStar_ how did you solve the Brikit theme problem? The same thing just happened to me!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events