Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Caused by: com.oracle.svm.core.jdk.UnsupportedFeatureError: Code that was considered unreachable by closed-world analysis was
reached
at java.lang.Throwable.<init>(Throwable.java:265)
at java.lang.Error.<init>(Error.java:70)
at com.oracle.svm.core.jdk.UnsupportedFeatureError.<init>(UnsupportedFeatureError.java:31)
at com.oracle.svm.core.jdk.Target_com_oracle_svm_core_util_VMError.unsupportedFeature(VMErrorSubstitutions.java:109)
at com.oracle.svm.core.snippets.SnippetRuntime.unreachedCode(SnippetRuntime.java:199)
at scala.collection.mutable.ResizableArray.swap$(ResizableArray.scala:111)
at scala.collection.mutable.PriorityQueue$ResizableArrayAccess.p_swap(PriorityQueue.scala:66)
at scala.collection.mutable.PriorityQueue.fixUp(PriorityQueue.scala:87)
at scala.collection.mutable.PriorityQueue.$anonfun$heapify$2(PriorityQueue.scala:150)
at scala.collection.mutable.PriorityQueue.scala$collection$mutable$PriorityQueue$$heapify(PriorityQueue.scala:150)
at scala.collection.mutable.PriorityQueue.$plus$plus$eq(PriorityQueue.scala:127)
at scala.collection.mutable.PriorityQueue.enqueue(PriorityQueue.scala:196)
at org.scalafmt.internal.BestFirstSearch.$anonfun$shortestPath$4(BestFirstSearch.scala:260)
at org.scalafmt.internal.BestFirstSearch.$anonfun$shortestPath$4$adapted(BestFirstSearch.scala:231)
at org.scalafmt.internal.BestFirstSearch$$Lambda$870/1525506625.apply(Unknown Source)
at scala.collection.immutable.List.foreach(List.scala:389)
at org.scalafmt.internal.BestFirstSearch.shortestPath(BestFirstSearch.scala:231)
at org.scalafmt.internal.BestFirstSearch.getBestPath(BestFirstSearch.scala:271)
at org.scalafmt.Scalafmt$.format(Scalafmt.scala:56)
at org.scalafmt.cli.Cli$.unsafeHandleFile(Cli.scala:140)
at org.scalafmt.cli.Cli$.handleFile(Cli.scala:124)
at org.scalafmt.cli.Cli$.$anonfun$run$1(Cli.scala:205)
at org.scalafmt.cli.Cli$.$anonfun$run$1$adapted(Cli.scala:202)
at org.scalafmt.cli.Cli$$$Lambda$536/436569435.apply(Unknown Source)
at scala.collection.Iterator.foreach(Iterator.scala:944)
at scala.collection.Iterator.foreach$(Iterator.scala:944)
at scala.collection.AbstractIterator.foreach(Iterator.scala:1432)
at scala.collection.parallel.ParIterableLike$Foreach.leaf(ParIterableLike.scala:970)
at scala.collection.parallel.Task.$anonfun$tryLeaf$1(Tasks.scala:49)
at scala.collection.parallel.Task$$Lambda$1755/1956652817.apply$mcV$sp(Unknown Source)
at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:12)
at scala.util.control.Breaks$$anon$1.catchBreak(Breaks.scala:63)
at scala.collection.parallel.Task.tryLeaf(Tasks.scala:52)
at scala.collection.parallel.Task.tryLeaf$(Tasks.scala:46)
at scala.collection.parallel.ParIterableLike$Foreach.tryLeaf(ParIterableLike.scala:967)
at scala.collection.parallel.AdaptiveWorkStealingTasks$WrappedTask.compute(Tasks.scala:149)
at scala.collection.parallel.AdaptiveWorkStealingTasks$WrappedTask.compute$(Tasks.scala:145)
at scala.collection.parallel.AdaptiveWorkStealingForkJoinTasks$WrappedTask.compute(Tasks.scala:436)
at java.util.concurrent.RecursiveAction.exec(RecursiveAction.java:189)
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)
at com.oracle.svm.core.posix.thread.PosixJavaThreads.pthreadStartRoutine(PosixJavaThreads.java:238)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment