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

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

症状

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)
    ...

原因

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.

ソリューション

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

 

 

最終更新日 2013 年 7 月 6 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.