Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sun.awt.FontConfiguration OpenJDK 报错问题 (OracleJDK正常) #3

Open
bininc opened this issue Apr 6, 2020 · 0 comments
Open

sun.awt.FontConfiguration OpenJDK 报错问题 (OracleJDK正常) #3

bininc opened this issue Apr 6, 2020 · 0 comments

Comments

@bininc
Copy link
Owner

bininc commented Apr 6, 2020

在一次CentOS7 部署验证码网站遇到如下报错:

java.lang.NullPointerException: null
at sun.awt.FontConfiguration.getVersion(FontConfiguration.java:1264) ~[na:1.8.0_232]
Suppressed: reactor.core.publisher.FluxOnAssembly$OnAssemblyException:

经过大量爬贴后发现解决问题的办法:
1、安装fontconfig - yum install fontconfig
2、执行 fc-cache --force 命令
3、重启JAVA进程

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant