Skip to content
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

Fop native failures due to pdfbox 3 upgrade #5244

Open
JiriOndrusek opened this issue Sep 1, 2023 · 1 comment
Open

Fop native failures due to pdfbox 3 upgrade #5244

JiriOndrusek opened this issue Sep 1, 2023 · 1 comment
Assignees
Labels

Comments

@JiriOndrusek
Copy link
Contributor

Bug description

Since pdfbox was upgraded from 2.x to 3.x in camel (https://issues.apache.org/jira/browse/CAMEL-19796), some native failures happen. The native profile is disabled until the issue is fixed.

I encountered following error:

2023-08-31T11:20:48.9327060Z Caused by: com.oracle.graal.pointsto.constraints.UnresolvedElementException: Discovered unresolved method during parsing: org.apache.fontbox.cff.CFFParser.parse(byte[]). This error is reported at image build time because class org.apache.fop.fonts.truetype.OTFFile is registered for linking at image build time by command line

and (if above one is fixed)

Error: Classes that should be initialized at run time got initialized during image building:
 java.awt.Toolkit the class was requested to be initialized at run time (from feature io.quarkus.runner.Feature.beforeAnalysis with 'java.awt'). To see why java.awt.Toolkit got initialized use --trace-class-initialization=java.awt.Toolkit
java.awt.Rectangle the class was requested to be initialized at run time (from feature io.quarkus.runner.Feature.beforeAnalysis with 'java.awt'). To see why java.awt.Rectangle got initialized use --trace-class-initialization=java.awt.Rectangle

Once issues are fixed, native profile should be restored,

@JiriOndrusek JiriOndrusek added the bug Something isn't working label Sep 1, 2023
@JiriOndrusek JiriOndrusek self-assigned this Sep 1, 2023
@jamesnetherton jamesnetherton changed the title [camel-main] Fop native failures Fop native failures due to pdfbox 3 upgrade Oct 11, 2023
@fugerit79
Copy link
Contributor

Good morning.

Any news on this issue? @JiriOndrusek @aldettinger @ppalaga?
(Sorry for desturbing, I mentioned the issue assignee and the latest committers : https://quarkus.io/extensions/org.apache.camel.quarkus/camel-quarkus-fop/?tab=community)

Would be nice to have it working again.

Thanks in advance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants