You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "JiriOndrusek (via GitHub)" <gi...@apache.org> on 2023/09/01 07:56:18 UTC

[GitHub] [camel-quarkus] JiriOndrusek opened a new issue, #5243: [camel-main] Pdf native faillure

JiriOndrusek opened a new issue, #5243:
URL: https://github.com/apache/camel-quarkus/issues/5243

   ### Bug description
   
   Sibce pdfbox was upgraded om 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:
   
   ```
   Error: Classes that should be initialized at run time got initialized during image building:
   2023-08-31T11:11:59.6249945Z  io.netty.buffer.UnpooledHeapByteBuf the class was requested to be initialized at run time (subtype of io.netty.buffer.AbstractReferenceCountedByteBuf). To see why io.netty.buffer.UnpooledHeapByteBuf got initialized use --trace-class-initialization=io.netty.buffer.UnpooledHeapByteBuf
   ```
   
   and
   
   ```
   Caused by: org.graalvm.compiler.java.BytecodeParser$BytecodeParserError: com.oracle.graal.pointsto.constraints.UnsupportedFeatureException: No instances of java.net.Inet4Address are allowed in the image heap as this class should be initialized at image runtime. To see how this object got instantiated use --trace-object-instantiation=java.net.Inet4Address.
   ```
   
   Once issues are fixed, native profile should be restored,


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [camel-quarkus] jamesnetherton commented on issue #5243: [camel-main] Pdf native failures

Posted by "jamesnetherton (via GitHub)" <gi...@apache.org>.
jamesnetherton commented on issue #5243:
URL: https://github.com/apache/camel-quarkus/issues/5243#issuecomment-1738687591

   I pushed a fix. It's pretty simple, `org.apache.camel.component.pdf.Standard14Fonts` got removed in Camel, so we just need to adjust the list of runtime initialized classes in the pdf deployment module.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [camel-quarkus] jamesnetherton closed issue #5243: [camel-main] Pdf native failures

Posted by "jamesnetherton (via GitHub)" <gi...@apache.org>.
jamesnetherton closed issue #5243: [camel-main] Pdf native failures
URL: https://github.com/apache/camel-quarkus/issues/5243


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org