Bamboo Database (PostgreSQL) setup wizard errors - No fonts found

Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Symptoms

Bamboo shows the following error when trying to set up Bamboo to use a PostgreSQL database:

1 2 3 4 5 6 7 8 9 10 11 2012-02-06 20:38:06,636 ERROR [performSetupDatabaseConnectionBackgroundThread] [ContextLoader] Context initialization failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'imageCaptchaService' defined in class path resource [applicationContextCaptcha.xml]: Cannot resolve reference to bean 'captchaEngine' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'captchaEngine' defined in class path resource [applicationContextCaptcha.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.octo.captcha.engine.image.gimpy.DefaultGimpyEngine]: Constructor threw exception; nested exception is java.lang.Error: Probable fatal error:No fonts found. Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'captchaEngine' defined in class path resource [applicationContextCaptcha.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.octo.captcha.engine.image.gimpy.DefaultGimpyEngine]: Constructor threw exception; nested exception is java.lang.Error: Probable fatal error:No fonts found. Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.octo.captcha.engine.image.gimpy.DefaultGimpyEngine]: Constructor threw exception; nested exception is java.lang.Error: Probable fatal error:No fonts found. Caused by: java.lang.Error: Probable fatal error:No fonts found. at sun.font.FontManager.getDefaultPhysicalFont(FontManager.java:1087) at sun.font.FontManager.initialiseDeferredFont(FontManager.java:959) at sun.font.FontManager.findOtherDeferredFont(FontManager.java:898) at sun.font.FontManager.findDeferredFont(FontManager.java:915) at sun.font.FontManager.findFont2D(FontManager.java:1903) ...

Cause

Missing fonts might be the cause of this DB setup error. Please note that the fonts should be missing from the Operating System, so this is not really a DB problem, but the error refers to the DB.

Resolution

Install the liberation fonts on the operating system and everything should start working.

Updated on April 8, 2025

Still need help?

The Atlassian Community is here for you.