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 | 2 years ago
  1. 0

    Avocado-core does not build

    Google Groups | 2 years 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
    Check if you use the right path
  3. 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)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 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/}]
  6. 0

    Assertion failure compiling macros with Scala 2.12

    GitHub | 2 weeks ago | MichaelJAllen
    java.lang.AssertionError: assertion failed: while compiling: /home/some-user/src/some-project/some-module/macro/src/main/scala/some-url/util/package.scala during phase: globalPhase=terminal, enteringPhase=typer library version: version 2.12.1 compiler version: version 2.12.1 reconstructed args: -Ymacro-expand:none -diagrams -doc-footer Copyright © Some copyright message. -deprecation -groups -doc-title Some API Documentation -Xfatal-warnings -doc-version 0.0.4-SNAPSHOT -no-prefixes -classpath /some/path/macro/target/scala-2.12/classes:/home/some-user/.ivy2/cache/org.scoverage/scalac-scoverage-runtime_2.12/jars/scalac-scoverage-runtime_2.12-1.3.0.jar:/home/some-user/.ivy2/cache/org.scala-lang/scala-reflect/jars/scala-reflect-2.12.1.jar -bootclasspath /usr/lib/jvm/java-8-oracle/jre/lib/resources.jar:/usr/lib/jvm/java-8-oracle/jre/lib/rt.jar:/usr/lib/jvm/java-8-oracle/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-8-oracle/jre/lib/jsse.jar:/usr/lib/jvm/java-8-oracle/jre/lib/jce.jar:/usr/lib/jvm/java-8-oracle/jre/lib/charsets.jar:/usr/lib/jvm/java-8-oracle/jre/lib/jfr.jar:/usr/lib/jvm/java-8-oracle/jre/classes:/home/some-user/.ivy2/cache/org.scala-lang/scala-library/jars/scala-library-2.12.1.jar -d /home/some-user/src/some-project/target/scala-2.12/api -implicits last tree to typer: Ident(<argument>) tree position: <unknown> tree tpe: some-url.util.Resource symbol: <none> symbol definition: <none> (a NoSymbol) symbol package: <none> symbol owners: call site: package <root> in <none> <Cannot read source file>

    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