lburgazzoli commented on issue #358: Fix #136 @ConfigProperty and @Inject do 
not work in RouteBuilders
URL: https://github.com/apache/camel-quarkus/pull/358#issuecomment-552638855
 
 
   ```
   [INFO] [io.quarkus.deployment.pkg.steps.NativeImageBuildStep] docker run -v 
/home/jenkins/jenkins-slave/workspace/camel-quarkus-pr/integration-tests/core/test/target/camel-quarkus-integration-test-core-0.3.2-SNAPSHOT-native-image-source-jar:/project:z
 --user 910:910 --rm quay.io/quarkus/ubi-quarkus-native-image:19.2.1 
-J-Dsun.nio.ch.maxUpdateArraySize=100 
-J-Djava.util.logging.manager=org.jboss.logmanager.LogManager 
-J-Dvertx.logger-delegate-factory-class-name=io.quarkus.vertx.core.runtime.VertxLogDelegateFactory
 -J-Dvertx.disableDnsResolver=true -J-Dio.netty.leakDetection.level=DISABLED 
-J-Dio.netty.allocator.maxOrder=1 --initialize-at-build-time= 
-H:InitialCollectionPolicy=com.oracle.svm.core.genscavenge.CollectionPolicy$BySpaceAndTime
 -jar camel-quarkus-integration-test-core-0.3.2-SNAPSHOT-runner.jar 
-J-Djava.util.concurrent.ForkJoinPool.common.parallelism=1 
-H:FallbackThreshold=0 -H:+ReportExceptionStackTraces -H:-AddAllCharsets 
-H:EnableURLProtocols=http -H:-JNI --no-server -H:-UseServiceLoaderFeature 
-H:+StackTrace camel-quarkus-integration-test-core-0.3.2-SNAPSHOT-runner
   [camel-quarkus-integration-test-core-0.3.2-SNAPSHOT-runner:40]    classlist: 
  9,590.29 ms
   [camel-quarkus-integration-test-core-0.3.2-SNAPSHOT-runner:40]        (cap): 
  1,994.93 ms
   [camel-quarkus-integration-test-core-0.3.2-SNAPSHOT-runner:40]        setup: 
  4,862.12 ms
   21:20:20,130 INFO  [org.jbo.threads] JBoss Threads version 3.0.0.Final
   [camel-quarkus-integration-test-core-0.3.2-SNAPSHOT-runner:40]     analysis: 
 12,192.52 ms
   Error: Class initialization of io.quarkus.runner.ApplicationImpl failed. Use 
the option --initialize-at-run-time=io.quarkus.runner.ApplicationImpl to 
explicitly request delayed initialization of this class.
   Detailed message:
   
   com.oracle.svm.core.util.UserError$UserException: Class initialization of 
io.quarkus.runner.ApplicationImpl failed. Use the option 
--initialize-at-run-time=io.quarkus.runner.ApplicationImpl to explicitly 
request delayed initialization of this class.
   Detailed message:
   
        at com.oracle.svm.core.util.UserError.abort(UserError.java:75)
        at 
com.oracle.svm.hosted.FallbackFeature.reportAsFallback(FallbackFeature.java:223)
        at 
com.oracle.svm.hosted.NativeImageGenerator.runPointsToAnalysis(NativeImageGenerator.java:737)
        at 
com.oracle.svm.hosted.NativeImageGenerator.doRun(NativeImageGenerator.java:526)
        at 
com.oracle.svm.hosted.NativeImageGenerator.lambda$run$0(NativeImageGenerator.java:444)
        at 
java.util.concurrent.ForkJoinTask$AdaptedRunnableAction.exec(ForkJoinTask.java:1386)
        at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
        at 
java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
        at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)
        at 
java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)
   Caused by: 
com.oracle.graal.pointsto.constraints.UnsupportedFeatureException: Class 
initialization of io.quarkus.runner.ApplicationImpl failed. Use the option 
--initialize-at-run-time=io.quarkus.runner.ApplicationImpl to explicitly 
request delayed initialization of this class.
   Detailed message:
   
        at 
com.oracle.graal.pointsto.constraints.UnsupportedFeatures.report(UnsupportedFeatures.java:130)
        at com.oracle.graal.pointsto.BigBang.finish(BigBang.java:565)
        at 
com.oracle.svm.hosted.NativeImageGenerator.runPointsToAnalysis(NativeImageGenerator.java:688)
        ... 7 more
   Caused by: java.lang.ExceptionInInitializerError
        at sun.misc.Unsafe.ensureClassInitialized(Native Method)
        at 
com.oracle.svm.hosted.classinitialization.ConfigurableClassInitialization.ensureClassInitialized(ConfigurableClassInitialization.java:153)
        at 
com.oracle.svm.hosted.classinitialization.ConfigurableClassInitialization.computeInitKindAndMaybeInitializeClass(ConfigurableClassInitialization.java:557)
        at 
com.oracle.svm.hosted.classinitialization.ConfigurableClassInitialization.computeInitKindAndMaybeInitializeClass(ConfigurableClassInitialization.java:116)
        at 
com.oracle.svm.hosted.classinitialization.ConfigurableClassInitialization.maybeInitializeHosted(ConfigurableClassInitialization.java:144)
        at com.oracle.svm.hosted.SVMHost.registerType(SVMHost.java:190)
        at 
com.oracle.graal.pointsto.meta.AnalysisUniverse.createType(AnalysisUniverse.java:262)
        at 
com.oracle.graal.pointsto.meta.AnalysisUniverse.lookupAllowUnresolved(AnalysisUniverse.java:203)
        at 
com.oracle.graal.pointsto.infrastructure.WrappedConstantPool.lookupType(WrappedConstantPool.java:155)
        at 
org.graalvm.compiler.java.BytecodeParser.lookupType(BytecodeParser.java:4080)
        at 
org.graalvm.compiler.java.BytecodeParser.genNewInstance(BytecodeParser.java:4330)
        at 
org.graalvm.compiler.java.BytecodeParser.processBytecode(BytecodeParser.java:5128)
        at 
org.graalvm.compiler.java.BytecodeParser.iterateBytecodesForBlock(BytecodeParser.java:3267)
        at 
org.graalvm.compiler.java.BytecodeParser.processBlock(BytecodeParser.java:3074)
        at 
org.graalvm.compiler.java.BytecodeParser.build(BytecodeParser.java:976)
        at 
org.graalvm.compiler.java.BytecodeParser.buildRootMethod(BytecodeParser.java:870)
        at 
org.graalvm.compiler.java.GraphBuilderPhase$Instance.run(GraphBuilderPhase.java:84)
        at org.graalvm.compiler.phases.Phase.run(Phase.java:49)
        at org.graalvm.compiler.phases.BasePhase.apply(BasePhase.java:197)
        at org.graalvm.compiler.phases.Phase.apply(Phase.java:42)
        at org.graalvm.compiler.phases.Phase.apply(Phase.java:38)
        at 
com.oracle.graal.pointsto.flow.MethodTypeFlowBuilder.parse(MethodTypeFlowBuilder.java:221)
        at 
com.oracle.graal.pointsto.flow.MethodTypeFlowBuilder.apply(MethodTypeFlowBuilder.java:340)
        at 
com.oracle.graal.pointsto.flow.MethodTypeFlow.doParse(MethodTypeFlow.java:310)
        at 
com.oracle.graal.pointsto.flow.MethodTypeFlow.ensureParsed(MethodTypeFlow.java:300)
        at 
com.oracle.graal.pointsto.flow.MethodTypeFlow.addContext(MethodTypeFlow.java:107)
        at 
com.oracle.graal.pointsto.flow.StaticInvokeTypeFlow.update(InvokeTypeFlow.java:346)
        at com.oracle.graal.pointsto.BigBang$2.run(BigBang.java:510)
        at 
com.oracle.graal.pointsto.util.CompletionExecutor.lambda$execute$0(CompletionExecutor.java:171)
        at 
java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(ForkJoinTask.java:1402)
        ... 4 more
   Caused by: java.lang.RuntimeException: Failed to start quarkus
        at io.quarkus.runner.ApplicationImpl.<clinit>(ApplicationImpl.zig:366)
        ... 34 more
   Caused by: java.lang.ClassNotFoundException: 
io.quarkus.deployment.recording.BytecodeRecorderImpl$$ClassProxy152
        at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:348)
        at 
io.quarkus.deployment.steps.Core$registry54.deploy_0(Core$registry54.zig:477)
        at 
io.quarkus.deployment.steps.Core$registry54.deploy(Core$registry54.zig:36)
        at io.quarkus.runner.ApplicationImpl.<clinit>(ApplicationImpl.zig:320)
        ... 34 more
   Error: Image build request failed with exit status 
   ```

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to