Could not initialize class sun.awt.X11FontManager on charts

You are running release CR2.9.2 FE2.9.2 (20121210041242 2012-12-10), please report your release number when reporting bugs.

I am getting a

Could not initialize class sun.awt.X11FontManagererror

on all charts which is causing them not to render.

4 answers

1 accepted

So, it appears that one of the causes of this could have been not having dejavu font installed. However, in my case this was not true. I did have it installed. After fiddling with it for an hour or so I ended up completely uninstalling OpenJDK from my CentOS box along with uninstalling the JDK I had downloaded from Sun and reinstalling from the rpm.

Charts now render correctly.

I am having the same problem and JDK reinstall is not helping. I have CentOS

Satya,

Be sure not to just reinstall the JDK from yum. You'll want to complete uninstall OpenJDK from yum and then manually download the JDK from Sun and install via RPM.

Edit

I just saw your comment below: Have you confirmed that you have the dajavu font installed?

I am not using open JDK and am using Oracle current JDK 1.7 and am still getting the same error. Please advice

Error
Internal Server Error
Error 2
A java.lang.NoClassDefFoundError was encountered

Could not initialize class sun.awt.X11FontManager
You are running release FE2.9.2 (20121210041242 2012-12-10), please report your release number when reporting bugs.
Daniel Rohan Atlassian Team Jan 02, 2013

Hello Satya,

Please open a support ticket at support.atlassian.com for further investigation.

Thank you

0 vote
Daniel Rohan Atlassian Team Jan 02, 2013

Hello LogicBomb Media,

I'm glad you were able to get it working. Per our supported platforms we don't currently test with OpenJDK and highly recommend using one of Oracle's current distributions.

Thank you

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Thursday in Off-topic

Friday Fun: Magic Eyes

...staring into the background. Once the image pops out in 3D, you can look around the picture and enjoy. If you will see if you are a true illusion master! :) You did it? :) Wow! Awesome! As a bonus...

420 views 79 11
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you