llowinge opened a new issue #3226:
URL: https://github.com/apache/camel-quarkus/issues/3226
I can see following error using GraalVM 21.2.0 + JDK 16 (with JDK 11 it
works great).
```
[INFO] [io.quarkus.deployment.pkg.steps.NativeImageBuildStep] Running
Quarkus native-image plugin on GraalVM 21.2.0 Java 16 CE (Java Version
16.0.2+7-jvmci-21.2-b08)
[INFO] [io.quarkus.deployment.pkg.steps.NativeImageBuildRunner]
/Users/llowinge/.sdkman/candidates/java/21.2.0.r16-grl/bin/native-image
-J-Djava.util.logging.manager=org.jboss.logmanager.LogManager
-J-Dsun.nio.ch.maxUpdateArraySize=100
-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=3 -J-Duser.language=en -J-Duser.country=CZ
-J-Dfile.encoding=UTF-8
-H:InitialCollectionPolicy=com.oracle.svm.core.genscavenge.CollectionPolicy\$BySpaceAndTime
-H:+JNI -H:+AllowFoldMethods -H:FallbackThreshold=0
-H:+ReportExceptionStackTraces -H:-AddAllCharsets
-H:EnableURLProtocols=http,https -H:-UseServiceLoaderFeature -H:+StackTrace
-H:-ParseOnce camel-quarkus-examples-file-bindy-ftp-2.2.0-SNAPSHOT-runner -jar
camel-quarkus-examples-file-bindy-ftp-2.2.0-SNAPSHOT-runner.jar
[camel-quarkus-examples-file-bindy-ftp-2.2.0-SNAPSHOT-runner:16830]
classlist: 2,415.44 ms, 1.19 GB
[camel-quarkus-examples-file-bindy-ftp-2.2.0-SNAPSHOT-runner:16830]
setup: 1,025.59 ms, 1.19 GB
Error: could not find target field: private static
org.apache.camel.quarkus.support.common.runtime.graal.SubstituteBeansWeakCache
org.apache.camel.quarkus.support.common.runtime.graal.SubstituteBeansIntrospector.declaredMethodCache
com.oracle.svm.core.util.UserError$UserException: could not find target
field: private static
org.apache.camel.quarkus.support.common.runtime.graal.SubstituteBeansWeakCache
org.apache.camel.quarkus.support.common.runtime.graal.SubstituteBeansIntrospector.declaredMethodCache
at com.oracle.svm.core.util.UserError.abort(UserError.java:68)
at com.oracle.svm.core.util.UserError.guarantee(UserError.java:96)
at
com.oracle.svm.hosted.substitute.AnnotationSubstitutionProcessor.findOriginalField(AnnotationSubstitutionProcessor.java:780)
at
com.oracle.svm.hosted.substitute.AnnotationSubstitutionProcessor.handleFieldInAliasClass(AnnotationSubstitutionProcessor.java:440)
at
com.oracle.svm.hosted.substitute.AnnotationSubstitutionProcessor.handleAliasClass(AnnotationSubstitutionProcessor.java:344)
at
com.oracle.svm.hosted.substitute.AnnotationSubstitutionProcessor.handleClass(AnnotationSubstitutionProcessor.java:310)
at
com.oracle.svm.hosted.substitute.AnnotationSubstitutionProcessor.init(AnnotationSubstitutionProcessor.java:266)
at
com.oracle.svm.hosted.NativeImageGenerator.createDeclarativeSubstitutionProcessor(NativeImageGenerator.java:936)
at
com.oracle.svm.hosted.NativeImageGenerator.setupNativeImage(NativeImageGenerator.java:868)
at
com.oracle.svm.hosted.NativeImageGenerator.doRun(NativeImageGenerator.java:530)
at
com.oracle.svm.hosted.NativeImageGenerator.run(NativeImageGenerator.java:491)
at
com.oracle.svm.hosted.NativeImageGeneratorRunner.buildImage(NativeImageGeneratorRunner.java:380)
at
com.oracle.svm.hosted.NativeImageGeneratorRunner.build(NativeImageGeneratorRunner.java:543)
at
com.oracle.svm.hosted.NativeImageGeneratorRunner.main(NativeImageGeneratorRunner.java:119)
at
com.oracle.svm.hosted.NativeImageGeneratorRunner$JDK9Plus.main(NativeImageGeneratorRunner.java:573)
```
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]