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

--- Comment #14 from kai.vanna...@rwth-aachen.de ---
Posting my workaround from Github:

I had the same problem. I went through the stacktrace. In the SheetUtil.java
getDefaultCharWidth is called. In case of an internal error as reported by OP
you can handle that error when the system property
"org.apache.poi.ss.ignoreMissingFontSystem" is set to true. It will return a
default char width then instead of rethrowing the error.

So you either set this property to true in your environment or you might add a
configuration to your spring application as following:

@configuration
public class FontConfiguration {

@PostConstruct
public void setProperty() {
    System.setProperty("org.apache.poi.ss.ignoreMissingFontSystem", "true");
}
}

-- 
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