java.lang.NoSuchMethodError: shapeless.DataT$.genTraversableDataT(Lshapeless/Lazy;Lscala/collection/generic/CanBuildFrom;)Lshapeless/DataT;

GitHub | mdedetrich | 9 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Ensime-server crashing due to shapeless issue

    GitHub | 9 months ago | mdedetrich
    java.lang.NoSuchMethodError: shapeless.DataT$.genTraversableDataT(Lshapeless/Lazy;Lscala/collection/generic/CanBuildFrom;)Lshapeless/DataT;

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      shapeless.DataT$.genTraversableDataT(Lshapeless/Lazy;Lscala/collection/generic/CanBuildFrom;)Lshapeless/DataT;

      at org.ensime.config.EnsimeConfigProtocol$anon$default$macro$337$1.inst$macro$320$lzycompute()
    2. ensime
      EnsimeConfigProtocol$anon$default$macro$337$1$$anonfun$inst$macro$319$1.apply
      1. org.ensime.config.EnsimeConfigProtocol$anon$default$macro$337$1.inst$macro$320$lzycompute(EnsimeConfigProtocol.scala:61)
      2. org.ensime.config.EnsimeConfigProtocol$anon$default$macro$337$1.inst$macro$320(EnsimeConfigProtocol.scala:61)
      3. org.ensime.config.EnsimeConfigProtocol$anon$default$macro$337$1$$anonfun$inst$macro$319$1.apply(EnsimeConfigProtocol.scala:61)
      4. org.ensime.config.EnsimeConfigProtocol$anon$default$macro$337$1$$anonfun$inst$macro$319$1.apply(EnsimeConfigProtocol.scala:61)
      4 frames
    3. shapeless-core
      PolyDefns$Case.apply
      1. shapeless.Lazy$$anon$1.value$lzycompute(lazy.scala:121)
      2. shapeless.Lazy$$anon$1.value(lazy.scala:121)
      3. shapeless.EverywhereAux$$anonfun$default$2.apply(sybclass.scala:184)
      4. shapeless.Cases$Case1$$anon$1$$anonfun$1.apply(cases.scala:40)
      5. shapeless.Cases$Case1$$anon$1$$anonfun$1.apply(cases.scala:38)
      6. shapeless.PolyDefns$Case.apply(poly.scala:37)
      7. shapeless.DataT$$anon$12.gmapT(sybclass.scala:144)
      8. shapeless.DataT$$anon$12.gmapT(sybclass.scala:142)
      9. shapeless.DataT$$anon$12.gmapT(sybclass.scala:144)
      10. shapeless.DataT$$anon$12.gmapT(sybclass.scala:142)
      11. shapeless.DataT1$$anon$9.gmapT(sybclass.scala:116)
      12. shapeless.EverywhereAux$$anonfun$default$2.apply(sybclass.scala:184)
      13. shapeless.Cases$Case1$$anon$1$$anonfun$1.apply(cases.scala:40)
      14. shapeless.Cases$Case1$$anon$1$$anonfun$1.apply(cases.scala:38)
      15. shapeless.PolyDefns$Case.apply(poly.scala:39)
      15 frames
    4. ensime
      EnsimeConfigProtocol$$anonfun$3.apply
      1. org.ensime.core.Canonised$.apply(Canon.scala:19)
      2. org.ensime.config.EnsimeConfigProtocol$.validated(EnsimeConfigProtocol.scala:61)
      3. org.ensime.config.EnsimeConfigProtocol$$anonfun$3.apply(EnsimeConfigProtocol.scala:44)
      4. org.ensime.config.EnsimeConfigProtocol$$anonfun$3.apply(EnsimeConfigProtocol.scala:44)
      4 frames
    5. Scala
      List.map
      1. scala.collection.immutable.List.map(List.scala:273)
      1 frame
    6. ensime
      Server.main
      1. org.ensime.config.EnsimeConfigProtocol$.validated(EnsimeConfigProtocol.scala:44)
      2. org.ensime.config.EnsimeConfigProtocol$.parse(EnsimeConfigProtocol.scala:32)
      3. org.ensime.server.Server$.main(Server.scala:120)
      4. org.ensime.server.Server.main(Server.scala)
      4 frames