After upgrading Jira Windows environment to 8.20, I get Health Check Exception java.lang.NoClassDefFoundError: Could not initialize class sun.awt.Win32FontManager

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

After upgrading Jira on Windows Server environment to 8.20.x using the embedded JRE, I get Health Check Exception java.lang.NoClassDefFoundError: Could not initialize class sun.awt.Win32FontManager

Environment

8.20.x

Windows Server

Embedded Jira JRE

Diagnosis

In the "atlassian-jira.log" you will see this error:

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 2021-11-02 08:38:55,265-0400 HealthCheckWatchdog:thread-4 WARN ServiceRunner [c.a.t.healthcheck.concurrent.SupportHealthCheckTask] Unable to complete execution of health check Fonts due to an exception java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: Could not initialize class sun.awt.Win32FontManager at java.base/java.util.concurrent.FutureTask.report(Unknown Source) at java.base/java.util.concurrent.FutureTask.get(Unknown Source) at com.atlassian.troubleshooting.healthcheck.concurrent.SupportHealthCheckTask.getFutureWithTimeout(SupportHealthCheckTask.java:97) at com.atlassian.troubleshooting.healthcheck.concurrent.SupportHealthCheckTask.lambda$runAsync$0(SupportHealthCheckTask.java:77) at java.base/java.util.concurrent.FutureTask.run(Unknown Source) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.base/java.lang.Thread.run(Unknown Source) Caused by: java.lang.NoClassDefFoundError: Could not initialize class sun.awt.Win32FontManager at java.base/java.lang.Class.forName0(Native Method) at java.base/java.lang.Class.forName(Unknown Source) at java.desktop/sun.font.FontManagerFactory$1.run(Unknown Source) at java.base/java.security.AccessController.doPrivileged(Native Method) at java.desktop/sun.font.FontManagerFactory.getInstance(Unknown Source) at com.atlassian.troubleshooting.healthcheck.checks.FontHealthCheck.check(FontHealthCheck.java:31) at com.atlassian.troubleshooting.healthcheck.impl.PluginSuppliedSupportHealthCheck.check(PluginSuppliedSupportHealthCheck.java:55)

Cause

An "Incompatible" plugin can cause this behavior.

It's known that the third-party plugin called "SQL+JQL" can cause this error, but not the only one.

Solution

Remove any incompatible plugins from the system.

Updated on March 14, 2025

Still need help?

The Atlassian Community is here for you.