FishEye : You are running release FE3.0.2 (20130702014905 2013-07-02), please report your release number when reporting bugs.
When I click on a piece of source code, in FishEye I get:
Community moderators have prevented the ability to post new answers.
Hello, sorry for digging up this old thread; it was the top result for the problem we've apparently had for a long, long time. Somewhere around December 2013, this problem started popping up for us.
Our set-up:
We would consistently get the following stack traces:
java.lang.NullPointerException at sun.awt.X11FontManager.getDefaultPlatformFont(X11FontManager.java:779) at sun.font.SunFontManager$2.run(SunFontManager.java:432)
followed by these log entries:
javax.servlet.forward.request_uri: /plugins/servlet/confluence/placeholder/macro javax.servlet.forward.context_path: javax.servlet.forward.servlet_path: /plugins/servlet javax.servlet.forward.path_info: /500page.jsp
Symptoms: couldn't get any macro to render inside the editor, no matter what. Adding macro's to a page would result in the editor locking up, being unable to click the save button (or anything else, for that matter).
Solution: On Arch, installed the ttf-dejavu package. This has no immediate dependency on X itself, just the font manager. Don't panic. :)
On CentOS, verify the installed fonts on your system by running 'fc-list'. You can install 'dejavu-fonts' or 'dejavu-sans-fonts'.
Restart Confluence, test it.
Thanks for your answer. Unfortunately, the ability to install the fonts is not an option at this time as I am a regular user on the box running fisheye and java from my home directory. If there is a way to make the fonts accessible as a non- priv user I'm open to suggestions. Most of our boxes do not have X installed which I assume is part of the problem and installing X is not an option.
v/r
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi there,
Also you can install the font package:
yum install dejavu-sans-fonts
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Craig,
This problem is usually related to your Java installation. Looks like some Java fonts are missing.
I'm not sure if that's your case, but please note that OpenJDK is not a supported Java version:
https://confluence.atlassian.com/display/FISHEYE/Supported+platforms
Could you please check that your "Java 7" is an Oracle JDK instead of OpenJDK in server side?
Running "java -version" should show you what exactly is the Java installation.
Also, this KB article may be useful:
https://confluence.atlassian.com/display/FISHKB/Missing+JAVA+fonts
I hope it helps!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi. I am running Oracle Java 1.7
java version "1.7.0_25"
Java(TM) SE Runtime Environment (build 1.7.0_25-b15)
Java HotSpot(TM) Client VM (build 23.25-b01, mixed mode) i
Installed in my home dir (not a system wide install from file: jre-7u25-linux-i586.gz that I downloaded today from Oracle. JAVA_HOME and path to java bin are set.
Headless option is set to true in fisheye start script.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Community moderators have prevented the ability to post new answers.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.