java.lang.NullPointerException when trying to view source

お困りですか?

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

コミュニティに質問

症状

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.

最終更新日 2018 年 11 月 2 日

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

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