Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

The Battle is Won, the Dragon is Slain

Bruno Costa Atlassian Team May 14, 2019

I completed the Windows quest with a victory and as per the instructions I am now trumpeting my success here in the Community 😊

However my victory was not complete (or perfect): My Bamboo Plan Summary Chart gadget doesn't work on JIRA as I always get "An internal server occurred(...)" error. I tried troubleshooting but could only find solutions that applied to Linux environments and even though I tried to adapt them to mine, I failed.
So I can understand if I don't get a full t-shirt 🙂

Screen Shot 2019-05-14 at 16.32.28.png

That't it...



Hi @Bruno Costa ,


can you share some logs?

Bruno Costa Atlassian Team May 15, 2019

Hi @Jakub Sławiński 

I reproduced the problem (adding the gadget again) to get a specific time-frame for the error. With that I found this in the atlassian-bamboo.log:

2019-05-14 14:28:27,496 ERROR [http-nio-8085-exec-2] [ThrowableExceptionMapper] Uncaught exception thrown by REST service: Could not initialize class org.jfree.chart.axis.NumberAxis java.lang.NoClassDefFoundError: Could not initialize class org.jfree.chart.axis.NumberAxis at org.jfree.chart.ChartFactory.createXYBarChart(

I could not find other errors in JIRA or catalina logs at around the same time. I admit that I didn't search on all log files for messages at around this time.


That error lead me to solved BUG BAM-3573 that mentions setting the LD_LIBRARY_PATH EV but by the looks of the value this seems to affect Linux platform so didn’t push further on this. I tried however this other solution found via Google  even though this again applied to Linux ( file). I tried adding the option -Djava.awt.headless=true into catalina.bat in the <bamboo>\bin dir and restart Bamboo but still got error even though a different one (so the change in catalina.bat made some impact):

2019-05-14 16:19:07,055 ERROR [http-nio-8085-exec-7] [ThrowableExceptionMapper] Uncaught exception thrown by REST service: C:\Program Files\AdoptOpenJDK\jdk-\jre\bin\awt.dll: Can't find dependent libraries java.lang.UnsatisfiedLinkError: C:\Program Files\AdoptOpenJDK\jdk-\jre\bin\awt.dll: Can't find dependent libraries


I wonder if the error is due to having used AdoptOpenJDK 1.8 and not the OracleJDK 1.8 as mentioned in the pre-requisites of the Dragon Slayer. However I installed the AdopOpenJDK due to change in licensing from Oracle and AdoptOpen is the one bundled with Atlassian products...

Hi @Bruno Costa ,


can you install AdoptOpenJDK in a directory without whitespaces?


Do you have the same issue when using OracleJDK, or you didn't try that?

Like Bruno Costa likes this
Bruno Costa Atlassian Team May 15, 2019

@Jakub Sławiński

Thank you for the suggestion. I uninstalled AdoptOpenJDK and installed it again specifying a new path without spaces (C:\Applications\AdoptOpenJDK).
I checked that JAVA_HOME EV was updated correctly (had selected that option during JDK installation) but then Bamboo service started failing with the error:
The Atlassian Bamboo Bamboo service terminated with service-specific error Incorrect function

I found a couple of Community questions with same error, tried other fixes found online but to no avail.

I didn't try OracleJDK due to their new licensing and not wanting create account using my company's mail.

Hi @Bruno Costa ,


can you confirm that you you have the same Java exe in your PATH and JAVA_HOME?


I found that as a root cause described in

Like Bruno Costa likes this
Bruno Costa Atlassian Team May 16, 2019

Thanks for the tip @Jakub Sławiński .

I have the same JDK, although the EVs are not exactly the same as the JAVA_HOME points to the install directory, in my case is now "C:\Applications\AdoptOpenJDK" and in the PATH the value is set to the "bin" subdir, in my case "C:\Applications\AdoptOpenJDK\bin".

I would like to fix this setup, and have JIRA, Confluence, Bitbucket and Bamboo all working fine in my Windows test machine but I don't think I can spend much more time on it now.

Today I setup Jira with Adopt OpenJDK 8.0.222 and jira won't start with a similar error.

java.lang.UnsatisfiedLinkError: C:\Program Fieles\AdoptOpenJDK\<version>\jre\bin\awt.dll Can't find dependent libraries...

After a bit of investigation I fixed it by downgrading the Adopt OpenJDK to 8.0.202. The hint comes from a Confluence related KB article:

LarryBrock Community Leader May 15, 2019

Congratulations and great work @Bruno Costa - "doing it the hard way" should get you bonus swag!!!

Like Bruno Costa likes this


Log in or Sign up to comment