Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

After upgrading from 5.1.1 tp 6.15 and restarting, getting error in com.zenfoundation.theme.ZenTheme

Tom McCobb
Contributor
April 22, 2019

Cause

java.lang.RuntimeException: javax.servlet.ServletException: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'isLicensed' in class com.zenfoundation.theme.ZenTheme threw exception java.lang.NoClassDefFoundError: Could not initialize class com.atlassian.upm.osgi.impl.Versions at theme/html/zen-javascript-bridge.html[line 47, column 32]
    at com.opensymphony.sitemesh.webapp.decorator.BaseWebAppDecorator.render(BaseWebAppDecorator.java:37)

caused by: javax.servlet.ServletException: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'isLicensed' in class com.zenfoundation.theme.ZenTheme threw exception java.lang.NoClassDefFoundError: Could not initialize class com.atlassian.upm.osgi.impl.Versions at theme/html/zen-javascript-bridge.html[line 47, column 32]
    at com.atlassian.confluence.util.profiling.ConfluenceSitemeshDecorator$ErrorSendingErrorHandlingStrategy.handleException(ConfluenceSitemeshDecorator.java:244)

caused by: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'isLicensed' in class com.zenfoundation.theme.ZenTheme threw exception java.lang.NoClassDefFoundError: Could not initialize class com.atlassian.upm.osgi.impl.Versions at theme/html/zen-javascript-bridge.html[line 47, column 32]
    at org.apache.velocity.runtime.parser.node.ASTIdentifier.execute(ASTIdentifier.java:237)

caused by: java.lang.NoClassDefFoundError: Could not initialize class com.atlassian.upm.osgi.impl.Versions
    at com.atlassian.upm.license.storage.lib.VersionChecker.isUpm201OrLaterInstalled(VersionChecker.java:50)

1 answer

1 accepted

0 votes
Answer accepted
Shannon S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 24, 2019

Hello Tom,

Thank your for reaching out! Happy to help.

From what I see, you are likely running an add-on called Zen Foundation which has reached end-of-life with the vendor.

According to their listing, Zen Foundation will only work up to Confluence version 6.14.3.

You'll want to disable your add-ons first before restarting Confluence. Have a look at How to manually remove malfunctioning add-ons for details on that.

Let me know if you have any trouble.

Regards,

Shannon

Tom McCobb
Contributor
April 24, 2019

After disabling the plug-in and restarting the migration process, the upgrade completed successfully.

Like Shannon S likes this
Shannon S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 25, 2019

Hi Tom!

Thank you for confirming that removing the add-on resolved the issue. Glad you were able to upgrade successfully.

Do let us know if you have any other trouble, otherwise have a pleasant weekend.

Regards,

Shannon

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events