Error while trying to "View Worfklow" on JIRA

When i try to click "View Workflow" on my project, i get this error:

The JIRA server was contacted but has returned an error response. We are unsure of the result of this operation.

  • The error that shows at atlasian.log is:
Uncaught exception thrown by REST service: Could not initialize class sun.font.SunFontManager
java.lang.NoClassDefFoundError: Could not initialize class sun.font.SunFontManager

  • This is the version of JAVA i have installed:
$java -version
java version "1.7.0_09"
Java(TM) SE Runtime Environment (build 1.7.0_09-b05)
Java HotSpot(TM) Client VM (build 23.5-b02, mixed mode)

I have setup JIRA using the Standalone client on a Ubuntu 14.04 LTS

Let me know what can i do to fix this issue.


Regards

4 answers

0 vote

Hi Martin,

This error looks similar to the one addressed by the KB article below:

Could you please check if the solution there works?

In case the problem persists, could you please provide us with your full stack trace from the error in the JIRA logs, and also with your JIRA version?

Thanks,

Danilo

Hi Danilo, i've checked the article. Where should i put the line:

-Djava.awt.headless=true

in order to run JIRA in headless mode?

Regards

Hi Martin,

You may follow the instructions on the document below:

https://confluence.atlassian.com/display/JIRA/Setting+Properties+and+Options+on+Startup

Cheers,

Danilo

Ok Danilo, i've passed that, now i get this error:

java.lang.UnsatisfiedLinkError: /usr/lib/jvm/jdk1.7.0_09/jre/lib/i386/libfontmanager.so: libgcc_s.so.1: cannot open shared object file: No such file or directory

I've tried to follow the instructions on this link:

https://confluence.atlassian.com/display/STASHKB/libgcc_s.so.1%3A+cannot+open+shared+object+file%3A+No+such+file+or+directory

But i cannot install that lib with that command:

root@DevJira~ $apt-get install libgcc_s.so.1
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package libgcc_s.so.1
E: Couldn't find any package by regex 'libgcc_s.so.1'


Hi Danilo, i've checked the article. Where should i put the line:

-Djava.awt.headless=true

in order to run JIRA in headless mode?

Regards

(attlasian.log)

This is the full log and i have installed atlassian-jira-6.2.7

Danilo, i've solved the issue, i had installed a 32bit version of Java in a 64 bit Ubuntu. I reinstalled JAVA and that fixed it. Thanks a lot for your support.

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
Published Thursday in Jira Service Desk

How the Telegram Integration for Jira helps Sergey's team take their support efficiency to the bank

...+ reading Fantasy). The same is true for him at the bank he works for: Efficiency is key when time literally equals money. Read on to learn how Sergey makes most of the time he has by...

403 views 2 4
Read article

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