Problems caused when the license expires for the Doxygen add-on

Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Summary

Problem

Multiple problems have been known to be caused when the license expires for the Doxygen add-on.

The most common issue is that the Confluence application logs will be flooded with license check warnings such as the one below if you view a page or run any action on Confluence:

1 2017-09-12 09:23:04,079 WARN [http-nio-8090-exec-1] [license.validator.service.DefaultLicenseAccessor] apply Could not decode license key. License Certificate has expired!

A second issue is that the Confluence UI may not display after starting up Confluence, particularly after an upgrade. In this case, not only was the license expired, but an older version of the add-on was in use with a version of Confluence that the add-on did not support. Here's an example of the messaging recorded in the Confluence application log in which a NullPointerException is returned while Confluence tries to render the UI:

1 2 3 4 5 6 7 8 9 10 11 2020-01-15 20:49:06,743 ERROR [http-nio-8090-exec-8] [confluence.util.profiling.ConfluenceSitemeshErrorDecorator] renderInternal Failed to render error decorator. Falling back to using no decorator -- traceId: fe45bf2edf19d4be javax.servlet.ServletException: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getConfluenceResourceTags' in class com.atlassian.confluence.setup.velocity.VelocityFriendlyPageBuilderService threw exception com.google.common.util.concurrent.UncheckedExecutionException: java.lang.NullPointerException at /decorators/includes/header.vm[line 96, column 24] at com.atlassian.confluence.util.profiling.ConfluenceSitemeshDecorator$ErrorThrowingErrorHandlingStrategy.handleException(ConfluenceSitemeshDecorator.java:231) ... Caused by: com.google.common.util.concurrent.UncheckedExecutionException: java.lang.NullPointerException at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2050) at com.google.common.cache.LocalCache.get(LocalCache.java:3952) at com.google.common.cache.LocalCache$LocalManualCache.get(LocalCache.java:4871) Caused by: java.lang.NullPointerException at com.appfusions.confluence.doxygen.condition.HasValidLicenseCondition.shouldDisplay(HasValidLicenseCondition.java:17)

Diagnosis

It is very important to make sure that you verify that all of your add-ons have a proper license. Please refer to our License Troubleshooting for more information about this.

Check if you have the Doxygen in Confluence add-on installed on your instance. If so, check the version of the add-on whether it's enabled. Then, verify that the add-on version is compatible with the Confluence version by cross checking the Doxygen in Confluence add-on page.

Cause

The Doxygen add-on comes with a 30 days evaluation license. If the evaluation expires, then you will see this error in the logs with every request.

Solution

Workaround

As a workaround, you can temporarily disable the add-on.

If the Confluence UI doesn't render, then you can try removing the add-on from the database as explained in How to Manually Remove Malfunctioning Add-ons. Please note that the --disable-addons startup option will not work in this case.

Resolution

To resolve this issue, please reach out to the add-on vendor and request a new license key

Updated on April 2, 2025

Still need help?

The Atlassian Community is here for you.