Skip to content

Sorry I nuked all the issues :( #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
sksamuel opened this issue May 16, 2014 · 9 comments
Closed

Sorry I nuked all the issues :( #1

sksamuel opened this issue May 16, 2014 · 9 comments

Comments

@sksamuel
Copy link
Member

No description provided.

@cuipengfei
Copy link

👍

@choedl
Copy link

choedl commented May 16, 2014

👎 Not good. I wanted to have a look at issue 2 (at least I think it was issue 2) because I'm still getting some macro error while running scoverage:test (version 0.99.2.1) :-(

@sksamuel
Copy link
Member Author

Can you post up the error. Are you using 0.99.2.1 ?
On 16 May 2014 08:49, "choedl" [email protected] wrote:

[image: 👎] Not good. I wanted to have a look at issue 2 (at least I
think it was issue 2) because I'm still getting some macro error while
running scoverage:test (version 0.99.2.1) :-(


Reply to this email directly or view it on GitHubhttps://github.com//issues/1#issuecomment-43305684
.

@sksamuel
Copy link
Member Author

Oh yeah you said you are. Post up the stack trace and I'll look at it right
now.
On 16 May 2014 08:52, "Stephen Samuel (Sam)" [email protected] wrote:

Can you post up the error. Are you using 0.99.2.1 ?
On 16 May 2014 08:49, "choedl" [email protected] wrote:

[image: 👎] Not good. I wanted to have a look at issue 2 (at least I
think it was issue 2) because I'm still getting some macro error while
running scoverage:test (version 0.99.2.1) :-(


Reply to this email directly or view it on GitHubhttps://github.com//issues/1#issuecomment-43305684
.

@choedl
Copy link

choedl commented May 16, 2014

Yes, I'm using 0.99.2.1. Here's the stacktrace (I had to obfuscate it a bit, I hope it makes sense; it has something to do with futures I guess):

[scoverage]: Begin pre-instrumentation phase
[scoverage]: Pre-instrumentation complete
[info] ======= Position error
[info] Overlapping trees (41048,41043)
[info] == Ancestor tree [41376] of type DefDef at [4255:4398]TestHandler.scala
[info]
[info] [L 107        ] #41376  [4255:4398]     DefDef     // getTestList(implicit executionContext: ExecutionContext) = {

[info]
[info] == First overlapping tree [41048] of type Select at [4378:4392]TestHandler.scala
[info]
[info] [L 108        ] #41048  [4378:4392]     Select     // [MyHandler.scala
[info]
[info] == Second overlapping tree [41043] of type TypeTree at [4387:4391]TestHandler.scala
[info]
[info] [L 108        ] #41043  [4387:4391]     TypeTree   // List]
[info]
[info]
[info] While validating #41379
[info] [L   1        ] #41379  [0:4401]        PackageDef // process
[info]
[info] Children:
[info]   [L   1 P#41379] #4213   [8:33]          Select     // process
[info]   [L   3 P#41379] #4216   [35:91]         Import     // akka.actor.{ActorRef, Props, Actor, ActorLogging}
[info]   [L   4 P#41379] #4219   [92:116]        Import     // scala.xml.NodeSeq
[info]   [L   5 P#41379] #4222   [117:147]       Import     // spray.http.HttpResponse
[info]   [L   6 P#41379] #4226   [148:179]       Import     // spray.http.StatusCodes._
[info]   [L   7 P#41379] #4230   [180:212]       Import     // spray.http.ContentTypes._
[info]   [L   8 P#41379] #4233   [213:241]       Import     // spray.http.HttpEntity
[info]   [L   9 P#41379] #4236   [242:262]       Import     // scala.xml.XML
[info]   [L  10 P#41379] #4239   [263:291]       Import     // spray.json.JsonFormat
[info]   [L  11 P#41379] #4243   [292:333]       Import     // spray.httpx.marshalling.Marshaller
[info]   [L  12 P#41379] #4246   [334:357]       Import     // scalax.file.Path
[info]   [L  13 P#41379] #4249   [358:377]       Import     // java.net.URI
[info]   [L  14 P#41379] #4252   [378:397]       Import     // java.io.File
[info]   [L  15 P#41379] #4254   [398:431]       Import     // TestHandler._
[info]   [L  16 P#41379] #4257   [432:453]       Import     // scala.xml.Node
[info]   [L  17 P#41379] #4261   [454:494]       Import     // scalax.file.defaultfs.DefaultPath
[info]   [L  18 P#41379] #4269   [495:558]       Import     // com.mytest.common.MyProtocol._
[info]   [L  19 P#41379] #4272   [559:580]       Import     // akka.pattern._
[info]   [L  20 P#41379] #4275   [581:621]       Import     // scala.concurrent.ExecutionContext
[info]   [L  21 P#41379] #4282   [622:696]       Import     // com.mytest.common.persistence.ReactiveMongoErrorProtocol.DBSuccess
[info]   [L  23 P#41379] #39462  [698:1008]      ModuleDef  // TestHandler {
[info]   [L  31 P#41379] #41312  [1010:3171]     ClassDef   // TestHandler() extends Actor with ActorLogging with MyView {
[info]   [L  87 P#41379] #4757   [3173:3200]     Import     // reactivemongo.bson._
[info]   [L  88 P#41379] #4763   [3201:3248]     Import     // com.mytest.common.persistence.MongoView
[info]   [L  89 P#41379] #4769   [3249:3312]     Import     // com.mytest.common.persistence.ReactiveMongoErrorHandler
[info]   [L  90 P#41379] #4777   [3313:3392]     Import     // com.mytest.common.MyProtocol.DeviceDescription
[info]   [L  91 P#41379] #4780   [3393:3433]     Import     // scala.concurrent.ExecutionContext
[info]   [L  92 P#41379] #4787   [3434:3508]     Import     // com.mytest.common.persistence.ReactiveMongoErrorProtocol.DBSuccess
[info]   [L  93 P#41379] #4791   [3509:3556]     Import     // reactivemongo.core.commands.GetLastError
[info]   [L  95 P#41379] #41378  [3558:4401]     ClassDef   // MyView extends MongoView with ReactiveMongoErrorHandler {
[info] =======
[error]
[error]      while compiling: D:\dev\workspace\myservice\src\main\scala\com\mytest\process\TestHandler.scala
[error]         during phase: typer
[error]      library version: version 2.10.4
[error]     compiler version: version 2.10.4
[error]   reconstructed args: -Ywarn-nullary-unit -optimise -P:scoverage:excludedPackages: -P:scoverage:dataDir:D:\dev\workspace\myservice\target/scoverage-data -Xlint -Ywarn-inaccessible -Yinline -Yclosure-elim -unchecked -Ydead-code -deprecation -Yrangepos -bootclasspath D:\dev\programs\java\jre1.7.0_45\lib\resources.jar;D:\dev\programs\java\jre1.7.0_45\lib\rt.jar;D:\dev\programs\java\jre1.7.0_45\lib\sunrsasign.jar;D:\dev\programs\java\jre1.7.0_45\lib\jsse.jar;D:\dev\programs\java\jre1.7.0_45\lib\jce.jar;D:\dev\programs\java\jre1.7.0_45\lib\charsets.jar;D:\dev\programs\java\jre1.7.0_45\lib\jfr.jar;D:\dev\programs\java\jre1.7.0_45\classes;D:\ivyrepo\cache\org.scala-lang\scala-library\jars\scala-library-2.10.4.jar -Ywarn-nullary-override -Yinline-handlers -Ywarn-adapted-args -Xplugin:D:\ivyrepo\cache\org.scoverage\scalac-scoverage-plugin_2.10\jars\scalac-scoverage-plugin_2.10-0.99.2.jar -classpath D:\dev\workspace\myservice\target\scoverage-classes;D:\ivyrepo\cache\org.scoverage\scalac-scoverage-plugin_2.10\jars\scalac-scoverage-plugin_2.10-0.99.2.jar;D:\ivyrepo\cache\commons-io\commons-io\jars\commons-io-2.4.jar;D:\ivyrepo\cache\io.spray\spray-routing\bundles\spray-routing-1.3.1.jar;D:\ivyrepo\cache\io.spray\spray-http\bundles\spray-http-1.3.1.jar;D:\ivyrepo\cache\io.spray\spray-util\bundles\spray-util-1.3.1.jar;D:\ivyrepo\cache\org.parboiled\parboiled-scala_2.10\bundles\parboiled-scala_2.10-1.1.6.jar;D:\ivyrepo\cache\org.parboiled\parboiled-core\bundles\parboiled-core-1.1.6.jar;D:\ivyrepo\cache\io.spray\spray-httpx\bundles\spray-httpx-1.3.1.jar;D:\ivyrepo\cache\org.jvnet.mimepull\mimepull\jars\mimepull-1.9.4.jar;D:\ivyrepo\cache\com.chuusai\shapeless_2.10\jars\shapeless_2.10-1.2.4.jar;D:\ivyrepo\cache\com.typesafe.akka\akka-contrib_2.10\jars\akka-contrib_2.10-2.3.2.jar;D:\ivyrepo\cache\com.typesafe.akka\akka-remote_2.10\jars\akka-remote_2.10-2.3.2.jar;D:\ivyrepo\cache\com.typesafe.akka\akka-actor_2.10\jars\akka-actor_2.10-2.3.2.jar;D:\ivyrepo\cache\com.typesafe\config\bundles\config-1.2.0.jar;D:\ivyrepo\cache\io.netty\netty\bundles\netty-3.8.0.Final.jar;D:\ivyrepo\cache\com.google.protobuf\protobuf-java\bundles\protobuf-java-2.5.0.jar;D:\ivyrepo\cache\org.uncommons.maths\uncommons-maths\jars\uncommons-maths-1.2.2a.jar;D:\ivyrepo\cache\com.typesafe.akka\akka-cluster_2.10\jars\akka-cluster_2.10-2.3.2.jar;D:\ivyrepo\cache\com.typesafe.akka\akka-persistence-experimental_2.10\jars\akka-persistence-experimental_2.10-2.3.2.jar;D:\ivyrepo\cache\org.iq80.leveldb\leveldb\jars\leveldb-0.5.jar;D:\ivyrepo\cache\org.iq80.leveldb\leveldb-api\jars\leveldb-api-0.5.jar;D:\ivyrepo\cache\com.google.guava\guava\jars\guava-12.0.jar;D:\ivyrepo\cache\com.google.code.findbugs\jsr305\jars\jsr305-1.3.9.jar;D:\ivyrepo\cache\org.fusesource.leveldbjni\leveldbjni-all\bundles\leveldbjni-all-1.7.jar;D:\ivyrepo\cache\org.fusesource.leveldbjni\leveldbjni\jars\leveldbjni-1.7.jar;D:\ivyrepo\cache\org.fusesource.hawtjni\hawtjni-runtime\jars\hawtjni-runtime-1.8.jar;D:\ivyrepo\cache\org.fusesource.leveldbjni\leveldbjni-osx\jars\leveldbjni-osx-1.5.jar;D:\ivyrepo\cache\org.fusesource.leveldbjni\leveldbjni-linux32\jars\leveldbjni-linux32-1.5.jar;D:\ivyrepo\cache\org.fusesource.leveldbjni\leveldbjni-linux64\jars\leveldbjni-linux64-1.5.jar;D:\ivyrepo\cache\org.fusesource.leveldbjni\leveldbjni-win32\jars\leveldbjni-win32-1.5.jar;D:\ivyrepo\cache\org.fusesource.leveldbjni\leveldbjni-win64\jars\leveldbjni-win64-1.5.jar;D:\ivyrepo\cache\io.spray\spray-can\bundles\spray-can-1.3.1.jar;D:\ivyrepo\cache\io.spray\spray-io\bundles\spray-io-1.3.1.jar;D:\ivyrepo\cache\io.spray\spray-json_2.10\jars\spray-json_2.10-1.2.5.jar;D:\ivyrepo\cache\net.virtual-void\json-lenses_2.10\jars\json-lenses_2.10-0.5.4.jar;D:\ivyrepo\cache\org.scalaz\scalaz-core_2.10\bundles\scalaz-core_2.10-7.0.0.jar;D:\ivyrepo\cache\org.joda\joda-convert\jars\joda-convert-1.3.jar;D:\ivyrepo\cache\org.reactivemongo\reactivemongo_2.10\jars\reactivemongo_2.10-0.11.0-akka2.3.jar;D:\ivyrepo\cache\org.reactivemongo\reactivemongo-bson-macros_2.10\jars\reactivemongo-bson-macros_2.10-0.11.0-akka2.3.jar;C:\Users\atw12pc1\.sbt\boot\scala-2.10.3\lib\scala-compiler.jar;C:\Users\atw12pc1\.sbt\boot\scala-2.10.3\lib\scala-reflect.jar;D:\ivyrepo\cache\org.reactivemongo\reactivemongo-bson_2.10\jars\reactivemongo-bson_2.10-0.11.0-akka2.3.jar;D:\ivyrepo\cache\com.typesafe.play\play-iteratees_2.10\jars\play-iteratees_2.10-2.2.0.jar;D:\ivyrepo\cache\org.scala-stm\scala-stm_2.10\jars\scala-stm_2.10-0.7.jar;D:\ivyrepo\cache\org.apache.logging.log4j\log4j-api\jars\log4j-api-2.0-beta9.jar;D:\ivyrepo\cache\org.apache.logging.log4j\log4j-core\jars\log4j-core-2.0-beta9.jar;D:\ivyrepo\cache\com.typesafe.akka\akka-slf4j_2.10\jars\akka-slf4j_2.10-2.3.2.jar;D:\ivyrepo\cache\io.spray\spray-client\bundles\spray-client-1.3.1.jar;D:\ivyrepo\cache\net.databinder.dispatch\dispatch-core_2.10\jars\dispatch-core_2.10-0.11.0.jar;D:\ivyrepo\cache\com.ning\async-http-client\jars\async-http-client-1.7.16.jar;D:\ivyrepo\cache\com.github.scala-incubator.io\scala-io-file_2.10\jars\scala-io-file_2.10-0.4.2.jar;D:\ivyrepo\cache\com.github.scala-incubator.io\scala-io-core_2.10\jars\scala-io-core_2.10-0.4.2.jar;D:\ivyrepo\cache\com.jsuereth\scala-arm_2.10\jars\scala-arm_2.10-1.3.jar;D:\ivyrepo\cache\com.github.ddevore\akka-persistence-mongo-casbah_2.10\jars\akka-persistence-mongo-casbah_2.10-0.7.1-myversion.jar;D:\ivyrepo\cache\com.github.ddevore\akka-persistence-mongo-common_2.10\jars\akka-persistence-mongo-common_2.10-0.7.1-myversion.jar;D:\ivyrepo\cache\ch.qos.logback\logback-classic\jars\logback-classic-1.1.1.jar;D:\ivyrepo\cache\ch.qos.logback\logback-core\jars\logback-core-1.1.1.jar;D:\ivyrepo\cache\org.slf4j\slf4j-api\jars\slf4j-api-1.7.6.jar;D:\ivyrepo\cache\org.mongodb\casbah-commons_2.10\jars\casbah-commons_2.10-2.7.1-SNAPSHOT.jar;D:\ivyrepo\cache\com.github.nscala-time\nscala-time_2.10\jars\nscala-time_2.10-1.0.0.jar;D:\ivyrepo\cache\joda-time\joda-time\jars\joda-time-2.3.jar;D:\ivyrepo\cache\org.mongodb\mongo-java-driver\jars\mongo-java-driver-2.12.0.jar;D:\ivyrepo\cache\org.mongodb\casbah-core_2.10\jars\casbah-core_2.10-2.7.1-SNAPSHOT.jar;D:\ivyrepo\cache\org.mongodb\casbah-query_2.10\jars\casbah-query_2.10-2.7.1-SNAPSHOT.jar;D:\ivyrepo\cache\org.mongodb\casbah-gridfs_2.10\jars\casbah-gridfs_2.10-2.7.1-SNAPSHOT.jar
[error]
[error]   last tree to typer: TypeTree(trait Future)
[error]               symbol: trait Future in package concurrent (flags: abstract <trait>)
[error]    symbol definition: abstract trait Future[+T] extends Awaitable[T]
[error]                  tpe: scala.concurrent.Future[List[com.mytest.common.protocol.admin.MyProtocol.Description]]
[error]        symbol owners: trait Future -> package concurrent
[error]       context owners: value executionContext -> method getTestList -> trait DeviceDescriptionView -> package proc
ess
[error]
[error] == Enclosing template or block ==
[error]
[error] DefDef( // def getTestList(implicit executionContext: scala.concurrent.ExecutionContext): scala.concurrent.Future[List[com.mytest.common.protocol.admin.MyProtocol.DeviceDescription]] in trait DeviceDescriptionView
[error]   <method> <triedcooking>
[error]   "getTestList"
[error]   []
[error]   // 1 parameter list
[error]   ValDef( // implicit executionContext: scala.concurrent.ExecutionContext
[error]     implicit <param> <triedcooking>
[error]     "executionContext"
[error]     "ExecutionContext"
[error]     <empty>
[error]   )
[error]   <tpt> // tree.tpe=scala.concurrent.Future[List[com.mytest.common.protocol.admin.MyProtocol.DeviceDescription]]
[error]   Apply(
[error]     TypeApply(
[error]       data.find(BSONDocument()).cursor[DeviceDescription]."collect"
[error]       "List"
[error]     )
[error]     Nil
[error]   )
[error] )
[error]
[error] == Expanded type of tree ==
[error]
[error] TypeRef(
[error]   TypeSymbol(abstract trait Future[+T] extends Awaitable[T])
[error]   args = List(
[error]     AliasTypeRef(
[error]       Alias(type List[+A] = List[A])
[error]       args = List(
[error]         TypeRef(
[error]           pre = SingleType(
[error]             pre = SingleType(
[error]               pre = SingleType(
[error]                 pre = SingleType(
[error]                     pre = SingleType(
[error]                       pre = SingleType(
[error]                         pre = ThisType(package <root>)
[error]                         package com
[error]                       )
[error]                       package myservice
[error]                   )
[error]                   package common
[error]                 )
[error]                 package protocol
[error]               )
[error]               package admin
[error]             )
[error]             object MyProtocol
[error]           )
[error]           TypeSymbol(
[error]             case class DeviceDescription extends Product with Serializable
[error]
[error]           )
[error]         )
[error]       )
[error]       normalize = TypeRef(
[error]         TypeSymbol(
[error]           sealed abstract class List[+A] extends AbstractSeq[A] with LinearSeq[A] with Product with GenericTraversableTemplate[A,List] with LinearSeqOptimized[A,List[A]]
[error]
[error]         )
[error]         args = List(
[error]           TypeRef(
[error]             pre = SingleType(
[error]               pre = SingleType(
[error]                 pre = SingleType(
[error]                   pre = SingleType(
[error]                     pre = SingleType(
[error]                         pre = SingleType(
[error]                           pre = ThisType(package <root>)
[error]                           package com
[error]                         )
[error]                         package mytest
[error]                     )
[error]                     package common
[error]                   )
[error]                   package protocol
[error]                 )
[error]                 package admin
[error]               )
[error]               object MyProtocol
[error]             )
[error]             TypeSymbol(
[error]               case class Description extends Product with Serializable
[error]
[error]             )
[error]           )
[error]         )
[error]       )
[error]     )
[error]   )
[error] )
[error]
[error] uncaught exception during compilation: scala.tools.nsc.interactive.RangePositions$ValidateException
[warn] D:\dev\workspace\myservice\src\main\scala\com\mytest\admin\process\ContentHandler.scala:88: method apply
in object Timeout is deprecated: please be explicit about the time unit and use the two-argument version
[warn]   implicit val timeout = Timeout(2000)
[warn]                          ^
[warn] there were 8 feature warning(s); re-run with -feature for details
[warn] two warnings found
[info] Compiling 4 Scala sources to D:\dev\workspace\myservice\target\test-classes...
[warn] there were 11 inliner warning(s); re-run with -Yinline-warnings for details
[warn] one warning found
scala.tools.nsc.interactive.RangePositions$ValidateException: Overlapping trees (41048,41043)
        at scala.tools.nsc.interactive.RangePositions$class.positionError$1(RangePositions.scala:201)
        at scala.tools.nsc.interactive.RangePositions$class.validate$1(RangePositions.scala:231)
        at scala.tools.nsc.interactive.RangePositions$class.validate$1(RangePositions.scala:241)
        at scala.tools.nsc.interactive.RangePositions$class.validate$1(RangePositions.scala:241)
        at scala.tools.nsc.interactive.RangePositions$class.validate$1(RangePositions.scala:241)
        at scala.tools.nsc.interactive.RangePositions$class.validatePositions(RangePositions.scala:246)
        at xsbt.CachedCompiler0$$anon$1.validatePositions(CompilerInterface.scala:158)
        at scala.tools.nsc.typechecker.Analyzer$typerFactory$$anon$3.apply(Analyzer.scala:100)
        at scala.tools.nsc.Global$GlobalPhase.applyPhase(Global.scala:464)
        at scala.tools.nsc.typechecker.Analyzer$typerFactory$$anon$3$$anonfun$run$1.apply(Analyzer.scala:91)
        at scala.tools.nsc.typechecker.Analyzer$typerFactory$$anon$3$$anonfun$run$1.apply(Analyzer.scala:91)
        at scala.collection.Iterator$class.foreach(Iterator.scala:727)
        at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
        at scala.tools.nsc.typechecker.Analyzer$typerFactory$$anon$3.run(Analyzer.scala:91)
        at scala.tools.nsc.Global$Run.compileUnitsInternal(Global.scala:1583)
        at scala.tools.nsc.Global$Run.compileUnits(Global.scala:1557)
        at scala.tools.nsc.Global$Run.compileSources(Global.scala:1553)
        at scala.tools.nsc.Global$Run.compile(Global.scala:1662)
        at xsbt.CachedCompiler0.run(CompilerInterface.scala:123)
        at xsbt.CachedCompiler0.run(CompilerInterface.scala:99)
        at xsbt.CompilerInterface.run(CompilerInterface.scala:27)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at sbt.compiler.AnalyzingCompiler.call(AnalyzingCompiler.scala:102)
        at sbt.compiler.AnalyzingCompiler.compile(AnalyzingCompiler.scala:48)
        at sbt.compiler.AnalyzingCompiler.compile(AnalyzingCompiler.scala:41)
        at sbt.compiler.AggressiveCompile$$anonfun$3$$anonfun$compileScala$1$1.apply$mcV$sp(AggressiveCompile.scala:99)
        at sbt.compiler.AggressiveCompile$$anonfun$3$$anonfun$compileScala$1$1.apply(AggressiveCompile.scala:99)
        at sbt.compiler.AggressiveCompile$$anonfun$3$$anonfun$compileScala$1$1.apply(AggressiveCompile.scala:99)
        at sbt.compiler.AggressiveCompile.sbt$compiler$AggressiveCompile$$timed(AggressiveCompile.scala:166)
        at sbt.compiler.AggressiveCompile$$anonfun$3.compileScala$1(AggressiveCompile.scala:98)
        at sbt.compiler.AggressiveCompile$$anonfun$3.apply(AggressiveCompile.scala:143)
        at sbt.compiler.AggressiveCompile$$anonfun$3.apply(AggressiveCompile.scala:87)
        at sbt.inc.IncrementalCompile$$anonfun$doCompile$1.apply(Compile.scala:39)
        at sbt.inc.IncrementalCompile$$anonfun$doCompile$1.apply(Compile.scala:37)
        at sbt.inc.IncrementalCommon.cycle(Incremental.scala:99)
        at sbt.inc.Incremental$$anonfun$1.apply(Incremental.scala:38)
        at sbt.inc.Incremental$$anonfun$1.apply(Incremental.scala:37)
        at sbt.inc.Incremental$.manageClassfiles(Incremental.scala:65)
        at sbt.inc.Incremental$.compile(Incremental.scala:37)
        at sbt.inc.IncrementalCompile$.apply(Compile.scala:27)
        at sbt.compiler.AggressiveCompile.compile2(AggressiveCompile.scala:157)
        at sbt.compiler.AggressiveCompile.compile1(AggressiveCompile.scala:71)
        at sbt.compiler.AggressiveCompile.apply(AggressiveCompile.scala:46)
        at sbt.Compiler$.apply(Compiler.scala:75)
        at sbt.Compiler$.apply(Compiler.scala:66)
        at sbt.Defaults$.sbt$Defaults$$compileTaskImpl(Defaults.scala:743)
        at sbt.Defaults$$anonfun$compileTask$1.apply(Defaults.scala:735)
        at sbt.Defaults$$anonfun$compileTask$1.apply(Defaults.scala:735)
        at scala.Function1$$anonfun$compose$1.apply(Function1.scala:47)
        at sbt.$tilde$greater$$anonfun$$u2219$1.apply(TypeFunctions.scala:42)
        at sbt.std.Transform$$anon$4.work(System.scala:64)
        at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:237)
        at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:237)
        at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:18)
        at sbt.Execute.work(Execute.scala:244)
        at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:237)
        at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:237)
        at sbt.ConcurrentRestrictions$$anon$4$$anonfun$1.apply(ConcurrentRestrictions.scala:160)
        at sbt.CompletionService$$anon$2.call(CompletionService.scala:30)
        at java.util.concurrent.FutureTask.run(Unknown Source)
        at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
        at java.util.concurrent.FutureTask.run(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)

@sksamuel
Copy link
Member Author

Looks like 2.10 issue. Support for 2.10 has been dropped. See main page
read me for why.
On 16 May 2014 09:15, "choedl" [email protected] wrote:

Yes, I'm using 0.99.2.1. Here's the stacktrace (I had to obfuscate it a
bit, I hope it makes sense; it has something to do with futures I guess):

[scoverage]: Begin pre-instrumentation phase
[scoverage]: Pre-instrumentation complete
[info] ======= Position error
[info] Overlapping trees (41048,41043)
[info] == Ancestor tree [41376] of type DefDef at
[4255:4398]TestHandler.scala
[info]
[info] [L 107 ] #41376 [4255:4398] DefDef // getTestList(implicit
executionContext: ExecutionContext) = {

[info]
[info] == First overlapping tree [41048] of type Select at
[4378:4392]TestHandler.scala
[info]
[info] [L 108 ] #41048 [4378:4392] Select // [MyHandler.scala
[info]
[info] == Second overlapping tree [41043] of type TypeTree at
[4387:4391]TestHandler.scala
[info]
[info] [L 108 ] #41043 [4387:4391] TypeTree // List]
[info]
[info]
[info] While validating #41379
[info] [L 1 ] #41379 [0:4401] PackageDef // process
[info]
[info] Children:
[info] [L 1 P#41379] #4213 [8:33] Select // process
[info] [L 3 P#41379] #4216 [35:91] Import // akka.actor.{ActorRef, Props,
Actor, ActorLogging}
[info] [L 4 P#41379] #4219 [92:116] Import // scala.xml.NodeSeq
[info] [L 5 P#41379] #4222 [117:147] Import // spray.http.HttpResponse
[info] [L 6 P#41379] #4226 [148:179] Import // spray.http.StatusCodes._
[info] [L 7 P#41379] #4230 [180:212] Import // spray.http.ContentTypes._
[info] [L 8 P#41379] #4233 [213:241] Import // spray.http.HttpEntity
[info] [L 9 P#41379] #4236 [242:262] Import // scala.xml.XML
[info] [L 10 P#41379] #4239 [263:291] Import // spray.json.JsonFormat
[info] [L 11 P#41379] #4243 [292:333] Import //
spray.httpx.marshalling.Marshaller
[info] [L 12 P#41379] #4246 [334:357] Import // scalax.file.Path
[info] [L 13 P#41379] #4249 [358:377] Import // java.net.URI
[info] [L 14 P#41379] #4252 [378:397] Import // java.io.File
[info] [L 15 P#41379] #4254 [398:431] Import // TestHandler._
[info] [L 16 P#41379] #4257 [432:453] Import // scala.xml.Node
[info] [L 17 P#41379] #4261 [454:494] Import //
scalax.file.defaultfs.DefaultPath
[info] [L 18 P#41379] #4269 [495:558] Import //
com.mytest.common.MyProtocol._
[info] [L 19 P#41379] #4272 [559:580] Import // akka.pattern._
[info] [L 20 P#41379] #4275 [581:621] Import //
scala.concurrent.ExecutionContext
[info] [L 21 P#41379] #4282 [622:696] Import //
com.mytest.common.persistence.ReactiveMongoErrorProtocol.DBSuccess
[info] [L 23 P#41379] #39462 [698:1008] ModuleDef // TestHandler {
[info] [L 31 P#41379] #41312 [1010:3171] ClassDef // TestHandler() extends
Actor with ActorLogging with MyView {
[info] [L 87 P#41379] #4757 [3173:3200] Import // reactivemongo.bson._
[info] [L 88 P#41379] #4763 [3201:3248] Import //
com.mytest.common.persistence.MongoView
[info] [L 89 P#41379] #4769 [3249:3312] Import //
com.mytest.common.persistence.ReactiveMongoErrorHandler
[info] [L 90 P#41379] #4777 [3313:3392] Import //
com.mytest.common.MyProtocol.DeviceDescription
[info] [L 91 P#41379] #4780 [3393:3433] Import //
scala.concurrent.ExecutionContext
[info] [L 92 P#41379] #4787 [3434:3508] Import //
com.mytest.common.persistence.ReactiveMongoErrorProtocol.DBSuccess
[info] [L 93 P#41379] #4791 [3509:3556] Import //
reactivemongo.core.commands.GetLastError
[info] [L 95 P#41379] #41378 [3558:4401] ClassDef // MyView extends
MongoView with ReactiveMongoErrorHandler {
[info] =======
[error]
[error] while compiling:
D:\dev\workspace\myservice\src\main\scala\com\mytest\process\TestHandler.scala
[error] during phase: typer
[error] library version: version 2.10.4
[error] compiler version: version 2.10.4
[error] reconstructed args: -Ywarn-nullary-unit -optimise
-P:scoverage:excludedPackages:
-P:scoverage:dataDir:D:\dev\workspace\myservice\target/scoverage-data
-Xlint -Ywarn-inaccessible -Yinline -Yclosure-elim -unchecked -Ydead-code
-deprecation -Yrangepos -bootclasspath
D:\dev\programs\java\jre1.7.0_45\lib\resources.jar;D:\dev\programs\java\jre1.7.0_45\lib\rt.jar;D:\dev\programs\java\jre1.7.0_45\lib\sunrsasign.jar;D:\dev\programs\java\jre1.7.0_45\lib\jsse.jar;D:\dev\programs\java\jre1.7.0_45\lib\jce.jar;D:\dev\programs\java\jre1.7.0_45\lib\charsets.jar;D:\dev\programs\java\jre1.7.0_45\lib\jfr.jar;D:\dev\programs\java\jre1.7.0_45\classes;D:\ivyrepo\cache\org.scala-lang\scala-library\jars\scala-library-2.10.4.jar
-Ywarn-nullary-override -Yinline-handlers -Ywarn-adapted-args
-Xplugin:D:\ivyrepo\cache\org.scoverage\scalac-scoverage-plugin_2.10\jars\scalac-scoverage-plugin_2.10-0.99.2.jar
-classpath
D:\dev\workspace\myservice\target\scoverage-classes;D:\ivyrepo\cache\org.scoverage\scal
ac-scoverage-plugin_2.10\jars\scalac-scoverage-plugin_2.10-0.99.2.jar;D:\ivyrepo\cache\commons-io\commons-io\jars\commons-io-2.4.jar;D:\ivyrepo\cache\io.spray\spray-routing\bundles\spray-routing-1.3.1.jar;D:\ivyrepo\cache\io.spray\spray-http\bundles\spray-http-1.3.1.jar;D:\ivyrepo\cache\io.spray\spray-util\bundles\spray-util-1.3.1.jar;D:\ivyrepo\cache\org.parboiled\parboiled-scala_2.10\bundles\parboiled-scala_2.10-1.1.6.jar;D:\ivyrepo\cache\org.parboiled\parboiled-core\bundles\parboiled-core-1.1.6.jar;D:\ivyrepo\cache\io.spray\spray-httpx\bundles\spray-httpx-1.3.1.jar;D:\ivyrepo\cache\org.jvnet.mimepull\mimepull\jars\mimepull-1.9.4.jar;D:\ivyrepo\cache\com.chuusai\shapeless_2.10\jars\shapeless_2.10-1.2.4.jar;D:\ivyrepo\cache\com.typesafe.akka\akka-contrib_2.10\jars\akka-contrib_2.10-2.3.2.jar;D:\ivyrepo\cache\com.typesafe.akka\akka-remote_2.10\jars\akka-remote_2.10-2.3.2.jar;D:\ivyrepo\cache\com.typesafe.akka\akka-actor_2.10\jars\akka-actor_2.10-2.3.2.jar;D:\ivyrepo\cache\com.typesa
fe\config\bundles\config-1.2.0.jar;D:\ivyrepo\cache\io.netty\netty\bundles\netty-3.8.0.Final.jar;D:\ivyrepo\cache\com.google.protobuf\protobuf-java\bundles\protobuf-java-2.5.0.jar;D:\ivyrepo\cache\org.uncommons.maths\uncommons-maths\jars\uncommons-maths-1.2.2a.jar;D:\ivyrepo\cache\com.typesafe.akka\akka-cluster_2.10\jars\akka-cluster_2.10-2.3.2.jar;D:\ivyrepo\cache\com.typesafe.akka\akka-persistence-experimental_2.10\jars\akka-persistence-experimental_2.10-2.3.2.jar;D:\ivyrepo\cache\org.iq80.leveldb\leveldb\jars\leveldb-0.5.jar;D:\ivyrepo\cache\org.iq80.leveldb\leveldb-api\jars\leveldb-api-0.5.jar;D:\ivyrepo\cache\com.google.guava\guava\jars\guava-12.0.jar;D:\ivyrepo\cache\com.google.code.findbugs\jsr305\jars\jsr305-1.3.9.jar;D:\ivyrepo\cache\org.fusesource.leveldbjni\leveldbjni-all\bundles\leveldbjni-all-1.7.jar;D:\ivyrepo\cache\org.fusesource.leveldbjni\leveldbjni\jars\leveldbjni-1.7.jar;D:\ivyrepo\cache\org.fusesource.hawtjni\hawtjni-runtime\jars\hawtjni-runtime-1.8.jar;D:\ivyrep
o\cache\org.fusesource.leveldbjni\leveldbjni-osx\jars\leveldbjni-osx-1.5.jar;D:\ivyrepo\cache\org.fusesource.leveldbjni\leveldbjni-linux32\jars\leveldbjni-linux32-1.5.jar;D:\ivyrepo\cache\org.fusesource.leveldbjni\leveldbjni-linux64\jars\leveldbjni-linux64-1.5.jar;D:\ivyrepo\cache\org.fusesource.leveldbjni\leveldbjni-win32\jars\leveldbjni-win32-1.5.jar;D:\ivyrepo\cache\org.fusesource.leveldbjni\leveldbjni-win64\jars\leveldbjni-win64-1.5.jar;D:\ivyrepo\cache\io.spray\spray-can\bundles\spray-can-1.3.1.jar;D:\ivyrepo\cache\io.spray\spray-io\bundles\spray-io-1.3.1.jar;D:\ivyrepo\cache\io.spray\spray-json_2.10\jars\spray-json_2.10-1.2.5.jar;D:\ivyrepo\cache\net.virtual-void\json-lenses_2.10\jars\json-lenses_2.10-0.5.4.jar;D:\ivyrepo\cache\org.scalaz\scalaz-core_2.10\bundles\scalaz-core_2.10-7.0.0.jar;D:\ivyrepo\cache\org.joda\joda-convert\jars\joda-convert-1.3.jar;D:\ivyrepo\cache\org.reactivemongo\reactivemongo_2.10\jars\reactivemongo_2.10-0.11.0-akka2.3.jar;D:\ivyrepo\cache\org.reactiv
emongo\reactivemongo-bson-macros_2.10\jars\reactivemongo-bson-macros_2.10-0.11.0-akka2.3.jar;C:\Users\atw12pc1.sbt\boot\scala-2.10.3\lib\scala-compiler.jar;C:\Users\atw12pc1.sbt\boot\scala-2.10.3\lib\scala-reflect.jar;D:\ivyrepo\cache\org.reactivemongo\reactivemongo-bson_2.10\jars\reactivemongo-bson_2.10-0.11.0-akka2.3.jar;D:\ivyrepo\cache\com.typesafe.play\play-iteratees_2.10\jars\play-iteratees_2.10-2.2.0.jar;D:\ivyrepo\cache\org.scala-stm\scala-stm_2.10\jars\scala-stm_2.10-0.7.jar;D:\ivyrepo\cache\org.apache.logging.log4j\log4j-api\jars\log4j-api-2.0-beta9.jar;D:\ivyrepo\cache\org.apache.logging.log4j\log4j-core\jars\log4j-core-2.0-beta9.jar;D:\ivyrepo\cache\com.typesafe.akka\akka-slf4j_2.10\jars\akka-slf4j_2.10-2.3.2.jar;D:\ivyrepo\cache\io.spray\spray-client\bundles\spray-client-1.3.1.jar;D:\ivyrepo\cache\net.databinder.dispatch\dispatch-core_2.10\jars\dispatch-core_2.10-0.11.0.jar;D:\ivyrepo\cache\com.ning\async-http-client\jars\async-http-client-1.7.16.jar;D:\ivyrepo\cache\co
m.github.scala-incubator.io
\scala-io-file_2.10\jars\scala-io-file_2.10-0.4.2.jar;D:\ivyrepo\cache
com.github.scala-incubator.io\scala-io-core_2.10\jars\scala-io-core_2.10-0.4.2.jar;D:\ivyrepo\cache\com.jsuereth\scala-arm_2.10\jars\scala-arm_2.10-1.3.jar;D:\ivyrepo\cache\com.github.ddevore\akka-persistence-mongo-casbah_2.10\jars\akka-persistence-mongo-casbah_2.10-0.7.1-myversion.jar;D:\ivyrepo\cache\com.github.ddevore\akka-persistence-mongo-common_2.10\jars\akka-persistence-mongo-common_2.10-0.7.1-myversion.jar;D:\ivyrepo\cache\ch.qos.logback\logback-classic\jars\logback-classic-1.1.1.jar;D:\ivyrepo\cache\ch.qos.logback\logback-core\jars\logback-core-1.1.1.jar;D:\ivyrepo\cache\org.slf4j\slf4j-api\jars\slf4j-api-1.7.6.jar;D:\ivyrepo\cache\org.mongodb\casbah-commons_2.10\jars\casbah-commons_2.10-2.7.1-SNAPSHOT.jar;D:\ivyrepo\cache\com.github.nscala-time\nscala-time_2.10\jars\nscala-time_2.10-1.0.0.jar;D:\ivyrepo\cache\joda-time\joda-time\jars\joda-time-2.3.jar;D:\ivyrepo\cache\org.mong
odb\mongo-java-driver\jars\mongo-java-driver-2.12.0.jar;D:\ivyrepo\cache\org.mongodb\casbah-core_2.10\jars\casbah-core_2.10-2.7.1-SNAPSHOT.jar;D:\ivyrepo\cache\org.mongodb\casbah-query_2.10\jars\casbah-query_2.10-2.7.1-SNAPSHOT.jar;D:\ivyrepo\cache\org.mongodb\casbah-gridfs_2.10\jars\casbah-gridfs_2.10-2.7.1-SNAPSHOT.jar
[error]
[error] last tree to typer: TypeTree(trait Future)
[error] symbol: trait Future in package concurrent (flags: abstract )
[error] symbol definition: abstract trait Future[+T] extends Awaitable[T]
[error] tpe:
scala.concurrent.Future[List[com.mytest.common.protocol.admin.MyProtocol.Description]]
[error] symbol owners: trait Future -> package concurrent
[error] context owners: value executionContext -> method getTestList ->
trait DeviceDescriptionView -> package proc
ess
[error]
[error] == Enclosing template or block ==
[error]
[error] DefDef( // def getTestList(implicit executionContext:
scala.concurrent.ExecutionContext):
scala.concurrent.Future[List[com.mytest.common.protocol.admin.MyProtocol.DeviceDescription]]
in trait DeviceDescriptionView
[error]
[error] "getTestList"
[error] []
[error] // 1 parameter list
[error] ValDef( // implicit executionContext:
scala.concurrent.ExecutionContext
[error] implicit
[error] "executionContext"
[error] "ExecutionContext"
[error]
[error] )
[error] //
tree.tpe=scala.concurrent.Future[List[com.mytest.common.protocol.admin.MyProtocol.DeviceDescription]]
[error] Apply(
[error] TypeApply(
[error] data.find(BSONDocument()).cursor[DeviceDescription]."collect"
[error] "List"
[error] )
[error] Nil
[error] )
[error] )
[error]
[error] == Expanded type of tree ==
[error]
[error] TypeRef(
[error] TypeSymbol(abstract trait Future[+T] extends Awaitable[T])
[error] args = List(
[error] AliasTypeRef(
[error] Alias(type List[+A] = List[A])
[error] args = List(
[error] TypeRef(
[error] pre = SingleType(
[error] pre = SingleType(
[error] pre = SingleType(
[error] pre = SingleType(
[error] pre = SingleType(
[error] pre = SingleType(
[error] pre = ThisType(package )
[error] package com
[error] )
[error] package myservice
[error] )
[error] package common
[error] )
[error] package protocol
[error] )
[error] package admin
[error] )
[error] object MyProtocol
[error] )
[error] TypeSymbol(
[error] case class DeviceDescription extends Product with Serializable
[error]
[error] )
[error] )
[error] )
[error] normalize = TypeRef(
[error] TypeSymbol(
[error] sealed abstract class List[+A] extends AbstractSeq[A] with
LinearSeq[A] with Product with GenericTraversableTemplate[A,List] with
LinearSeqOptimized[A,List[A]]
[error]
[error] )
[error] args = List(
[error] TypeRef(
[error] pre = SingleType(
[error] pre = SingleType(
[error] pre = SingleType(
[error] pre = SingleType(
[error] pre = SingleType(
[error] pre = SingleType(
[error] pre = ThisType(package )
[error] package com
[error] )
[error] package mytest
[error] )
[error] package common
[error] )
[error] package protocol
[error] )
[error] package admin
[error] )
[error] object MyProtocol
[error] )
[error] TypeSymbol(
[error] case class Description extends Product with Serializable
[error]
[error] )
[error] )
[error] )
[error] )
[error] )
[error] )
[error] )
[error]
[error] uncaught exception during compilation:
scala.tools.nsc.interactive.RangePositions$ValidateException
[warn]
D:\dev\workspace\myservice\src\main\scala\com\mytest\admin\process\ContentHandler.scala:88:
method apply
in object Timeout is deprecated: please be explicit about the time unit
and use the two-argument version
[warn] implicit val timeout = Timeout(2000)
[warn] ^
[warn] there were 8 feature warning(s); re-run with -feature for details
[warn] two warnings found
[info] Compiling 4 Scala sources to
D:\dev\workspace\myservice\target\test-classes...
[warn] there were 11 inliner warning(s); re-run with -Yinline-warnings for
details
[warn] one warning found
scala.tools.nsc.interactive.RangePositions$ValidateException: Overlapping
trees (41048,41043)
at
scala.tools.nsc.interactive.RangePositions$class.positionError$1(RangePositions.scala:201)
at
scala.tools.nsc.interactive.RangePositions$class.validate$1(RangePositions.scala:231)
at
scala.tools.nsc.interactive.RangePositions$class.validate$1(RangePositions.scala:241)
at
scala.tools.nsc.interactive.RangePositions$class.validate$1(RangePositions.scala:241)
at
scala.tools.nsc.interactive.RangePositions$class.validate$1(RangePositions.scala:241)
at
scala.tools.nsc.interactive.RangePositions$class.validatePositions(RangePositions.scala:246)
at
xsbt.CachedCompiler0$$anon$1.validatePositions(CompilerInterface.scala:158)
at
scala.tools.nsc.typechecker.Analyzer$typerFactory$$anon$3.apply(Analyzer.scala:100)
at scala.tools.nsc.Global$GlobalPhase.applyPhase(Global.scala:464)
at
scala.tools.nsc.typechecker.Analyzer$typerFactory$$anon$3$$anonfun$run$1.apply(Analyzer.scala:91)
at
scala.tools.nsc.typechecker.Analyzer$typerFactory$$anon$3$$anonfun$run$1.apply(Analyzer.scala:91)
at scala.collection.Iterator$class.foreach(Iterator.scala:727)
at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
at
scala.tools.nsc.typechecker.Analyzer$typerFactory$$anon$3.run(Analyzer.scala:91)
at scala.tools.nsc.Global$Run.compileUnitsInternal(Global.scala:1583)
at scala.tools.nsc.Global$Run.compileUnits(Global.scala:1557)
at scala.tools.nsc.Global$Run.compileSources(Global.scala:1553)
at scala.tools.nsc.Global$Run.compile(Global.scala:1662)
at xsbt.CachedCompiler0.run(CompilerInterface.scala:123)
at xsbt.CachedCompiler0.run(CompilerInterface.scala:99)
at xsbt.CompilerInterface.run(CompilerInterface.scala:27)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at sbt.compiler.AnalyzingCompiler.call(AnalyzingCompiler.scala:102)
at sbt.compiler.AnalyzingCompiler.compile(AnalyzingCompiler.scala:48)
at sbt.compiler.AnalyzingCompiler.compile(AnalyzingCompiler.scala:41)
at
sbt.compiler.AggressiveCompile$$anonfun$3$$anonfun$compileScala$1$1.apply$mcV$sp(AggressiveCompile.scala:99)
at
sbt.compiler.AggressiveCompile$$anonfun$3$$anonfun$compileScala$1$1.apply(AggressiveCompile.scala:99)
at
sbt.compiler.AggressiveCompile$$anonfun$3$$anonfun$compileScala$1$1.apply(AggressiveCompile.scala:99)
at
sbt.compiler.AggressiveCompile.sbt$compiler$AggressiveCompile$$timed(AggressiveCompile.scala:166)
at
sbt.compiler.AggressiveCompile$$anonfun$3.compileScala$1(AggressiveCompile.scala:98)
at
sbt.compiler.AggressiveCompile$$anonfun$3.apply(AggressiveCompile.scala:143)
at
sbt.compiler.AggressiveCompile$$anonfun$3.apply(AggressiveCompile.scala:87)
at sbt.inc.IncrementalCompile$$anonfun$doCompile$1.apply(Compile.scala:39)
at sbt.inc.IncrementalCompile$$anonfun$doCompile$1.apply(Compile.scala:37)
at sbt.inc.IncrementalCommon.cycle(Incremental.scala:99)
at sbt.inc.Incremental$$anonfun$1.apply(Incremental.scala:38)
at sbt.inc.Incremental$$anonfun$1.apply(Incremental.scala:37)
at sbt.inc.Incremental$.manageClassfiles(Incremental.scala:65)
at sbt.inc.Incremental$.compile(Incremental.scala:37)
at sbt.inc.IncrementalCompile$.apply(Compile.scala:27)
at sbt.compiler.AggressiveCompile.compile2(AggressiveCompile.scala:157)
at sbt.compiler.AggressiveCompile.compile1(AggressiveCompile.scala:71)
at sbt.compiler.AggressiveCompile.apply(AggressiveCompile.scala:46)
at sbt.Compiler$.apply(Compiler.scala:75)
at sbt.Compiler$.apply(Compiler.scala:66)
at sbt.Defaults$.sbt$Defaults$$compileTaskImpl(Defaults.scala:743)
at sbt.Defaults$$anonfun$compileTask$1.apply(Defaults.scala:735)
at sbt.Defaults$$anonfun$compileTask$1.apply(Defaults.scala:735)
at scala.Function1$$anonfun$compose$1.apply(Function1.scala:47)
at sbt.$tilde$greater$$anonfun$$u2219$1.apply(TypeFunctions.scala:42)
at sbt.std.Transform$$anon$4.work(System.scala:64)
at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:237)
at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:237)
at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:18)
at sbt.Execute.work(Execute.scala:244)
at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:237)
at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:237)
at
sbt.ConcurrentRestrictions$$anon$4$$anonfun$1.apply(ConcurrentRestrictions.scala:160)
at sbt.CompletionService$$anon$2.call(CompletionService.scala:30)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)


Reply to this email directly or view it on GitHubhttps://github.com//issues/1#issuecomment-43307476
.

@sksamuel
Copy link
Member Author

It's not 2.10 only. I cloned ReactiveMongo and applied scoverage as I guessed that might exhibit the same thing. If I can fix it, it'll be for 2.11 only.

@sksamuel
Copy link
Member Author

Looks like an issue in the compiler.
https://issues.scala-lang.org/browse/SI-8596

I've added a feature to turn off range highlighting. Just do
ScoverageKeys.highlighting := false
in version 0.99.2.2

You won't get pretty statement level highlighting but it should work.

Please let me know.

@sksamuel
Copy link
Member Author

Moving to #2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants