konevts / apache-poi-quarkus

1 stars 2 forks source link

Docker and Apache POI #2

Open konevts opened 4 years ago

konevts commented 4 years ago

Hi, I tried to working with Apache POI in my project since Quarkus 1.1.1, and have no ability to generate excel file even with generated reflect-config. But now, when I updated my project to Quarkus 1.3.1 and start using GraalVM 20.0.0, Apache POI successfully generated excel file.

After it, I found that one of my function is not working, it is resizing all columns to fit the content size. It uses class from AWT: sun.awt.X11FontManager

So this git project was created to reproduce it. All you need to do is uncomment in ExcelService.class lines 56-58 and make a native build. Then go to http://localhost:8080/swagger-ui/ and call /excel/report

emmanuelbernard commented 4 years ago

I think it would makes sense to report that issue to GraalVM to see if they have plans to fix it.