scala.MatchError: scoverage.Invoker.invoked(5, "/tmp/warttest/target/scala-2.11/scoverage-data") (of class scala.reflect.internal.Trees$Apply)

GitHub | Idorobots | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    NoNeedForMonad throws MatchError yet again

    GitHub | 8 months ago | Idorobots
    scala.MatchError: scoverage.Invoker.invoked(5, "/tmp/warttest/target/scala-2.11/scoverage-data") (of class scala.reflect.internal.Trees$Apply)

    Root Cause Analysis

    1. scala.MatchError

      scoverage.Invoker.invoked(5, "/tmp/warttest/target/scala-2.11/scoverage-data") (of class scala.reflect.internal.Trees$Apply)

      at org.wartremover.warts.NoNeedForMonad$$anonfun$asFuncTransform$1$1.apply()
    2. org.wartremover.warts
      NoNeedForMonad$$anonfun$asFuncTransform$1$1.apply
      1. org.wartremover.warts.NoNeedForMonad$$anonfun$asFuncTransform$1$1.apply(NoNeedForMonad.scala:48)
      2. org.wartremover.warts.NoNeedForMonad$$anonfun$asFuncTransform$1$1.apply(NoNeedForMonad.scala:48)
      2 frames
    3. Scala
      List.map
      1. scala.collection.immutable.List.map(List.scala:273)
      1 frame
    4. org.wartremover.warts
      NoNeedForMonad$$anonfun$4.apply
      1. org.wartremover.warts.NoNeedForMonad$.asFuncTransform$1(NoNeedForMonad.scala:48)
      2. org.wartremover.warts.NoNeedForMonad$.org$wartremover$warts$NoNeedForMonad$$processBodyArgs$1(NoNeedForMonad.scala:54)
      3. org.wartremover.warts.NoNeedForMonad$$anonfun$4.apply(NoNeedForMonad.scala:59)
      4. org.wartremover.warts.NoNeedForMonad$$anonfun$4.apply(NoNeedForMonad.scala:59)
      4 frames
    5. Scala
      List.flatMap
      1. scala.collection.immutable.List.flatMap(List.scala:327)
      1 frame
    6. org.wartremover.warts
      NoNeedForMonad$$anon$1.traverse
      1. org.wartremover.warts.NoNeedForMonad$.org$wartremover$warts$NoNeedForMonad$$processFlatMapChain$1(NoNeedForMonad.scala:59)
      2. org.wartremover.warts.NoNeedForMonad$$anon$1.traverse(NoNeedForMonad.scala:88)
      2 frames
    7. Scala
      Trees$Traverser.traverse
      1. scala.reflect.internal.Trees$class.traverseComponents$1(Trees.scala:1283)
      2. scala.reflect.internal.Trees$class.itraverse(Trees.scala:1330)
      3. scala.reflect.internal.SymbolTable.itraverse(SymbolTable.scala:16)
      4. scala.reflect.internal.SymbolTable.itraverse(SymbolTable.scala:16)
      5. scala.reflect.api.Trees$Traverser.traverse(Trees.scala:2475)
      5 frames
    8. org.wartremover.warts
      NoNeedForMonad$$anon$1.traverse
      1. org.wartremover.warts.NoNeedForMonad$$anon$1.traverse(NoNeedForMonad.scala:89)
      1 frame
    9. Scala
      Trees$Traverser.traverse
      1. scala.reflect.internal.Trees$class.traverseComponents$1(Trees.scala:1235)
      2. scala.reflect.internal.Trees$class.itraverse(Trees.scala:1330)
      3. scala.reflect.internal.SymbolTable.itraverse(SymbolTable.scala:16)
      4. scala.reflect.internal.SymbolTable.itraverse(SymbolTable.scala:16)
      5. scala.reflect.api.Trees$Traverser.traverse(Trees.scala:2475)
      5 frames
    10. org.wartremover.warts
      NoNeedForMonad$$anon$1.traverse
      1. org.wartremover.warts.NoNeedForMonad$$anon$1.traverse(NoNeedForMonad.scala:89)
      1 frame
    11. Scala
      Trees$Traverser.traverse
      1. scala.reflect.internal.Trees$$anonfun$traverseMemberDef$1$1.apply$mcV$sp(Trees.scala:1215)
      2. scala.reflect.api.Trees$Traverser.atOwner(Trees.scala:2507)
      3. scala.reflect.internal.Trees$class.traverseMemberDef$1(Trees.scala:1203)
      4. scala.reflect.internal.Trees$class.itraverse(Trees.scala:1328)
      5. scala.reflect.internal.SymbolTable.itraverse(SymbolTable.scala:16)
      6. scala.reflect.internal.SymbolTable.itraverse(SymbolTable.scala:16)
      7. scala.reflect.api.Trees$Traverser.traverse(Trees.scala:2475)
      7 frames
    12. org.wartremover.warts
      NoNeedForMonad$$anon$1.traverse
      1. org.wartremover.warts.NoNeedForMonad$$anon$1.traverse(NoNeedForMonad.scala:89)
      1 frame
    13. Scala
      Trees$Traverser.traverse
      1. scala.reflect.api.Trees$Traverser$$anonfun$traverseStats$1$$anonfun$apply$1.apply$mcV$sp(Trees.scala:2498)
      2. scala.reflect.api.Trees$Traverser.atOwner(Trees.scala:2507)
      3. scala.reflect.api.Trees$Traverser.traverseStats(Trees.scala:2497)
      4. scala.reflect.internal.Trees$class.traverseComponents$1(Trees.scala:1232)
      5. scala.reflect.internal.Trees$class.itraverse(Trees.scala:1330)
      6. scala.reflect.internal.SymbolTable.itraverse(SymbolTable.scala:16)
      7. scala.reflect.internal.SymbolTable.itraverse(SymbolTable.scala:16)
      8. scala.reflect.api.Trees$Traverser.traverse(Trees.scala:2475)
      8 frames
    14. org.wartremover.warts
      NoNeedForMonad$$anon$1.traverse
      1. org.wartremover.warts.NoNeedForMonad$$anon$1.traverse(NoNeedForMonad.scala:89)
      1 frame
    15. Scala
      Trees$Traverser.traverse
      1. scala.reflect.internal.Trees$$anonfun$traverseMemberDef$1$1.apply$mcV$sp(Trees.scala:1207)
      2. scala.reflect.api.Trees$Traverser.atOwner(Trees.scala:2507)
      3. scala.reflect.internal.Trees$class.traverseMemberDef$1(Trees.scala:1203)
      4. scala.reflect.internal.Trees$class.itraverse(Trees.scala:1328)
      5. scala.reflect.internal.SymbolTable.itraverse(SymbolTable.scala:16)
      6. scala.reflect.internal.SymbolTable.itraverse(SymbolTable.scala:16)
      7. scala.reflect.api.Trees$Traverser.traverse(Trees.scala:2475)
      7 frames
    16. org.wartremover.warts
      NoNeedForMonad$$anon$1.traverse
      1. org.wartremover.warts.NoNeedForMonad$$anon$1.traverse(NoNeedForMonad.scala:89)
      1 frame
    17. Scala
      Trees$Traverser.traverse
      1. scala.reflect.api.Trees$Traverser$$anonfun$traverseStats$1$$anonfun$apply$1.apply$mcV$sp(Trees.scala:2498)
      2. scala.reflect.api.Trees$Traverser.atOwner(Trees.scala:2507)
      3. scala.reflect.api.Trees$Traverser.traverseStats(Trees.scala:2497)
      4. scala.reflect.internal.Trees$class.itraverse(Trees.scala:1326)
      5. scala.reflect.internal.SymbolTable.itraverse(SymbolTable.scala:16)
      6. scala.reflect.internal.SymbolTable.itraverse(SymbolTable.scala:16)
      7. scala.reflect.api.Trees$Traverser.traverse(Trees.scala:2475)
      7 frames
    18. org.wartremover.warts
      NoNeedForMonad$$anon$1.traverse
      1. org.wartremover.warts.NoNeedForMonad$$anon$1.traverse(NoNeedForMonad.scala:89)
      1 frame
    19. org.wartremover
      Plugin$Traverser$$anon$1$$anonfun$go$1$1.apply
      1. org.wartremover.Plugin$Traverser$$anon$1$$anonfun$go$1$1.apply(Plugin.scala:74)
      2. org.wartremover.Plugin$Traverser$$anon$1$$anonfun$go$1$1.apply(Plugin.scala:74)
      2 frames
    20. Scala
      List.foreach
      1. scala.collection.immutable.List.foreach(List.scala:381)
      1 frame
    21. org.wartremover
      Plugin$Traverser$$anon$1.apply
      1. org.wartremover.Plugin$Traverser$$anon$1.go$1(Plugin.scala:74)
      2. org.wartremover.Plugin$Traverser$$anon$1.apply(Plugin.scala:76)
      2 frames
    22. Scala Compiler
      Global$GlobalPhase$$anonfun$run$1.apply
      1. scala.tools.nsc.Global$GlobalPhase$$anonfun$applyPhase$1.apply$mcV$sp(Global.scala:440)
      2. scala.tools.nsc.Global$GlobalPhase.withCurrentUnit(Global.scala:431)
      3. scala.tools.nsc.Global$GlobalPhase.applyPhase(Global.scala:440)
      4. scala.tools.nsc.Global$GlobalPhase$$anonfun$run$1.apply(Global.scala:398)
      5. scala.tools.nsc.Global$GlobalPhase$$anonfun$run$1.apply(Global.scala:398)
      5 frames
    23. Scala
      AbstractIterator.foreach
      1. scala.collection.Iterator$class.foreach(Iterator.scala:893)
      2. scala.collection.AbstractIterator.foreach(Iterator.scala:1336)
      2 frames
    24. Scala Compiler
      Global$Run.compile
      1. scala.tools.nsc.Global$GlobalPhase.run(Global.scala:398)
      2. scala.tools.nsc.Global$Run.compileUnitsInternal(Global.scala:1501)
      3. scala.tools.nsc.Global$Run.compileUnits(Global.scala:1486)
      4. scala.tools.nsc.Global$Run.compileSources(Global.scala:1481)
      5. scala.tools.nsc.Global$Run.compile(Global.scala:1582)
      5 frames
    25. SBT
      CompilerInterface.run
      1. xsbt.CachedCompiler0.run(CompilerInterface.scala:116)
      2. xsbt.CachedCompiler0.run(CompilerInterface.scala:95)
      3. xsbt.CompilerInterface.run(CompilerInterface.scala:26)
      3 frames
    26. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 frames
    27. SBT
      Defaults$$anonfun$compileIncrementalTask$1.apply
      1. sbt.compiler.AnalyzingCompiler.call(AnalyzingCompiler.scala:101)
      2. sbt.compiler.AnalyzingCompiler.compile(AnalyzingCompiler.scala:47)
      3. sbt.compiler.AnalyzingCompiler.compile(AnalyzingCompiler.scala:41)
      4. sbt.compiler.MixedAnalyzingCompiler$$anonfun$compileScala$1$1.apply$mcV$sp(MixedAnalyzingCompiler.scala:50)
      5. sbt.compiler.MixedAnalyzingCompiler$$anonfun$compileScala$1$1.apply(MixedAnalyzingCompiler.scala:50)
      6. sbt.compiler.MixedAnalyzingCompiler$$anonfun$compileScala$1$1.apply(MixedAnalyzingCompiler.scala:50)
      7. sbt.compiler.MixedAnalyzingCompiler.timed(MixedAnalyzingCompiler.scala:74)
      8. sbt.compiler.MixedAnalyzingCompiler.compileScala$1(MixedAnalyzingCompiler.scala:49)
      9. sbt.compiler.MixedAnalyzingCompiler.compile(MixedAnalyzingCompiler.scala:64)
      10. sbt.compiler.IC$$anonfun$compileInternal$1.apply(IncrementalCompiler.scala:160)
      11. sbt.compiler.IC$$anonfun$compileInternal$1.apply(IncrementalCompiler.scala:160)
      12. sbt.inc.IncrementalCompile$$anonfun$doCompile$1.apply(Compile.scala:66)
      13. sbt.inc.IncrementalCompile$$anonfun$doCompile$1.apply(Compile.scala:64)
      14. sbt.inc.IncrementalCommon.cycle(IncrementalCommon.scala:32)
      15. sbt.inc.Incremental$$anonfun$1.apply(Incremental.scala:72)
      16. sbt.inc.Incremental$$anonfun$1.apply(Incremental.scala:71)
      17. sbt.inc.Incremental$.manageClassfiles(Incremental.scala:99)
      18. sbt.inc.Incremental$.compile(Incremental.scala:71)
      19. sbt.inc.IncrementalCompile$.apply(Compile.scala:54)
      20. sbt.compiler.IC$.compileInternal(IncrementalCompiler.scala:160)
      21. sbt.compiler.IC$.incrementalCompile(IncrementalCompiler.scala:138)
      22. sbt.Compiler$.compile(Compiler.scala:152)
      23. sbt.Compiler$.compile(Compiler.scala:138)
      24. sbt.Defaults$.sbt$Defaults$$compileIncrementalTaskImpl(Defaults.scala:860)
      25. sbt.Defaults$$anonfun$compileIncrementalTask$1.apply(Defaults.scala:851)
      26. sbt.Defaults$$anonfun$compileIncrementalTask$1.apply(Defaults.scala:849)
      26 frames
    28. Scala
      Function1$$anonfun$compose$1.apply
      1. scala.Function1$$anonfun$compose$1.apply(Function1.scala:47)
      1 frame
    29. SBT
      $tilde$greater$$anonfun$$u2219$1.apply
      1. sbt.$tilde$greater$$anonfun$$u2219$1.apply(TypeFunctions.scala:40)
      1 frame
    30. sbt Task system
      Transform$$anon$4.work
      1. sbt.std.Transform$$anon$4.work(System.scala:63)
      1 frame
    31. SBT
      CompletionService$$anon$2.call
      1. sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:228)
      2. sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:228)
      3. sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:17)
      4. sbt.Execute.work(Execute.scala:237)
      5. sbt.Execute$$anonfun$submit$1.apply(Execute.scala:228)
      6. sbt.Execute$$anonfun$submit$1.apply(Execute.scala:228)
      7. sbt.ConcurrentRestrictions$$anon$4$$anonfun$1.apply(ConcurrentRestrictions.scala:159)
      8. sbt.CompletionService$$anon$2.call(CompletionService.scala:28)
      8 frames
    32. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask.run(FutureTask.java:266)
      2. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      3. java.util.concurrent.FutureTask.run(FutureTask.java:266)
      4. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      5. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      6. java.lang.Thread.run(Thread.java:745)
      6 frames