https://bz.apache.org/bugzilla/show_bug.cgi?id=65260

fischerma...@posteo.net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |---

--- Comment #16 from fischerma...@posteo.net ---
We just ran into this problem in version 5.2.5 with Eclipse Temurin JDK (21). I
guess the problem exists:

j.l.RuntimeException: Fontconfig head is null, check your fonts or fonts
configuration
        at s.a.FontConfiguration.getVersion(Unknown Source)
        at s.a.FontConfiguration.readFontConfigFile(Unknown Source)
        at s.a.FontConfiguration.init(Unknown Source)
        at s.awt.X11FontManager.createFontConfiguration(Unknown Source)
        at s.f.SunFontManager$2.run(Unknown Source)
        at s.f.SunFontManager$2.run(Unknown Source)
        at j.s.AccessController.doPrivileged(Unknown Source)
        at s.f.SunFontManager.<init>(Unknown Source)
        at s.awt.FcFontManager.<init>(Unknown Source)
        at s.awt.X11FontManager.<init>(Unknown Source)
        at s.f.PlatformFontInfo.createFontManager(Unknown Source)
        at s.f.FontManagerFactory.getInstance(Unknown Source)
        at java.awt.Font.getFont2D(Unknown Source)
        at java.awt.Font.canDisplayUpTo(Unknown Source)
        at j.a.font.TextLayout.singleFont(Unknown Source)
        at j.a.font.TextLayout.<init>(Unknown Source)
        at o.a.p.s.u.SheetUtil.getDefaultCharWidthAsFloat(SheetUtil.java:352)
        at
o.a.p.x.s.AutoSizeColumnTracker.<init>(AutoSizeColumnTracker.java:117)
        at o.a.p.x.s.SXSSFSheet.<init>(SXSSFSheet.java:106)
        at
o.a.p.x.s.SXSSFWorkbook.createAndRegisterSXSSFSheet(SXSSFWorkbook.java:694)
        at o.a.p.x.s.SXSSFWorkbook.createSheet(SXSSFWorkbook.java:688)


The problem seems to be that the exception is just a runtime exception and
neither a UnsatisfiedLinkError, NoClassDefFoundError or InternalError. Even
setting -Dorg.apache.poi.ss.ignoreMissingFontSystem=true doesn't help here. Is
there any Workaround for this besides adding the font config?

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org

Reply via email to