JIRA Charts are causing NoClassDefFoundError FontManager

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

The following appears in the atlassian-jira.log:

Stack Trace:
java.lang.NoClassDefFoundError: sun.font.FontManager (initialization failure)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:134)
at sun.java2d.SunGraphicsEnvironment.addDirFonts(SunGraphicsEnvironment.java:766)
at sun.java2d.SunGraphicsEnvironment.registerFontsInDir(SunGraphicsEnvironment.java:646)
at sun.java2d.SunGraphicsEnvironment.access$200(SunGraphicsEnvironment.java:87)
at sun.java2d.SunGraphicsEnvironment$1.run(SunGraphicsEnvironment.java:207)

Cause

The Java environment may not have the needed libraries for the charts.

Resolution

Run JIRA in headless mode:

-Djava.awt.headless=true

 

If the above does not help, try installing the package:

yum install libstdc++.so.5
Last modified on Apr 7, 2016

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.