技术文章 - CS418234
在 Linux 服务器上安装 Codebeamer 或“查看摘要报告”时出现错误消息“Fontconfig head is null, check your fonts or fonts configuration”
已修改: 17-Apr-2025
适用于
- Codebeamer 2.1
- Windchill PDMLink 13.0
- CentOS
- Red Hat
说明
- 检查查看摘要报告持续加载且无法打开:
Uncaught VirtualMachineError on thread: "Thread-15"; Aborting method server java.lang.InternalError: java.lang.reflect.InvocationTargetException at java.desktop/sun.font.FontManagerFactory$1.run(FontManagerFactory.java:87) at java.base/java.security.AccessController.doPrivileged(AccessController.java:318) at java.desktop/sun.font.FontManagerFactory.getInstance(FontManagerFactory.java:75) Caused by: java.lang.RuntimeException: Fontconfig head is null, check your fonts or fonts configuration at java.desktop/sun.awt.FontConfiguration.getVersion(FontConfiguration.java:1271) at java.desktop/sun.awt.FontConfiguration.readFontConfigFile(FontConfiguration.java:224)- 在 Linux 服务器(CentOS)上安装Codebeamer时,最后一步配置失败,出现以下错误
Request to '/cb/installer/restart.spr' has failed. Check log files for details as Request #xxx.
- 如果刷新页面,则会跳转到登录页面,但管理员用户无法登录成功。
- Codebeamer主页的底线没有显示Codebeamer版本和数据库版本。
- 主要在<CB>/tomcat/logs/cb.txt中报告了如下错误
Caused by: java.lang.RuntimeException: Fontconfig head is null, check your fonts or fonts configuration at sun.awt.FontConfiguration.getVersion(FontConfiguration.java:1269) ~ [?:?] at sun.awt.FontConfiguration.readFontConfigFile(FontConfiguration.java:224) ~[?:?] at sun.awt.FontConfiguration.init(FontConfiguration.java:106) ~ [?:?] ....
这是文章 418234 的 PDF 版本,可能已过期。最新版本 CS418234