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

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問


プラットフォームについて: Server および Data Center のみ。この記事は、Server および Data Center プラットフォームのアトラシアン製品にのみ適用されます。

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.

*Fisheye および Crucible は除く

要約

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

環境

8.20.x

Windows Server

Embedded Jira JRE

診断

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

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)


原因

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.

ソリューション

Remove any incompatible plugins from the system.

最終更新日 2021 年 11 月 3 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.