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

Accepted Answer
0 votes

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 votes
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
Community showcase
Posted yesterday in Featured Groups

Tuesday tips & tricks: What is the Atlassian Community?

It's officially Tuesday, which means it's officially time for another tip to help you better navigate this space we call the Atlassian Community. 😄 I got a great question from community member, Sa...

49 views 2 4
View post

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