You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error:Unsupported features in 2 methods
Detailedmessage:
Error: com.oracle.graal.pointsto.constraints.UnsupportedFeatureException:InvokewithMethodHandle argument could not be reduced to at most a single call or single field access. The method handle must be a compile time constant, e.g., be loaded from a `static final` field. Method that contains the method handle invocation: java.lang.invoke.MethodHandle.invokeBasic()
To diagnose the issue, you can add the option --report-unsupported-elements-at-runtime. The error is then reported at run time when the invoke is executed.
Trace:
at parsing java.lang.invoke.LambdaForm$MH/1971838936.invoke_MT(LambdaForm$MH)
Call path from entry point to java.lang.invoke.LambdaForm$MH/1971838936.invoke_MT(Object, Object):
at java.lang.invoke.LambdaForm$MH/1971838936.invoke_MT(LambdaForm$MH)
at scala.collection.immutable.VM.releaseFence(VM.java:25)
at scala.collection.immutable.HashSet$HashSetBuilder.result(HashSet.scala:1283)
at scala.collection.immutable.HashSet$HashSetBuilder.result(HashSet.scala:1192)
at scala.collection.TraversableLike.defaultPlusPlus$1(TraversableLike.scala:153)
at scala.collection.TraversableLike.$plus$plus(TraversableLike.scala:160)
at scala.collection.TraversableLike.$plus$plus$(TraversableLike.scala:147)
at scala.collection.mutable.ArrayOps$ofByte.$plus$plus(ArrayOps.scala:210)
at sbt.internal.util.Terminal$LinePrintStream.println(Terminal.scala:388)
at com.oracle.svm.jni.functions.JNIFunctions.ExceptionDescribe(JNIFunctions.java:759)
at com.oracle.svm.core.code.IsolateEnterStub.JNIFunctions_ExceptionDescribe_b5412f7570bccae90b000bc37855f00408b2ad73(generated:0)
Error: com.oracle.svm.hosted.substitute.DeletedElementException:Unsupportedtypejava.lang.invoke.MemberName is reachable: All methods from java.lang.invoke should have been replaced during image building.
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.
Trace:
at parsing java.lang.invoke.MethodHandles$Lookup.findVirtual(MethodHandles.java:861)
Call path from entry point to java.lang.invoke.MethodHandles$Lookup.findVirtual(Class, String, MethodType):
no path found from entry point to target method
com.oracle.svm.core.util.UserError$UserException:Unsupported features in 2 methods
Detailedmessage:
Error: com.oracle.graal.pointsto.constraints.UnsupportedFeatureException:InvokewithMethodHandle argument could not be reduced to at most a single call or single field access. The method handle must be a compile time constant, e.g., be loaded from a `static final` field. Method that contains the method handle invocation: java.lang.invoke.MethodHandle.invokeBasic()
To diagnose the issue, you can add the option --report-unsupported-elements-at-runtime. The error is then reported at run time when the invoke is executed.
Trace:
at parsing java.lang.invoke.LambdaForm$MH/1971838936.invoke_MT(LambdaForm$MH)
Call path from entry point to java.lang.invoke.LambdaForm$MH/1971838936.invoke_MT(Object, Object):
at java.lang.invoke.LambdaForm$MH/1971838936.invoke_MT(LambdaForm$MH)
at scala.collection.immutable.VM.releaseFence(VM.java:25)
at scala.collection.immutable.HashSet$HashSetBuilder.result(HashSet.scala:1283)
at scala.collection.immutable.HashSet$HashSetBuilder.result(HashSet.scala:1192)
at scala.collection.TraversableLike.defaultPlusPlus$1(TraversableLike.scala:153)
at scala.collection.TraversableLike.$plus$plus(TraversableLike.scala:160)
at scala.collection.TraversableLike.$plus$plus$(TraversableLike.scala:147)
at scala.collection.mutable.ArrayOps$ofByte.$plus$plus(ArrayOps.scala:210)
at sbt.internal.util.Terminal$LinePrintStream.println(Terminal.scala:388)
at com.oracle.svm.jni.functions.JNIFunctions.ExceptionDescribe(JNIFunctions.java:759)
at com.oracle.svm.core.code.IsolateEnterStub.JNIFunctions_ExceptionDescribe_b5412f7570bccae90b000bc37855f00408b2ad73(generated:0)
Error: com.oracle.svm.hosted.substitute.DeletedElementException:Unsupportedtypejava.lang.invoke.MemberName is reachable: All methods from java.lang.invoke should have been replaced during image building.
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.
Trace:
at parsing java.lang.invoke.MethodHandles$Lookup.findVirtual(MethodHandles.java:861)
Call path from entry point to java.lang.invoke.MethodHandles$Lookup.findVirtual(Class, String, MethodType):
no path found from entry point to target method
at com.oracle.svm.core.util.UserError.abort(UserError.java:79)
at com.oracle.svm.hosted.FallbackFeature.reportAsFallback(FallbackFeature.java:217)
at com.oracle.svm.hosted.NativeImageGenerator.runPointsToAnalysis(NativeImageGenerator.java:753)
at com.oracle.svm.hosted.NativeImageGenerator.doRun(NativeImageGenerator.java:538)
at com.oracle.svm.hosted.NativeImageGenerator.lambda$run$0(NativeImageGenerator.java:451)
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)
Causedby: com.oracle.graal.pointsto.constraints.UnsupportedFeatureException:Unsupported features in 2 methods
Detailedmessage:
Error: com.oracle.graal.pointsto.constraints.UnsupportedFeatureException:InvokewithMethodHandle argument could not be reduced to at most a single call or single field access. The method handle must be a compile time constant, e.g., be loaded from a `static final` field. Method that contains the method handle invocation: java.lang.invoke.MethodHandle.invokeBasic()
To diagnose the issue, you can add the option --report-unsupported-elements-at-runtime. The error is then reported at run time when the invoke is executed.
Trace:
at parsing java.lang.invoke.LambdaForm$MH/1971838936.invoke_MT(LambdaForm$MH)
Call path from entry point to java.lang.invoke.LambdaForm$MH/1971838936.invoke_MT(Object, Object):
at java.lang.invoke.LambdaForm$MH/1971838936.invoke_MT(LambdaForm$MH)
at scala.collection.immutable.VM.releaseFence(VM.java:25)
at scala.collection.immutable.HashSet$HashSetBuilder.result(HashSet.scala:1283)
at scala.collection.immutable.HashSet$HashSetBuilder.result(HashSet.scala:1192)
at scala.collection.TraversableLike.defaultPlusPlus$1(TraversableLike.scala:153)
at scala.collection.TraversableLike.$plus$plus(TraversableLike.scala:160)
at scala.collection.TraversableLike.$plus$plus$(TraversableLike.scala:147)
at scala.collection.mutable.ArrayOps$ofByte.$plus$plus(ArrayOps.scala:210)
at sbt.internal.util.Terminal$LinePrintStream.println(Terminal.scala:388)
at com.oracle.svm.jni.functions.JNIFunctions.ExceptionDescribe(JNIFunctions.java:759)
at com.oracle.svm.core.code.IsolateEnterStub.JNIFunctions_ExceptionDescribe_b5412f7570bccae90b000bc37855f00408b2ad73(generated:0)
Error: com.oracle.svm.hosted.substitute.DeletedElementException:Unsupportedtypejava.lang.invoke.MemberName is reachable: All methods from java.lang.invoke should have been replaced during image building.
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.
Trace:
at parsing java.lang.invoke.MethodHandles$Lookup.findVirtual(MethodHandles.java:861)
Call path from entry point to java.lang.invoke.MethodHandles$Lookup.findVirtual(Class, String, MethodType):
no path found from entry point to target method
at com.oracle.graal.pointsto.constraints.UnsupportedFeatures.report(UnsupportedFeatures.java:129)
at com.oracle.svm.hosted.NativeImageGenerator.runPointsToAnalysis(NativeImageGenerator.java:750)
... 7 more
[error] java.lang.AssertionError: assertion failed: Exit value 1 was nonzero
[error] at scala.Predef$.assert(Predef.scala:223)
[error] at $73facb1fd904e09434f4$.$anonfun$sbtClientProj$17(build.sbt:1160)
[error] at scala.Function1.$anonfun$compose$1(Function1.scala:49)
[error] at sbt.internal.util.$tilde$greater.$anonfun$$u2219$1(TypeFunctions.scala:62)
[error] at sbt.std.Transform$$anon$4.work(Transform.scala:67)
[error] at sbt.Execute.$anonfun$submit$2(Execute.scala:281)
[error] at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:19)
[error] at sbt.Execute.work(Execute.scala:290)
[error] at sbt.Execute.$anonfun$submit$1(Execute.scala:281)
[error] at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:178)
[error] at sbt.CompletionService$$anon$2.call(CompletionService.scala:37)
[error] at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[error] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
[error] at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[error] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
[error] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
[error] at java.lang.Thread.run(Thread.java:748)
[error] (sbtClientProj / buildNativeThinClient) java.lang.AssertionError: assertion failed: Exit value 1 was nonzero
[error] Totaltime: 130 s (02:10), completed Aug15, 20204:59:50AM
expectation
it works?
The text was updated successfully, but these errors were encountered:
Yep. I do think this is pretty nasty though on the scala side because it is already often difficult to get the graalvm native images working and this is just a further barrier (fence?) to entry.
steps
https://ci.appveyor.com/project/sbt/sbt/builds/34671063/job/qveplsfqy7wyby3m
problem
expectation
it works?
The text was updated successfully, but these errors were encountered: