Email notifications are not sent correctly

Still need help?

The Atlassian Community is here for you.

Ask the community


Sending a test email from the UI (Bamboo Administration - > Communication - > Mail Server) works correctly and emails are received immediately. Also, testing email notification from the command line worked fine (Ex.: $ echo test | mail -s "Testing" However, plan notifications are not working correctly and no emails are received upon failure or success of a build or other types of notification events. Following two errors show up in the logs:

2014-05-20 10:04:52,028 ERROR [AtlassianEvent::0-BAM::EVENTS:pool-3-thread-11] [SystemAuthorityThreadFactory] Uncaught exception in thread AtlassianEvent::0-BAM::EVENTS:pool-3-thread-11
java.lang.NoClassDefFoundError: Could not initialize class java.awt.Toolkit
	at java.awt.Color.<clinit>(
	at cz.vutbr.web.csskit.TermColorImpl.<init>(
	at cz.vutbr.web.csskit.TermColorImpl.getColorByHash(
2014-05-19 10:06:21,999 ERROR [AtlassianEvent::0-BAM::EVENTS:pool-3-thread-249] [SystemAuthorityThreadFactory] Uncaught exception in thread AtlassianEvent::0-BAM::EVENTS:pool-3-thread-249
java.lang.NoClassDefFoundError: Could not initialize class cz.vutbr.web.csskit.antlr.CSSLexer
	at cz.vutbr.web.csskit.antlr.CSSParserFactory.feedLexer(
	at cz.vutbr.web.csskit.antlr.CSSParserFactory.createParser(
	at cz.vutbr.web.csskit.antlr.CSSParserFactory.parse(


  1. Following the guidelines in this document: Configuring your system properties, stop Bamboo completely and start it with "-Djava.awt.headless=true".
  2. Upgrade Java to the latest available version (Compatible with the running Bamboo version: Supported platforms) and edit JAVA_HOME to look into the new jdk directory. A re-start is necessary to make the changes effective.
  3. Try installing the libxtst6 library, in case it's missing:

    sudo apt-get install libxtst6

    You can run a command similar to the following command to check the existence of the library:

    ldd /home/mytestone/opt/linux/oraclejdk/jdk1.7.0/jre/amd64/xawt/
Last modified on May 23, 2014

Was this helpful?

Provide feedback about this article
Powered by Confluence and Scroll Viewport.