-
Notifications
You must be signed in to change notification settings - Fork 107
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
NPE in sun.awt.FontConfiguration.getVersion(...) #326
Comments
Can try |
That was also one of the suggested methods and didn't turn out any good. Same errors! |
The output from |
Do you have a simple reproducer for this? In the past it has always worked with fontconfig and ttf-dejavu installed, the reproducers we've used previously are working as expected for me on the current amazoncorretto:11-alpine-jdk images. |
Any update on this? My system configuration is: I have added the following dependencies: |
Describe the bug
Hello.
When using the
org.apache.poi.hssf.usermodel.HSSFWorkbook
lib to generate a stylized CSV in a private project the following stack trace error frequently occurs, but only when running in a Linux Environment through a Docker Container that uses an Alpine JDK.The stack trace above happens when using the
autoSizeColumn()
function from theSheet
class that was generated by thecreateSheet()
function from theHSSFWorkbook
class from the packageorg.apache.poi.hssf.usermodel.HSSFWorkbook
while running in a Docker container that usesamazoncorretto:11-alpine-jdk
as the image for Java, using the Spring Boot Framework.After digging through many GitHub issues I stumbled upon an AdoptOpenJDK GitHub issue that mentioned this and it had some suggested fixes.
The final definitive workaround suggested there was to add this to the Dockerfile:
But it didn't work for
amazoncorretto:11-alpine-jdk
. The same stack error trace occurred. So I'm posting this GitHub issue to get further help, or enlighten a bug that might exist.Here's a reference to the original GitHub issue that provided the suggested above workaround that ended up not working:
#AdoptOpenJDK/openjdk-docker#75
The text was updated successfully, but these errors were encountered: