[
https://issues.apache.org/jira/browse/MARVIN-57?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated MARVIN-57:
---------------------------------
Labels: pull-request-available (was: )
> sbt version is too old to open at Intellij
> ------------------------------------------
>
> Key: MARVIN-57
> URL: https://issues.apache.org/jira/browse/MARVIN-57
> Project: Apache Marvin
> Issue Type: Improvement
> Reporter: Jimin Hsieh
> Priority: Minor
> Labels: pull-request-available
>
> At the current version (0.13.9) of sbt, Intellij will fail to open
> `engine-executor`.
> Here is the log:
> {code:java}
> Error while importing sbt project:
> [info] Loading global plugins from /Users/jimin/.sbt/0.13/plugins
> java.lang.NoSuchMethodError:
> sbt.Keys$.compatibilityWarningOptions()Lsbt/SettingKey;
> at
> sbt.dependencygraph.DependencyGraphSbtCompat$.updateTask(DependencyGraphSbtCompat.scala:63)
> at
> net.virtualvoid.sbt.graph.DependencyGraphSettings$.baseSettings(DependencyGraphSettings.scala:41)
> at
> net.virtualvoid.sbt.graph.DependencyGraphSettings$.graphSettings(DependencyGraphSettings.scala:36)
> at
> net.virtualvoid.sbt.graph.DependencyGraphPlugin$.projectSettings(DependencyGraphPlugin.scala:25)
> at sbt.Load$$anonfun$autoPluginSettings$1$1.apply(Load.scala:666)
> at sbt.Load$$anonfun$autoPluginSettings$1$1.apply(Load.scala:666)
> at
> scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
> at
> scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
> at scala.collection.immutable.List.foreach(List.scala:318)
> at scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:251)
> at scala.collection.AbstractTraversable.flatMap(Traversable.scala:105)
> at sbt.Load$.autoPluginSettings$1(Load.scala:666)
> at sbt.Load$.sbt$Load$$expandSettings$1(Load.scala:681)
> at sbt.Load$$anonfun$sbt$Load$$expandSettings$1$2.apply(Load.scala:682)
> at sbt.Load$$anonfun$sbt$Load$$expandSettings$1$2.apply(Load.scala:682)
> at
> scala.collection.IndexedSeqOptimized$class.foldl(IndexedSeqOptimized.scala:51)
> at
> scala.collection.IndexedSeqOptimized$class.foldLeft(IndexedSeqOptimized.scala:60)
> at scala.collection.mutable.WrappedArray.foldLeft(WrappedArray.scala:34)
> at
> scala.collection.TraversableOnce$class.$div$colon(TraversableOnce.scala:138)
> at scala.collection.AbstractTraversable.$div$colon(Traversable.scala:105)
> at sbt.Load$.sbt$Load$$expandSettings$1(Load.scala:682)
> at sbt.Load$.resolveProject(Load.scala:684)
> at sbt.Load$.finalizeProject$1(Load.scala:549)
> at sbt.Load$.loadTransitive(Load.scala:590)
> at sbt.Load$.loadProjects$1(Load.scala:442)
> at sbt.Load$.loadUnit(Load.scala:446)
> at sbt.Load$$anonfun$18$$anonfun$apply$11.apply(Load.scala:281)
> at sbt.Load$$anonfun$18$$anonfun$apply$11.apply(Load.scala:281)
> at
> sbt.BuildLoader$$anonfun$componentLoader$1$$anonfun$apply$4$$anonfun$apply$5$$anonfun$apply$6.apply(BuildLoader.scala:91)
> at
> sbt.BuildLoader$$anonfun$componentLoader$1$$anonfun$apply$4$$anonfun$apply$5$$anonfun$apply$6.apply(BuildLoader.scala:90)
> at sbt.BuildLoader.apply(BuildLoader.scala:140)
> at sbt.Load$.loadAll(Load.scala:334)
> at sbt.Load$.loadURI(Load.scala:289)
> at sbt.Load$.load(Load.scala:285)
> at sbt.Load$.load(Load.scala:276)
> at sbt.Load$.apply(Load.scala:130)
> at sbt.Load$.buildPluginDefinition(Load.scala:821)
> at sbt.Load$.buildPlugins(Load.scala:787)
> at sbt.Load$.plugins(Load.scala:775)
> at sbt.Load$.loadUnit(Load.scala:431)
> at sbt.Load$$anonfun$18$$anonfun$apply$11.apply(Load.scala:281)
> at sbt.Load$$anonfun$18$$anonfun$apply$11.apply(Load.scala:281)
> at
> sbt.BuildLoader$$anonfun$componentLoader$1$$anonfun$apply$4$$anonfun$apply$5$$anonfun$apply$6.apply(BuildLoader.scala:91)
> at
> sbt.BuildLoader$$anonfun$componentLoader$1$$anonfun$apply$4$$anonfun$apply$5$$anonfun$apply$6.apply(BuildLoader.scala:90)
> at sbt.BuildLoader.apply(BuildLoader.scala:140)
> at sbt.Load$.loadAll(Load.scala:334)
> at sbt.Load$.loadURI(Load.scala:289)
> at sbt.Load$.load(Load.scala:285)
> at sbt.Load$.load(Load.scala:276)
> at sbt.Load$.apply(Load.scala:130)
> at sbt.Load$.defaultLoad(Load.scala:36)
> at sbt.BuiltinCommands$.doLoadProject(Main.scala:481)
> at sbt.BuiltinCommands$$anonfun$loadProjectImpl$2.apply(Main.scala:475)
> at sbt.BuiltinCommands$$anonfun$loadProjectImpl$2.apply(Main.scala:475)
> at sbt.Command$$anonfun$applyEffect$1$$anonfun$apply$2.apply(Command.scala:59)
> at sbt.Command$$anonfun$applyEffect$1$$anonfun$apply$2.apply(Command.scala:59)
> at sbt.Command$$anonfun$applyEffect$2$$anonfun$apply$3.apply(Command.scala:61)
> at sbt.Command$$anonfun$applyEffect$2$$anonfun$apply$3.apply(Command.scala:61)
> at sbt.Command$.process(Command.scala:93)
> at sbt.MainLoop$$anonfun$1$$anonfun$apply$1.apply(MainLoop.scala:98)
> at sbt.MainLoop$$anonfun$1$$anonfun$apply$1.apply(MainLoop.scala:98)
> at sbt.State$$anon$1.process(State.scala:184)
> at sbt.MainLoop$$anonfun$1.apply(MainLoop.scala:98)
> at sbt.MainLoop$$anonfun$1.apply(MainLoop.scala:98)
> at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:17)
> at sbt.MainLoop$.next(MainLoop.scala:98)
> at sbt.MainLoop$.run(MainLoop.scala:91)
> at sbt.MainLoop$$anonfun$runWithNewLog$1.apply(MainLoop.scala:70)
> at sbt.MainLoop$$anonfun$runWithNewLog$1.apply(MainLoop.scala:65)
> at sbt.Using.apply(Using.scala:24)
> at sbt.MainLoop$.runWithNewLog(MainLoop.scala:65)
> at sbt.MainLoop$.runAndClearLast(MainLoop.scala:48)
> at sbt.MainLoop$.runLoggedLoop(MainLoop.scala:32)
> at sbt.MainLoop$.runLogged(MainLoop.scala:24)
> at sbt.StandardMain$.runManaged(Main.scala:53)
> at sbt.xMain.run(Main.scala:28)
> at xsbt.boot.Launch$$anonfun$run$1.apply(Launch.scala:109)
> at xsbt.boot.Launch$.withContextLoader(Launch.scala:128)
> at xsbt.boot.Launch$.run(Launch.scala:109)
> at xsbt.boot.Launch$$anonfun$apply$1.apply(Launch.scala:35)
> at xsbt.boot.Launch$.launch(Launch.scala:117)
> at xsbt.boot.Launch$.apply(Launch.scala:18)
> at xsbt.boot.Boot$.runImpl(Boot.scala:56)
> at xsbt.boot.Boot$.main(Boot.scala:18)
> at xsbt.boot.Boot.main(Boot.scala)
> [error] java.lang.NoSuchMethodError:
> sbt.Keys$.compatibilityWarningOptions()Lsbt/SettingKey;
> [error] Use 'last' for the full log.
> Invalid response.
> {code}
> After I bumped the version to 0.13.18, it worked without any issue. However,
> I suggest we move to 1.2.8. There are two reasons. First, 0.13.18 is the
> final version of 0.13.x. Second, 1.x.x has better performance than 0.13.x.
> Anyway, I can help the migration of sbt to latest version
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)