Bamboo Database (PostgreSQL) setup wizard errors - No fonts found
プラットフォームについて: Data Center のみ。 - This article only applies to Atlassian apps on the Data Center プラットフォーム。
この KB は Data Center バージョンの製品用に作成されています。Data Center 固有ではない機能の Data Center KB は、製品のサーバー バージョンでも動作する可能性はありますが、テストは行われていません。 Server* 製品のサポートは 2024 年 2 月 15 日に終了しました。Server 製品を実行している場合は、 アトラシアン Server サポート終了 のお知らせにアクセスして、移行オプションを確認してください。
*Fisheye および Crucible は除く
症状
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.
この内容はお役に立ちましたか?