You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by lb...@apache.org on 2019/11/26 14:04:20 UTC
[camel-quarkus] 03/05: temporary disable camel-quarkus-pdf native
tests as it fails to build the native image
This is an automated email from the ASF dual-hosted git repository.
lburgazzoli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git
commit 3d74e8853d2a0a3a0d77c8a3c260c08a2de79d91
Author: lburgazzoli <lb...@gmail.com>
AuthorDate: Mon Nov 25 15:17:55 2019 +0100
temporary disable camel-quarkus-pdf native tests as it fails to build the native image
---
integration-tests/pdf/pom.xml | 31 +++++++++++++++++++++++++++++--
1 file changed, 29 insertions(+), 2 deletions(-)
diff --git a/integration-tests/pdf/pom.xml b/integration-tests/pdf/pom.xml
index 74290b1..60d94ac 100644
--- a/integration-tests/pdf/pom.xml
+++ b/integration-tests/pdf/pom.xml
@@ -64,10 +64,37 @@
</build>
<profiles>
<profile>
- <id>native</id>
+ <!--
+ TODO: fix and re-enable native tests
+
+ Error: Detected a FileDescriptor in the image heap. File descriptors opened during image generation are no longer
+ open at image run time, and the files might not even be present anymore at image run time. To see how this object
+ got instantiated use -H:+TraceClassInitialization. The object was probably created by a class initializer and is
+ reachable from a static field. You can request class initialization at image run time by using the option
+ \-\-initialize-at-build-time=<class-name>. Or you can write your own initialization methods and call them explicitly
+ from your main entry point.
+
+ Detailed message:
+ Trace:
+ object org.apache.fontbox.ttf.BufferedRandomAccessFile
+ object org.apache.fontbox.ttf.RAFDataStream
+ object org.apache.fontbox.ttf.TrueTypeFont
+ object org.apache.pdfbox.pdmodel.font.PDType1Font
+ method org.apache.camel.component.pdf.PdfConfiguration.<init>()
+ Call path from entry point to org.apache.camel.component.pdf.PdfConfiguration.<init>():
+ at org.apache.camel.component.pdf.PdfConfiguration.<init>(PdfConfiguration.java:43)
+ at org.apache.camel.component.pdf.PdfComponent.createEndpoint(PdfComponent.java:34)
+ at org.apache.camel.support.DefaultComponent.createEndpoint(DefaultComponent.java:240)
+ at org.apache.camel.impl.engine.AbstractCamelContext.getEndpoint(AbstractCamelContext.java:786)
+ at org.apache.camel.impl.engine.DefaultProducerTemplate.resolveMandatoryEndpoint(DefaultProducerTemplate.java:550)
+ at org.apache.camel.impl.engine.DefaultProducerTemplate.send(DefaultProducerTemplate.java:130)
+ at org.apache.camel.processor.aggregate.AggregateProcessor$RecoverTask.run(AggregateProcessor.java:1339)
+ ...
+ -->
+ <id>native-pdf</id>
<activation>
<property>
- <name>native</name>
+ <name>native-pdf</name>
</property>
</activation>
<build>