kubesphere / kubesphere/s2i-java-container

运行Java程序导致异常,缺少fontconfig

Open
#70 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
15
Forks
34
PR merge metrics
No merged PRs in 30d

Description

```
java.lang.NullPointerException
at sun.awt.FontConfiguration.getVersion(FontConfiguration.java:1264)
```
问题是不知道怎么把这个fontconfig加入到镜像中
https://blog.csdn.net/zhangjunli/article/details/109031265

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the shown FontConfiguration NullPointerException while running a Java program in the S2I builder image, then inspect how the image installs system packages. Confirm the required fontconfig dependency is present in a rebuilt image and that the same Java program no longer raises this exception.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, java
Domain
build-system, devops
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.