java.lang.NullPointerException when trying to view source

プラットフォームについて: Data Center のみ。 - This article only applies to Atlassian apps on the Data Center プラットフォーム

この KB は Data Center バージョンの製品用に作成されています。Data Center 固有ではない機能の Data Center KB は、製品のサーバー バージョンでも動作する可能性はありますが、テストは行われていません。 Server* 製品のサポートは 2024 年 2 月 15 日に終了しました。Server 製品を実行している場合は、 アトラシアン Server サポート終了 のお知らせにアクセスして、移行オプションを確認してください。

*Fisheye および Crucible は除く

症状

atlassian-fisheye.log に次のエラーが返される。

013-04-12 07:50:31,865 ERROR [btpool0-872 ] fisheye TotalityFilter-logExceptionDetails - Exception "java.lang.NullPointerException" (javax.servlet.ServletException) while processing "/fe/commitChartDay.do" (Referer:"http://myserver:8060/browse/MyRepo/branches/Stuff-3.2/source/kjapk/kjp/taw3/filename.cpp") javax.servlet.ServletException: java.lang.NullPointerException at com.opensymphony.webwork.dispatcher.DispatcherUtils.serviceAction(DispatcherUtils.java:284) at com.opensymphony.webwork.dispatcher.ServletDispatcher.service(ServletDispatcher.java:111) [...] Caused by: java.lang.NullPointerException at sun.awt.X11FontManager.getDefaultPlatformFont(X11FontManager.java:779) at sun.font.SunFontManager$2.run(SunFontManager.java:432)

原因

OpenJDK is used.

ソリューション

Use Oracle JDK instead.According to the List of Supported Platforms: "We highly recommend that you use the Oracle JVM (or use the default Mac OS X JVM), as other implementations have not been tested."

As you switch jdk, you will also need to move (for backup purposes) the entire folder FISHEYE_INST/cache/plugins before starting Fisheye with the new JDK.

更新日時: September 25, 2025

さらにヘルプが必要ですか?

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