Comments (14)
At a first glance the error message looks like the 2.10 compiler has the
2.11 standard library on its classpath. I'm answering from my mobile so I
haven't had the chance to test it myself.
On May 31, 2014 8:46 PM, "Richard Searle" [email protected] wrote:
Cloned the current repository and run sbt test
Fails on both jdk1.7.0_60 and jdk1.8.0_05, Linux 64 bit Fedora 20.
Essentially the same failure if I drop the scala version back to 2.11.0.[error]
[error] while compiling: /home/rsearle/work/flow/flow/src/main/scala/com/github/jodersky/flow/Serial.scala
[error] during phase: typer
[error] library version: version 2.10.3-20130923-e2fec6b28dfd73482945ffab85d9b582d0cb9f17
[error] compiler version: version 2.10.3-20130923-e2fec6b28dfd73482945ffab85d9b582d0cb9f17
[error] reconstructed args: -classpath /home/rsearle/work/flow/flow/target/scala-2.11/classes:/home/rsearle/.ivy2/cache/com.typesafe.akka/akka-actor_2.11/jars/akka-actor_2.11-2.3.3.jar:/home/rsearle/.ivy2/cache/com.typesafe/config/bundles/config-1.2.1.jar:/home/rsearle/.ivy2/cache/com.github.scala-incubator.io/scala-io-core_2.11/jars/scala-io-core_2.11-0.4.3.jar:/home/rsearle/.ivy2/cache/org.scala-lang.modules/scala-parser-combinators_2.11/bundles/scala-parser-combinators_2.11-1.0.1.jar:/home/rsearle/.ivy2/cache/com.madgag/scala-arm_2.11/jars/scala-arm_2.11-1.3.3.jar:/home/rsearle/.ivy2/cache/org.scala-lang.plugins/scala-continuations-library_2.11/bundles/scala-continuations-library_2.11-1.0.1.jar:/home/rsearle/.ivy2/cache/com.github.scala-incubator.io/scala-io-file_2.11/jars/scala-io-file_2.11-0.4.3.jar -deprecation -feature -unchecked -bootclasspath /usr/java/jdk1.8.0_05/jre/lib/resources.jar:/usr/java/jdk1.8.0_05/jre/lib/rt.jar:/usr/java/jdk1.8.0_05/jre/lib/sunrsasign.jar:/usr/j
ava/jdk1.8.0_05/jre/lib/jsse.jar:/usr/java/jdk1.8.0_05/jre/lib/jce.jar:/usr/java/jdk1.8.0_05/jre/lib/charsets.jar:/usr/java/jdk1.8.0_05/jre/lib/jfr.jar:/usr/java/jdk1.8.0_05/jre/classes:/home/rsearle/.ivy2/cache/org.scala-lang/scala-library/jars/scala-library-2.11.1.jar
[error]
[error] last tree to typer: Literal(Constant(()))
[error] symbol: null
[error] symbol definition: null
[error] tpe: Unit
[error] symbol owners:
[error] context owners: object CommandFailed -> object Serial -> package flow
[error]
[error] == Enclosing template or block ==
[error]
[error] ModuleDef( // object CommandFailed in object Serial
[error]
[error] "CommandFailed"
[error] Template(
[error] runtime.this.AbstractFunction2[Command, Throwable, CommandFailed] // parents
[error] ValDef(
[error] private
[error] "_"
[error]
[error]
[error] )
[error] // 2 statements
[error] DefDef( // def : in object CommandFailed [error] [error] "" [error] [] [error] List(Nil) [error] [error] Block( [error] Apply( [error] super."" [error] Nil [error] ) [error]() [error] ) [error] ) [error] DefDef( // final override def toString: in object CommandFailed
[error] final override
[error] "toString"
[error] []
[error] List(Nil)
[error]
[error] "CommandFailed"
[error] )
[error] )
[error] )
[error]
[error] == Expanded type of tree ==
[error]
[error] TypeRef(TypeSymbol(final abstract class Unit extends AnyVal))
[error]
[error] uncaught exception during compilation: scala.reflect.internal.MissingRequirementError
[trace] Stack trace suppressed: run last flow/compile:compile for the full output.
error scala.reflect.internal.MissingRequirementError: class scala.annotation.serializable in compiler mirror not found.
[error] Total time: 4 s, completed May 31, 2014 1:20:11 PM—
Reply to this email directly or view it on GitHub
#11.
from akka-serial.
I can't reproduce the bug (using openjdk 1.7.0_55 on Debian).
What version on sbt are you using?
from akka-serial.
sbtVersion reports 0.13.5
Works if the scalaVersion is set to 2.10.0 and JDK 1.7 is used.
Fails on JDK 1.8, with following errors
rror: error while loading CharSequence, class file '/usr/java/jdk1.8.0_05/jre/lib/rt.jar(java/lang/CharSequence.class)' is broken
(class java.lang.RuntimeException/bad constant pool tag 15 at byte 1501)
error: error while loading Comparator, class file '/usr/java/jdk1.8.0_05/jre/lib/rt.jar(java/util/Comparator.class)' is broken
(class java.lang.RuntimeException/bad constant pool tag 15 at byte 5003)
error: error while loading AnnotatedElement, class file '/usr/java/jdk1.8.0_05/jre/lib/rt.jar(java/lang/reflect/AnnotatedElement.class)' is broken
(class java.lang.RuntimeException/bad constant pool tag 15 at byte 2713)
error: error while loading Arrays, class file '/usr/java/jdk1.8.0_05/jre/lib/rt.jar(java/util/Arrays.class)' is broken
(class java.lang.RuntimeException/bad constant pool tag 15 at byte 12801)
/tmp/sbt_e38224e7/xsbt/ExtractAPI.scala:489: error: java.util.Comparator does not take type parameters
private[this] val sortClasses = new Comparator[Symbol] {
from akka-serial.
SBT installed via yum sbt-0.13.1-5.fc20.noarch
from akka-serial.
I still can't reproduce the bug: fresh clone of repository, sbt-0.13.1, jdk 1.8.0_05.
Are there any warnings before the actual error?
from akka-serial.
Checked out a fresh copy
$ java -version
java version "1.8.0_05"
Java(TM) SE Runtime Environment (build 1.8.0_05-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.5-b02, mixed mode)
$ sbt sbtVersion
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=724M; support was removed in 8.0
[info] Loading global plugins from /home/rsearle/.sbt/0.13/plugins
[info] Loading project definition from /home/rsearle/work/flow/project
[info] Set current project to root (in build file:/home/rsearle/work/flow/)
[info] flow/*:sbtVersion
[info] 0.13.5
[info] flow-native/*:sbtVersion
[info] 0.13.5
[info] root/*:sbtVersion
[info] 0.13.5
$ sbt test
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=724M; support was removed in 8.0
[info] Loading global plugins from /home/rsearle/.sbt/0.13/plugins
[info] Loading project definition from /home/rsearle/work/flow/project
[info] Updating {file:/home/rsearle/work/flow/project/}flow-build...
[info] Resolving org.fusesource.jansi#jansi;1.4 ...
[info] Done updating.
[info] Compiling 5 Scala sources to /home/rsearle/work/flow/project/target/scala-2.10/sbt-0.13/classes...
[warn] /home/rsearle/work/flow/project/native.scala:76: a pure expression does nothing in statement position; you may be omitting necessary parentheses
[warn] nativeClean := autoClean.value,
[warn] ^
[warn] one warning found
[info] Set current project to root (in build file:/home/rsearle/work/flow/)
[info] Updating {file:/home/rsearle/work/flow/}flow-native...
[info] Updating {file:/home/rsearle/work/flow/}root...
[info] Updating {file:/home/rsearle/work/flow/}flow...
[info] Resolving jline#jline;2.11 ...
[info] Done updating.
[info] Resolving org.scala-lang#scala-library;2.11.1 ...
[info] Passed: Total 0, Failed 0, Errors 0, Passed 0
[info] No tests to run for flow-native/test:test
[info] Resolving jline#jline;2.11 ...
[info] Done updating.
[info] Resolving org.scala-lang#scala-library;2.11.1 ...
[info] Compiling 11 Scala sources and 1 Java source to /home/rsearle/work/flow/flow/target/scala-2.11/classes...
[info] Resolving jline#jline;2.11 ...
[info] Done updating.
[info] Passed: Total 0, Failed 0, Errors 0, Passed 0
[info] No tests to run for root/test:test
[error]
[error] while compiling: /home/rsearle/work/flow/flow/src/main/scala/com/github/jodersky/flow/Serial.scala
[error] during phase: typer
[error] library version: version 2.10.3-20130923-e2fec6b28dfd73482945ffab85d9b582d0cb9f17
[error] compiler version: version 2.10.3-20130923-e2fec6b28dfd73482945ffab85d9b582d0cb9f17
[error] reconstructed args: -classpath /home/rsearle/work/flow/flow/target/scala-2.11/classes:/home/rsearle/.ivy2/cache/com.typesafe.akka/akka-actor_2.11/jars/akka-actor_2.11-2.3.3.jar:/home/rsearle/.ivy2/cache/com.typesafe/config/bundles/config-1.2.1.jar:/home/rsearle/.ivy2/cache/com.github.scala-incubator.io/scala-io-core_2.11/jars/scala-io-core_2.11-0.4.3.jar:/home/rsearle/.ivy2/cache/org.scala-lang.modules/scala-parser-combinators_2.11/bundles/scala-parser-combinators_2.11-1.0.1.jar:/home/rsearle/.ivy2/cache/com.madgag/scala-arm_2.11/jars/scala-arm_2.11-1.3.3.jar:/home/rsearle/.ivy2/cache/org.scala-lang.plugins/scala-continuations-library_2.11/bundles/scala-continuations-library_2.11-1.0.1.jar:/home/rsearle/.ivy2/cache/com.github.scala-incubator.io/scala-io-file_2.11/jars/scala-io-file_2.11-0.4.3.jar -deprecation -feature -unchecked -bootclasspath /usr/java/jdk1.8.0_05/jre/lib/resources.jar:/usr/java/jdk1.8.0_05/jre/lib/rt.jar:/usr/java/jdk1.8.0_05/jre/lib/sunrsasign.jar:/usr/java/jdk1.8.0_05/jre/lib/jsse.jar:/usr/java/jdk1.8.0_05/jre/lib/jce.jar:/usr/java/jdk1.8.0_05/jre/lib/charsets.jar:/usr/java/jdk1.8.0_05/jre/lib/jfr.jar:/usr/java/jdk1.8.0_05/jre/classes:/home/rsearle/.ivy2/cache/org.scala-lang/scala-library/jars/scala-library-2.11.1.jar
[error]
[error] last tree to typer: Literal(Constant(()))
[error] symbol: null
[error] symbol definition: null
[error] tpe: Unit
[error] symbol owners:
[error] context owners: object CommandFailed -> object Serial -> package flow
[error]
[error] == Enclosing template or block ==
[error]
[error] ModuleDef( // object CommandFailed in object Serial
[error] <module> <synthetic>
[error] "CommandFailed"
[error] Template(
[error] runtime.this.AbstractFunction2[Command, Throwable, CommandFailed] // parents
[error] ValDef(
[error] private
[error] "_"
[error] <tpt>
[error] <empty>
[error] )
[error] // 2 statements
[error] DefDef( // def <init>: <?> in object CommandFailed
[error] <method>
[error] "<init>"
[error] []
[error] List(Nil)
[error] <tpt>
[error] Block(
[error] Apply(
[error] super."<init>"
[error] Nil
[error] )
[error] ()
[error] )
[error] )
[error] DefDef( // final override def toString: <?> in object CommandFailed
[error] <method> final override <synthetic>
[error] "toString"
[error] []
[error] List(Nil)
[error] <tpt>
[error] "CommandFailed"
[error] )
[error] )
[error] )
[error]
[error] == Expanded type of tree ==
[error]
[error] TypeRef(TypeSymbol(final abstract class Unit extends AnyVal))
[error]
[error] uncaught exception during compilation: scala.reflect.internal.MissingRequirementError
scala.reflect.internal.MissingRequirementError: class scala.annotation.serializable in compiler mirror not found.
at scala.reflect.internal.MissingRequirementError$.signal(MissingRequirementError.scala:16)
at scala.reflect.internal.MissingRequirementError$.notFound(MissingRequirementError.scala:17)
at scala.reflect.internal.Mirrors$RootsBase$$anonfun$getModuleOrClass$3.apply(Mirrors.scala:49)
at scala.reflect.internal.Mirrors$RootsBase$$anonfun$getModuleOrClass$3.apply(Mirrors.scala:49)
at scala.reflect.internal.Symbols$Symbol.orElse(Symbols.scala:2220)
at scala.reflect.internal.Mirrors$RootsBase.getModuleOrClass(Mirrors.scala:48)
at scala.reflect.internal.Mirrors$RootsBase.getModuleOrClass(Mirrors.scala:61)
at scala.reflect.internal.Mirrors$RootsBase.getClassByName(Mirrors.scala:99)
at scala.reflect.internal.Mirrors$RootsBase.getRequiredClass(Mirrors.scala:102)
at scala.reflect.internal.Mirrors$RootsBase.requiredClass(Mirrors.scala:105)
at scala.reflect.internal.Definitions$DefinitionsClass.SerializableAttr$lzycompute(Definitions.scala:962)
at scala.reflect.internal.Definitions$DefinitionsClass.SerializableAttr(Definitions.scala:962)
at scala.reflect.internal.Symbols$Symbol.isSerializable(Symbols.scala:718)
at scala.tools.nsc.typechecker.Typers$Typer.typedModuleDef(Typers.scala:1797)
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5550)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5608)
at scala.tools.nsc.typechecker.Typers$Typer.scala$tools$nsc$typechecker$Typers$Typer$$typedStat$1(Typers.scala:2927)
at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$addSynthetics$1$2$$anonfun$apply$28.apply(Typers.scala:2989)
at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$addSynthetics$1$2$$anonfun$apply$28.apply(Typers.scala:2988)
at scala.Option.foreach(Option.scala:236)
at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$addSynthetics$1$2.apply(Typers.scala:2988)
at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$addSynthetics$1$2.apply(Typers.scala:2987)
at scala.collection.TraversableLike$WithFilter$$anonfun$foreach$1.apply(TraversableLike.scala:772)
at scala.collection.immutable.List.foreach(List.scala:318)
at scala.reflect.internal.Scopes$Scope.foreach(Scopes.scala:315)
at scala.collection.TraversableLike$WithFilter.foreach(TraversableLike.scala:771)
at scala.tools.nsc.typechecker.Typers$Typer.addSynthetics$1(Typers.scala:2987)
at scala.tools.nsc.typechecker.Typers$Typer.typedStats(Typers.scala:3035)
at scala.tools.nsc.typechecker.Typers$Typer.typedTemplate(Typers.scala:1918)
at scala.tools.nsc.typechecker.Typers$Typer.typedModuleDef(Typers.scala:1799)
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5550)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5608)
at scala.tools.nsc.typechecker.Typers$Typer.scala$tools$nsc$typechecker$Typers$Typer$$typedStat$1(Typers.scala:2927)
at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$60.apply(Typers.scala:3031)
at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$60.apply(Typers.scala:3031)
at scala.collection.immutable.List.loop$1(List.scala:170)
at scala.collection.immutable.List.mapConserve(List.scala:186)
at scala.tools.nsc.typechecker.Typers$Typer.typedStats(Typers.scala:3031)
at scala.tools.nsc.typechecker.Typers$Typer.typedPackageDef$1(Typers.scala:5267)
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5553)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5608)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5670)
at scala.tools.nsc.typechecker.Analyzer$typerFactory$$anon$3.apply(Analyzer.scala:99)
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(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
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:98)
at sbt.compiler.AggressiveCompile$$anonfun$3$$anonfun$compileScala$1$1.apply(AggressiveCompile.scala:98)
at sbt.compiler.AggressiveCompile$$anonfun$3$$anonfun$compileScala$1$1.apply(AggressiveCompile.scala:98)
at sbt.compiler.AggressiveCompile.sbt$compiler$AggressiveCompile$$timed(AggressiveCompile.scala:159)
at sbt.compiler.AggressiveCompile$$anonfun$3.compileScala$1(AggressiveCompile.scala:97)
at sbt.compiler.AggressiveCompile$$anonfun$3.apply(AggressiveCompile.scala:142)
at sbt.compiler.AggressiveCompile$$anonfun$3.apply(AggressiveCompile.scala:86)
at sbt.inc.IncrementalCompile$$anonfun$doCompile$1.apply(Compile.scala:38)
at sbt.inc.IncrementalCompile$$anonfun$doCompile$1.apply(Compile.scala:36)
at sbt.inc.Incremental$.cycle(Incremental.scala:73)
at sbt.inc.Incremental$$anonfun$1.apply(Incremental.scala:33)
at sbt.inc.Incremental$$anonfun$1.apply(Incremental.scala:32)
at sbt.inc.Incremental$.manageClassfiles(Incremental.scala:41)
at sbt.inc.Incremental$.compile(Incremental.scala:32)
at sbt.inc.IncrementalCompile$.apply(Compile.scala:26)
at sbt.compiler.AggressiveCompile.compile2(AggressiveCompile.scala:150)
at sbt.compiler.AggressiveCompile.compile1(AggressiveCompile.scala:70)
at sbt.compiler.AggressiveCompile.apply(AggressiveCompile.scala:45)
at sbt.Compiler$.apply(Compiler.scala:70)
at sbt.Defaults$.sbt$Defaults$$compileTaskImpl(Defaults.scala:736)
at sbt.Defaults$$anonfun$compileTask$1.apply(Defaults.scala:730)
at sbt.Defaults$$anonfun$compileTask$1.apply(Defaults.scala:730)
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(FutureTask.java:266)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
[error] (flow/compile:compile) scala.reflect.internal.MissingRequirementError: class scala.annotation.serializable in compiler mirror not found.
[error] Total time: 3 s, completed May 31, 2014 4:48:28 PM
from akka-serial.
Note the 2.10.3 reference
[error] library version: version 2.10.3-20130923-e2fec6b28dfd73482945ffab85d9b582d0cb9f17
[error] compiler version: version 2.10.3-20130923-e2fec6b28dfd73482945ffab85d9b582d0cb9f17
from akka-serial.
Hmmmm, yeah I find that 2.10.3 reference very strange, there is no place in the build definition that references 2.10.3. It's either 2.11.1 or 2.10.4 in cross-builds.
Could it be an ivy repo issue? Have you compiled scala locally recently?
from akka-serial.
Have not compiled scala locally.
I deleted local .ivy2 directory, just to sure that no corruption has occurred.
The defect is unchanged.
As far I can see, switching the version to 2.10.3 works fine.
I do not need 2.11 (yet), so this issue is not blocking me.
Seems it is probably a scalac and/or sbt problem.
from akka-serial.
My guess would be an sbt bug from the weird library-and-compiler-vs-actual-classpath version mismatch. You could try forwarding them your bug, maybe they can help you.
from akka-serial.
Thanks for the prompt feedback.
I will try the sbt team.
from akka-serial.
I tested the build on a fedora 20 vm. Whilst installing scala via yum, I saw the weird version string 2.10.3-20130923-e2fec6b28dfd73482945ffab85d9b582d0cb9f17. Unfortunately I couldn't get any further because sbt wasn't able to download any dependencies.
It looks as though this is an upstream problem, either directly from sbt or the package for fedora.
from akka-serial.
I get same issue when trying to run console from sbt
(class java.lang.RuntimeException/bad constant pool tag 18 at byte 76)
error: error while loading Arrays, class file '/Library/Java/JavaVirtualMachines/jdk1.8.0_05.jdk/Contents/Home/jre/lib/rt.jar(java/util/Arrays.class)' is broken
(class java.lang.RuntimeException/bad constant pool tag 18 at byte 755)
/var/folders/y0/2wl9dbxj649g1xjvkytwz6tc0000gn/T/sbt_38099e7d/xsbt/ExtractAPI.scala:489: error: java.util.Comparator does not take type parameters
private[this] val sortClasses = new Comparator[Symbol] {
^
5 errors found
error Error compiling sbt component 'compiler-interface'
Error compiling sbt component 'compiler-interface'
at sbt.compiler.AnalyzingCompiler$$anonfun$compileSources$1$$anonfun$apply$2.apply(AnalyzingCompiler.scala:145)
at sbt.compiler.AnalyzingCompiler$$anonfun$compileSources$1$$anonfun$apply$2.apply(AnalyzingCompiler.scala:142)
at sbt.IO$.withTemporaryDirectory(IO.scala:285)
at sbt.compiler.AnalyzingCompiler$$anonfun$compileSources$1.apply(AnalyzingCompiler.scala:142)
at sbt.compiler.AnalyzingCompiler$$anonfun$compileSources$1.apply(AnalyzingCompiler.scala:139)
at sbt.IO$.withTemporaryDirectory(IO.scala:285)
at sbt.compiler.AnalyzingCompiler$.compileSources(AnalyzingCompiler.scala:139)
at sbt.compiler.ComponentCompiler$$anonfun$compileAndInstall$1.apply(ComponentCompiler.scala:61)
at sbt.compiler.ComponentCompiler$$anonfun$compileAndInstall$1.apply(ComponentCompiler.scala:58)
at sbt.IO$.withTemporaryDirectory(IO.scala:285)
at sbt.compiler.ComponentCompiler.compileAndInstall(ComponentCompiler.scala:58)
at sbt.compiler.ComponentCompiler$$anonfun$getLocallyCompiled$1.apply$mcV$sp(ComponentCompiler.scala:47)
at sbt.IfMissing$Define.apply(ComponentManager.scala:77)
at sbt.ComponentManager.sbt$ComponentManager$$createAndCache$1(ComponentManager.scala:39)
at sbt.ComponentManager$$anonfun$sbt$ComponentManager$$fromGlobal$1$1.apply(ComponentManager.scala:27)
at sbt.ComponentManager$$anonfun$sbt$ComponentManager$$fromGlobal$1$1.apply(ComponentManager.scala:26)
at sbt.ComponentManager$$anon$1.call(ComponentManager.scala:50)
at xsbt.boot.Locks$GlobalLock.withChannel$1(Locks.scala:98)
at xsbt.boot.Locks$GlobalLock.xsbt$boot$Locks$GlobalLock$$withChannelRetries$1(Locks.scala:81)
at xsbt.boot.Locks$GlobalLock$$anonfun$withFileLock$1.apply(Locks.scala:102)
at xsbt.boot.Using$.withResource(Using.scala:11)
at xsbt.boot.Using$.apply(Using.scala:10)
at xsbt.boot.Locks$GlobalLock.ignoringDeadlockAvoided(Locks.scala:62)
at xsbt.boot.Locks$GlobalLock.withLock(Locks.scala:52)
at xsbt.boot.Locks$.apply0(Locks.scala:31)
from akka-serial.
I think it's also an upstream issue. Have a look here: sbt/sbt#1399
Specifically what Josh Suereth writes: "Oh, also, scala prior to 2.10.4 didn't support JDK8, so we can't either for the old compiler interfaces precompiled. SO, this is related to that. Drop your precompiled Scala projects and you amy see it start working."
If you're using Scala version >= 2.10.4 and still have problems, please open a new issue
from akka-serial.
Related Issues (20)
- any guidance how to make it work for windows? HOT 16
- Provide ARM binaries that can run on the Raspberry Pi HOT 10
- Bootsrapping is broken
- Unable to use Flow 2.4.0-M2 (unreleased dependency?) HOT 3
- latest versions not in maven central ? HOT 2
- Resolution issues
- Use CI
- Move native build tool to CMake HOT 1
- Add options to streaming sample
- Add support for Windows HOT 2
- change C code to scala-native HOT 2
- Testing Mocks HOT 3
- SBT Native Compilation on Mac HOT 1
- Watching Events on Port HOT 2
- Adding a Timeout if the Serial Port does not respond HOT 1
- Add Akka-Stream support HOT 2
- ARMv6 support disappeared HOT 2
- Serial has happened a problem,why? HOT 1
- Tests don't run on MacOS HOT 3
- java.lang.NoSuchMethodError on Java 8 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from akka-serial.