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/24 17:26:47 UTC

[GitHub] [camel-quarkus] ffang opened a new issue #3333: [JDK17]spring integration tests failed in native mode

ffang opened a new issue #3333:
URL: https://github.com/apache/camel-quarkus/issues/3333


   ```
   Fatal error:com.oracle.graal.pointsto.util.AnalysisError$ParsingError: Error encountered while parsing com.oracle.svm.core.reflect.ReflectionAccessorHolder.Class_isSealed_4f8b772797d13171d08a8fc5b5d5e4db7dcbc8d8(boolean, java.lang.Object, java.lang.Object[]) 
   Parsing context: <no parsing context available> 
   
   	at com.oracle.graal.pointsto.util.AnalysisError.parsingError(AnalysisError.java:133)
   	at com.oracle.graal.pointsto.flow.MethodTypeFlow.createTypeFlow(MethodTypeFlow.java:311)
   	at com.oracle.graal.pointsto.flow.MethodTypeFlow.ensureTypeFlowCreated(MethodTypeFlow.java:282)
   	at com.oracle.graal.pointsto.flow.MethodTypeFlow.addContext(MethodTypeFlow.java:103)
   	at com.oracle.graal.pointsto.PointsToAnalysis$1.run(PointsToAnalysis.java:463)
   	at com.oracle.graal.pointsto.util.CompletionExecutor.executeCommand(CompletionExecutor.java:188)
   	at com.oracle.graal.pointsto.util.CompletionExecutor.lambda$executeService$0(CompletionExecutor.java:172)
   	at java.base/java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(ForkJoinTask.java:1395)
   	at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)
   	at java.base/java.util.concurrent.ForkJoinPool.externalHelpQuiescePool(ForkJoinPool.java:2104)
   	at java.base/java.util.concurrent.ForkJoinPool.awaitQuiescence(ForkJoinPool.java:3321)
   	at com.oracle.graal.pointsto.util.CompletionExecutor.complete(CompletionExecutor.java:238)
   	at com.oracle.graal.pointsto.PointsToAnalysis.checkObjectGraph(PointsToAnalysis.java:680)
   	at com.oracle.graal.pointsto.PointsToAnalysis.finish(PointsToAnalysis.java:644)
   	at com.oracle.svm.hosted.NativeImageGenerator.runPointsToAnalysis(NativeImageGenerator.java:704)
   	at com.oracle.svm.hosted.NativeImageGenerator.doRun(NativeImageGenerator.java:529)
   	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)
   	at com.oracle.svm.hosted.NativeImageGeneratorRunner.main(NativeImageGeneratorRunner.java:122)
   	at com.oracle.svm.hosted.NativeImageGeneratorRunner$JDK9Plus.main(NativeImageGeneratorRunner.java:599)
   Caused by: com.oracle.svm.hosted.substitute.DeletedElementException: Unsupported method java.lang.Class.isSealed() is reachable: The declaring class of this element has been substituted, but this element is not present in the substitution class
   To diagnose the issue, you can add the option --report-unsupported-elements-at-runtime. The unsupported element is then reported at run time when it is accessed the first time.
   	at com.oracle.svm.hosted.substitute.AnnotationSubstitutionProcessor.lookup(AnnotationSubstitutionProcessor.java:188)
   	at com.oracle.graal.pointsto.infrastructure.SubstitutionProcessor$ChainedSubstitutionProcessor.lookup(SubstitutionProcessor.java:140)
   	at com.oracle.graal.pointsto.infrastructure.SubstitutionProcessor$ChainedSubstitutionProcessor.lookup(SubstitutionProcessor.java:140)
   	at com.oracle.graal.pointsto.meta.AnalysisUniverse.lookupAllowUnresolved(AnalysisUniverse.java:414)
   	at com.oracle.graal.pointsto.meta.AnalysisUniverse.lookup(AnalysisUniverse.java:394)
   	at com.oracle.graal.pointsto.meta.AnalysisUniverse.lookup(AnalysisUniverse.java:71)
   	at com.oracle.graal.pointsto.infrastructure.UniverseMetaAccess.lookupJavaMethod(UniverseMetaAccess.java:93)
   	at com.oracle.graal.pointsto.meta.AnalysisMetaAccess.lookupJavaMethod(AnalysisMetaAccess.java:66)
   	at com.oracle.graal.pointsto.meta.AnalysisMetaAccess.lookupJavaMethod(AnalysisMetaAccess.java:39)
   	at com.oracle.svm.reflect.hosted.ReflectiveInvokeMethod.buildGraph(ReflectiveInvokeMethod.java:93)
   	at com.oracle.graal.pointsto.meta.AnalysisMethod.buildGraph(AnalysisMethod.java:349)
   	at com.oracle.graal.pointsto.flow.AnalysisParsedGraph.parseBytecode(AnalysisParsedGraph.java:99)
   	at com.oracle.graal.pointsto.meta.AnalysisMethod.ensureGraphParsed(AnalysisMethod.java:621)
   	at com.oracle.graal.pointsto.flow.MethodTypeFlowBuilder.parse(MethodTypeFlowBuilder.java:163)
   	at com.oracle.graal.pointsto.flow.MethodTypeFlowBuilder.apply(MethodTypeFlowBuilder.java:321)
   	at com.oracle.graal.pointsto.flow.MethodTypeFlow.createTypeFlow(MethodTypeFlow.java:293)
   	... 19 more
   [camel-quarkus-integration-test-spring-rabbitmq-2.5.0-SNAPSHOT-runner:26425]      [total]:  18,533.79 ms,  2.73 GB
   # Printing build artifacts to: /Users/ffang/projects/camel-quarkus-new/integration-tests/spring-rabbitmq/target/camel-quarkus-integration-test-spring-rabbitmq-2.5.0-SNAPSHOT-native-image-source-jar/camel-quarkus-integration-test-spring-rabbitmq-2.5.0-SNAPSHOT-runner.build_artifacts.txt
   Error: Image build request failed with exit status 1
   ```


-- 
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] ffang commented on issue #3333: [JDK17]spring integration tests failed in native mode

Posted by GitBox <gi...@apache.org>.
ffang commented on issue #3333:
URL: https://github.com/apache/camel-quarkus/issues/3333#issuecomment-978083960


   affected tests
   
   - spring-rabbitmq
   
   And this is caused by a known graalvm issue
   https://github.com/oracle/graal/issues/3870


-- 
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