Created
August 28, 2017 12:55
-
-
Save ragnard/94e5838c860e80ec97b00dff95510395 to your computer and use it in GitHub Desktop.
ImageSingletons do not contain key com.oracle.svm.graal.GraalSupport
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ~/projects/graalvm/graalvm-0.27/bin/native-image -cp com.github.ragnard.shentruffle.klambda/target/classes:com.github.ragnard.shentruffle.shen/target/classes com.github.ragnard.shentruffle.KLambda | |
classlist: 1,761.15 ms | |
(cap): 960.01 ms | |
setup: 1,509.68 ms | |
analysis: 2,407.04 ms | |
fatal error: org.graalvm.compiler.java.BytecodeParser$BytecodeParserError: com.oracle.svm.core.util.UserError$UserException: ImageSingletons do not contain key com.oracle.svm.graal.GraalSupport | |
at parsing com.oracle.svm.graal.GraalSupport.get(GraalSupport.java:235) | |
at org.graalvm.compiler.java.BytecodeParser.asParserError(BytecodeParser.java:2157) | |
at org.graalvm.compiler.java.BytecodeParser.iterateBytecodesForBlock(BytecodeParser.java:2840) | |
at org.graalvm.compiler.java.BytecodeParser.processBlock(BytecodeParser.java:2659) | |
at org.graalvm.compiler.java.BytecodeParser.build(BytecodeParser.java:828) | |
at org.graalvm.compiler.java.BytecodeParser.buildRootMethod(BytecodeParser.java:724) | |
at org.graalvm.compiler.java.GraphBuilderPhase$Instance.run(GraphBuilderPhase.java:93) | |
at org.graalvm.compiler.phases.Phase.run(Phase.java:47) | |
at org.graalvm.compiler.phases.BasePhase.apply(BasePhase.java:195) | |
at org.graalvm.compiler.phases.Phase.apply(Phase.java:40) | |
at org.graalvm.compiler.phases.Phase.apply(Phase.java:36) | |
at com.oracle.graal.pointsto.flow.MethodTypeFlowBuilder.parse(MethodTypeFlowBuilder.java:162) | |
at com.oracle.graal.pointsto.flow.MethodTypeFlowBuilder.apply(MethodTypeFlowBuilder.java:281) | |
at com.oracle.graal.pointsto.flow.MethodTypeFlow.doParse(MethodTypeFlow.java:293) | |
at com.oracle.graal.pointsto.flow.MethodTypeFlow.ensureParsed(MethodTypeFlow.java:284) | |
at com.oracle.graal.pointsto.flow.MethodTypeFlow.addContext(MethodTypeFlow.java:65) | |
at com.oracle.graal.pointsto.flow.StaticInvokeTypeFlow.update(InvokeTypeFlow.java:314) | |
at com.oracle.graal.pointsto.BigBang$2.run(BigBang.java:469) | |
at com.oracle.graal.pointsto.util.CompletionExecutor.lambda$execute$0(CompletionExecutor.java:154) | |
at java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(ForkJoinTask.java:1402) | |
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.svm.core.util.UserError$UserException: ImageSingletons do not contain key com.oracle.svm.graal.GraalSupport | |
at com.oracle.svm.core.util.UserError.abort(UserError.java:45) | |
at com.oracle.svm.hosted.ImageSingletonsSupportImpl$HostedManagement.doLookup(ImageSingletonsSupportImpl.java:89) | |
at com.oracle.svm.hosted.ImageSingletonsSupportImpl.lookup(ImageSingletonsSupportImpl.java:27) | |
at org.graalvm.nativeimage.ImageSingletons.lookup(ImageSingletons.java:63) | |
at com.oracle.svm.hosted.snippets.SubstrateGraphBuilderPlugins$37.apply(SubstrateGraphBuilderPlugins.java:654) | |
at org.graalvm.compiler.nodes.graphbuilderconf.InvocationPlugin.execute(InvocationPlugin.java:196) | |
at org.graalvm.compiler.java.BytecodeParser.tryInvocationPlugin(BytecodeParser.java:1931) | |
at com.oracle.svm.hosted.phases.AnalysisGraphBuilderPhase$AnalysisBytecodeParser.tryInvocationPlugin(AnalysisGraphBuilderPhase.java:48) | |
at org.graalvm.compiler.java.BytecodeParser.appendInvoke(BytecodeParser.java:1498) | |
at org.graalvm.compiler.java.BytecodeParser.genInvokeStatic(BytecodeParser.java:1325) | |
at org.graalvm.compiler.java.BytecodeParser.processBytecode(BytecodeParser.java:4329) | |
at org.graalvm.compiler.java.BytecodeParser.iterateBytecodesForBlock(BytecodeParser.java:2835) | |
... 21 more | |
Error: Image building with exist status 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment