-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Quarkus AWT with Native Build Failure #4769
Comments
I believe this is a Quarkus issue. Could you take a look at this please, @zakkak? |
@galderz can you please have a look as both me and karm are on vacation the coming week(s)? Thanks |
@galderz |
@dilipdhankecha2530 I'd suggest opening an issue in quarkusio/quarkus and adding a reproducer. It would also help to understand if this new code, or there has a particular change/upgrade that has caused this issue. |
It was debated over there: quarkusio/quarkus#26682 I will take a look at what exactly it does. Quarkus AWT Extension enables a specific set of features related to image formats, Java2D image generation and fonts (rendering, manipulation). If PDFBOX does something beyond that, it might need its own extension. |
@Karm |
@dilipdhankecha2530 O.K., I have a such app too now. I'll take a look at java.awt.image.DirectColorModel and see now. |
@dilipdhankecha2530 The good news is that I made PDFBox to work with Quarkus in Native. The bad news is that there is a lot of delayed runtime init etc. No substitutions necessary though, so I will turn it into a Quick start style of an example and you can use it. |
Hello @dilipdhankecha2530 , @galderz quarkusio/quarkus-quickstarts#1154 I think this issue can be closed. |
@Karm in https://github.com/quarkusio/quarkus-quickstarts/pull/1154/files#diff-be7a5914fc45d58d8c9a03bdfbd58bc4de47bf332b55270db7408340dfba17afR4-R18 I see that you are marking a number of classes to be initialized at runtime. Would it make sense to do this in quarkus-awt instead? |
@zakkak It would not. These are specific for this particular third party library of Apache PDFBox. If more changes are required, an Apache PDFBox extension might be warranted. So far, for this particular plain PDF -> PNG conversion, the Quickstart is fine. |
I think @zakkak is pointing out an important detail @Karm. Quarkus is meant to help users reduce the need for extra configuration, but this is not something that should be discussed here really. See my comment in quarkusio/quarkus-quickstarts#1154 (comment) |
Describe the issue
When we are using
quarkus-awt
with native build then it gives us the failure response.We are use
APCHE-PDFBOX
with aws lambda and while use this we got some error like,So as per the suggestion we are added
quarkus-awt
and we got the above error as i mentioned.Describe GraalVM and your environment:
Currently i am using below Graalvm with jdk.
The text was updated successfully, but these errors were encountered: