You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2021/11/04 09:13:21 UTC
[GitHub] [camel-quarkus] vladimirfx commented on issue #3226: GraalVM 21.2.0 + Java 16 - Native build fails
vladimirfx commented on issue #3226:
URL: https://github.com/apache/camel-quarkus/issues/3226#issuecomment-960576552
Quarkus 2.4.1.Final + GraalVM 21.3.0-java17:
```log
21.3-java17: Pulling from quarkus/ubi-quarkus-native-image
Digest: sha256:05a26d427591c5c614f55b12ec55b6b54b0134b198d226a277d761fb7e1a6d6f
Status: Image is up to date for quay.io/quarkus/ubi-quarkus-native-image:21.3-java17
quay.io/quarkus/ubi-quarkus-native-image:21.3-java17
[partner-scoring-service-1.5.0-SNAPSHOT-runner:27] classlist: 5 182,59 ms, 0,94 GB
[partner-scoring-service-1.5.0-SNAPSHOT-runner:27] setup: 839,03 ms, 0,94 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:73)
at com.oracle.svm.core.util.UserError.guarantee(UserError.java:101)
at com.oracle.svm.hosted.substitute.AnnotationSubstitutionProcessor.findOriginalField(AnnotationSubstitutionProcessor.java:788)
at com.oracle.svm.hosted.substitute.AnnotationSubstitutionProcessor.handleFieldInAliasClass(AnnotationSubstitutionProcessor.java:442)
at com.oracle.svm.hosted.substitute.AnnotationSubstitutionProcessor.handleAliasClass(AnnotationSubstitutionProcessor.java:346)
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:912)
at com.oracle.svm.hosted.NativeImageGenerator.setupNativeImage(NativeImageGenerator.java:839)
at com.oracle.svm.hosted.NativeImageGenerator.doRun(NativeImageGenerator.java:527)
at com.oracle.svm.hosted.NativeImageGenerator.run(NativeImageGenerator.java:488)
at com.oracle.svm.hosted.NativeImageGeneratorRunner.buildImage(NativeImageGeneratorRunner.java:403)
at com.oracle.svm.hosted.NativeImageGeneratorRunner.build(NativeImageGeneratorRunner.java:569)
[partner-scoring-service-1.5.0-SNAPSHOT-runner:27] [total]: 6 120,29 ms, 0,94 GB
at com.oracle.svm.hosted.NativeImageGeneratorRunner.main(NativeImageGeneratorRunner.java:122)
at com.oracle.svm.hosted.NativeImageGeneratorRunner$JDK9Plus.main(NativeImageGeneratorRunner.java:599)
# Printing build artifacts to: /project/partner-scoring-service-1.5.0-SNAPSHOT-runner.build_artifacts.txt
Error: Image build request failed with exit status 1
Failed to copy native image from container volume back to the host.
Failed to remove volume: quarkus-native-builder-image-project-volume
```
Should I file a new issue?
--
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