java.lang.NullPointerException when trying to view source
Symptoms
The following appears in the 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)
Cause
OpenJDK is used.
Resolution
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.
Last modified on Nov 2, 2018
Powered by Confluence and Scroll Viewport.