Bamboo Database (PostgreSQL) setup wizard errors - No fonts found
Symptoms
Bamboo shows the following error when trying to set up Bamboo to use a PostgreSQL database:
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.
Last modified on Jul 6, 2013
Powered by Confluence and Scroll Viewport.