JIRA Charts are causing NoClassDefFoundError FontManager
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
Powered by Confluence and Scroll Viewport.