java.lang.AssertionError: assertion failed: Tried to find 'samtools' in '/home/project/avocado/avocado-core/target/scala-2.10.3/classes/htsjdk' but it is not a directory

Google Groups | Unknown author | 1 year ago
  1. 0

    Avocado-core does not build

    Google Groups | 1 year ago | Unknown author
    java.lang.AssertionError: assertion failed: Tried to find 'samtools' in '/home/project/avocado/avocado-core/target/scala-2.10.3/classes/htsjdk' but it is not a directory
  2. 0

    cfor compilation crashes

    GitHub | 4 years ago | ochafik
    java.lang.AssertionError: assertion failed: [error] while compiling: /Users/ochafik/Documents/Perso/spire/core/src/test/scala/spire/SyntaxTest.scala [error] during phase: constructors [error] library version: version 2.10.0 [error] compiler version: version 2.10.0 [error] reconstructed args: -optimise -feature -Yinline -Yclosure-elim -bootclasspath /Library/Java/JavaVirtualMachines/jdk1.7.0_13.jdk/Contents/Home/jre/lib/resources.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_13.jdk/Contents/Home/jre/lib/rt.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_13.jdk/Contents/Home/jre/lib/sunrsasign.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_13.jdk/Contents/Home/jre/lib/jsse.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_13.jdk/Contents/Home/jre/lib/jce.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_13.jdk/Contents/Home/jre/lib/charsets.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_13.jdk/Contents/Home/jre/lib/jfr.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_13.jdk/Contents/Home/jre/lib/JObjC.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_13.jdk/Contents/Home/jre/classes:/Users/ochafik/.sbt/0.12.2/boot/scala-2.10.0/lib/scala-library.jar -unchecked -language:experimental.macros -language:higherKinds -language:implicitConversions -Ydead-code -deprecation -Yinline-warnings -Yinline-handlers -d /Users/ochafik/Documents/Perso/spire/core/target/scala-2.10/test-classes -classpath /Users/ochafik/Documents/Perso/spire/core/target/scala-2.10/test-classes:/Users/ochafik/Documents/Perso/spire/core/target/scala-2.10/classes:/Users/ochafik/.ivy2/cache/org.scala-lang/scala-reflect/jars/scala-reflect-2.10.0.jar:/Users/ochafik/.ivy2/cache/org.scalatest/scalatest_2.10/jars/scalatest_2.10-1.9.1.jar:/Users/ochafik/.ivy2/cache/org.scala-lang/scala-actors/jars/scala-actors-2.10.0.jar:/Users/ochafik/.ivy2/cache/org.scalacheck/scalacheck_2.10/jars/scalacheck_2.10-1.10.0.jar:/Users/ochafik/.ivy2/cache/org.scala-tools.testing/test-interface/jars/test-interface-0.5.jar [error] [error] last tree to typer: Assign [error] symbol: null [error] symbol definition: null [error] tpe: Unit [error] symbol owners: [error] context owners: class A$1 -> anonymous class $anonfun$4 -> class SyntaxTest -> package spire [error] ... == Expanded type of tree == TypeRef(TypeSymbol(final abstract class Unit extends )) 1 not in List(value $outer, value 1)
  3. 0

    play run assertion when trying to run play-slick/samples/computer-database

    GitHub | 3 years ago | zorrme
    play.api.UnexpectedException: Unexpected exception[AssertionError: assertion failed: not a type: symbol loaded from class models.DAO$$anonfun$1 in trait DAO with name $$anonfun$1 and classloader ReloadableClassLoader(v1){file://play-slick/samples/computer-database/target/scala-2.10/classes/, file://play-slick/target/scala-2.10/classes/}]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Overriding a JS native method with default parameters leads to AssertionError in the compiler

    GitHub | 4 months ago | glmars
    java.lang.AssertionError: assertion failed: while compiling: newSource1.scala during phase: jscode library version: version 2.11.8 compiler version: version 2.11.8 reconstructed args: -bootclasspath C:\Users\someuser\.m2\repository\org\scala-lang\scala-library\2.10.3\scala-library-2.10.3.jar -classpath C:\Users\some\.m2\repository\org\scala-js\scalajs-library_2.10\0.6.10\scalajs-library_2.10-0.6.10.jar -d C:\work\testprojects\scala-js\target last tree to typer: Ident(option) tree position: line 11 of newSource1.scala tree tpe: scala.scalajs.js.Any symbol: value option symbol definition: option: scala.scalajs.js.Any (a TermSymbol) symbol package: <empty> symbol owners: value option -> method add -> class Derived call site: class Derived in package <empty> <Cannot read source file>
  6. 0

    Error in erasure phase when compiling Scala in IntelliJ 13

    Stack Overflow | 3 years ago | Jeff May
    java.lang.AssertionError: assertion failed: while compiling: /code/zensey/backend/common/CareDataExchange/src/test/scala/com/careverge/cigna/NotifierTest.scala during phase: erasure library version: version 2.10.3 compiler version: version 2.10.3 reconstructed args: -deprecation -language:experimental.macros -feature -classpath giant:ass:classpath </code></pre> <p>-unchecked -bootclasspath /Library/Java/JavaVirtualMachines/jdk1.7.0_25.jdk/Contents/Home/jre/lib/resources.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_25.jdk/Contents/Home/jre/lib/rt.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_25.jdk/Contents/Home/jre/lib/sunrsasign.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_25.jdk/Contents/Home/jre/lib/jsse.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_25.jdk/Contents/Home/jre/lib/jce.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_25.jdk/Contents/Home/jre/lib/charsets.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_25.jdk/Contents/Home/jre/lib/jfr.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_25.jdk/Contents/Home/jre/lib/JObjC.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_25.jdk/Contents/Home/jre/classes:/Users/AudaxLoaner1/.sbt/boot/scala-2.10.3/lib/scala-library.jar last tree to typer: TypeTree(trait Seq) symbol: trait Seq in package collection (flags: abstract ) symbol definition: abstract trait Seq[+A] extends PartialFunction[Int,A] with Iterable[A] with GenSeq[A] with GenericTraversableTemplate[A,Seq] with SeqLike[A,Seq[A]] tpe: Seq symbol owners: trait Seq -> package collection context owners: method convertToStringShouldWrapper -> class CareMailNotifierUtilTest -> package cigna == Enclosing template or block == Apply( // override implicit def convertToStringShouldWrapper(o: String): ShouldMatchers.this.StringShouldWrapper in trait ShouldMatchers, tree.tpe=org.scalatest.matchers.ShouldMatchers#StringShouldWrapper<br> CareMailNotifierUtilTest.this."convertToStringShouldWrapper" // override implicit def convertToStringShouldWrapper(o: String): ShouldMatchers.this.StringShouldWrapper in trait ShouldMatchers, tree.tpe=(o: String)org.scalatest.matchers.ShouldMatchers#StringShouldWrapper "o" // o: String, tree.tpe=String ) == Expanded type of tree == TypeRef( TypeSymbol( abstract trait Seq[+A] extends PartialFunction[Int,A] with Iterable[A] with GenSeq[A] with GenericTraversableTemplate[A,Seq] with SeqLike[A,Seq[A]] ) normalize = PolyType( typeParams = List(TypeParam(+A)) resultType = TypeRef( TypeSymbol( abstract trait Seq[+A] extends PartialFunction[Int,A] with Iterable[A] with GenSeq[A] with GenericTraversableTemplate[A,Seq] with SeqLike[A,Seq[A]]</p> <pre><code> ) args = List(TypeParamTypeRef(TypeParam(+A))) ) ) ) class StringShouldWrapper at scala.tools.nsc.transform.AddInterfaces.transformMixinInfo(AddInterfaces.scala:213) </code></pre> <p>at scala.tools.nsc.transform.Erasure.transformInfo(Erasure.scala:329) at scala.tools.nsc.transform.InfoTransform$Phase$$anon$1.transform(InfoTransform.scala:38)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.AssertionError

      assertion failed: Tried to find 'samtools' in '/home/project/avocado/avocado-core/target/scala-2.10.3/classes/htsjdk' but it is not a directory

      at scala.reflect.io.AbstractFile.subdirectoryNamed()
    2. Scala
      AbstractFile.subdirectoryNamed
      1. scala.reflect.io.AbstractFile.subdirectoryNamed(AbstractFile.scala:254)
      1 frame
    3. Scala Compiler
      Global$Run.compile
      1. scala.tools.nsc.backend.jvm.BytecodeWriters$class.getFile(BytecodeWriters.scala:31)
      2. scala.tools.nsc.backend.jvm.BytecodeWriters$class.scala$tools$nsc$backend$jvm$BytecodeWriters$$getFile(BytecodeWriters.scala:37)
      3. scala.tools.nsc.backend.jvm.BytecodeWriters$ClassBytecodeWriter$class.writeClass(BytecodeWriters.scala:89)
      4. scala.tools.nsc.backend.jvm.GenASM$AsmPhase$$anon$4.writeClass(GenASM.scala:67)
      5. scala.tools.nsc.backend.jvm.GenASM$JBuilder.writeIfNotTooBig(GenASM.scala:458)
      6. scala.tools.nsc.backend.jvm.GenASM$JPlainBuilder.genClass(GenASM.scala:1402)
      7. scala.tools.nsc.backend.jvm.GenASM$AsmPhase.run(GenASM.scala:119)
      8. scala.tools.nsc.Global$Run.compileUnitsInternal(Global.scala:1583)
      9. scala.tools.nsc.Global$Run.compileUnits(Global.scala:1557)
      10. scala.tools.nsc.Global$Run.compileSources(Global.scala:1553)
      11. scala.tools.nsc.Global$Run.compile(Global.scala:1662)
      11 frames
    4. SBT
      CompilerInterface.run
      1. xsbt.CachedCompiler0.run(CompilerInterface.scala:123)
      2. xsbt.CachedCompiler0.run(CompilerInterface.scala:99)
      3. xsbt.CompilerInterface.run(CompilerInterface.scala:27)
      3 frames
    5. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    6. SBT
      AggressiveCompile.compile1
      1. sbt.compiler.AnalyzingCompiler.call(AnalyzingCompiler.scala:102)
      2. sbt.compiler.AnalyzingCompiler.compile(AnalyzingCompiler.scala:48)
      3. sbt.compiler.AnalyzingCompiler.compile(AnalyzingCompiler.scala:41)
      4. sbt.compiler.AggressiveCompile$$anonfun$3$$anonfun$compileScala$1$1.apply$mcV$sp(AggressiveCompile.scala:99)
      5. sbt.compiler.AggressiveCompile$$anonfun$3$$anonfun$compileScala$1$1.apply(AggressiveCompile.scala:99)
      6. sbt.compiler.AggressiveCompile$$anonfun$3$$anonfun$compileScala$1$1.apply(AggressiveCompile.scala:99)
      7. sbt.compiler.AggressiveCompile.sbt$compiler$AggressiveCompile$$timed(AggressiveCompile.scala:166)
      8. sbt.compiler.AggressiveCompile$$anonfun$3.compileScala$1(AggressiveCompile.scala:98)
      9. sbt.compiler.AggressiveCompile$$anonfun$3.apply(AggressiveCompile.scala:143)
      10. sbt.compiler.AggressiveCompile$$anonfun$3.apply(AggressiveCompile.scala:87)
      11. sbt.inc.IncrementalCompile$$anonfun$doCompile$1.apply(Compile.scala:39)
      12. sbt.inc.IncrementalCompile$$anonfun$doCompile$1.apply(Compile.scala:37)
      13. sbt.inc.IncrementalCommon.cycle(Incremental.scala:99)
      14. sbt.inc.Incremental$$anonfun$1.apply(Incremental.scala:38)
      15. sbt.inc.Incremental$$anonfun$1.apply(Incremental.scala:37)
      16. sbt.inc.Incremental$.manageClassfiles(Incremental.scala:65)
      17. sbt.inc.Incremental$.compile(Incremental.scala:37)
      18. sbt.inc.IncrementalCompile$.apply(Compile.scala:27)
      19. sbt.compiler.AggressiveCompile.compile2(AggressiveCompile.scala:157)
      20. sbt.compiler.AggressiveCompile.compile1(AggressiveCompile.scala:71)
      20 frames
    7. com.typesafe.zinc
      Nailgun.nailMain
      1. com.typesafe.zinc.Compiler.compile(Compiler.scala:193)
      2. com.typesafe.zinc.Compiler.compile(Compiler.scala:174)
      3. com.typesafe.zinc.Main$.run(Main.scala:98)
      4. com.typesafe.zinc.Nailgun$.zinc(Nailgun.scala:93)
      5. com.typesafe.zinc.Nailgun$.nailMain(Nailgun.scala:82)
      6. com.typesafe.zinc.Nailgun.nailMain(Nailgun.scala)
      6 frames
    8. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:606)
      3 frames
    9. JRuby Main Maven Artifact
      NGSession.run
      1. com.martiansoftware.nailgun.NGSession.run(NGSession.java:280)[INFO]
      1 frame