Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by carabolic
, 1 year ago
assertion failed: while compiling: /Users/carabolic/Development/repos/peel/peel-core/src/main/scala/org/peelframework/core/util/shell.scala during phase: jvm library version: version 2.10.5 compiler version: version 2.10.5
via GitHub by xoltar
, 1 year ago
assertion failed: while compiling: /Users/bkeller/src/scala-native/util/src/main/scala/scala/scalanative/util/package.scala during phase: jvm library version: version 2.10.6 compiler version: version 2.10.6 reconstructed
java.lang.AssertionError: assertion failed: 
     while compiling: /Users/carabolic/Development/repos/peel/peel-core/src/main/scala/org/peelframework/core/util/shell.scala
        during phase: jvm
     library version: version 2.10.5
    compiler version: version 2.10.5
  reconstructed args: -classpath [!!REDACTED!!] -feature
  last tree to typer: Literal(Constant(java.nio.channels.WritableByteChannel))
              symbol: null
   symbol definition: null
                 tpe: Class(classOf[java.nio.channels.WritableByteChannel])
       symbol owners: 
      context owners: anonymous class anonfun$1 -> package util
== Enclosing template or block ==
Template( // val <local $anonfun>: <notype>, tree.tpe=org.peelframework.core.util.anonfun$1
  "scala.runtime.AbstractFunction0", "scala.Serializable" // parents
  ValDef(
    private
    "_"
    <tpt>
    <empty>
  )
  // 4 statements
  DefDef( // final def apply(): String
    <method> final <triedcooking>
    "apply"
    []
    List(Nil)
    <tpt> // tree.tpe=String
    Apply( // def s(args: Seq): String in class StringContext, tree.tpe=String
      new StringContext(scala.this.Predef.wrapRefArray(Array[String]{"# ", ""}.$asInstanceOf[Array[Object]]()))."s" // def s(args: Seq): String in class StringContext, tree.tpe=(args: Seq)String
      Apply( // implicit def genericWrapArray(xs: Object): collection.mutable.WrappedArray in class LowPriorityImplicits, tree.tpe=collection.mutable.WrappedArray
        scala.this."Predef"."genericWrapArray" // implicit def genericWrapArray(xs: Object): collection.mutable.WrappedArray in class LowPriorityImplicits, tree.tpe=(xs: Object)collection.mutable.WrappedArray
        ArrayValue( // tree.tpe=Array[Object]
          <tpt> // tree.tpe=Object
          List(
            Apply( // final def format(x$1: java.util.Date): String in class DateFormat, tree.tpe=String
              TimeStamps$$anonfun$1.this."dateFormat$1"."format" // final def format(x$1: java.util.Date): String in class DateFormat, tree.tpe=(x$1: java.util.Date)String
              Apply( // def <init>(): java.util.Date in class Date, tree.tpe=java.util.Date
                new java.util.Date."<init>" // def <init>(): java.util.Date in class Date, tree.tpe=()java.util.Date
                Nil
              )
            )
          )
        )
      )
    )
  )
  DefDef( // final def apply(): Object
    <method> final <bridge>
    "apply"
    []
    List(Nil)
    <tpt> // tree.tpe=Object
    Apply( // final def apply(): String, tree.tpe=String
      TimeStamps$$anonfun$1.this."apply" // final def apply(): String, tree.tpe=()String
      Nil
    )
  )
  ValDef( // private[this] val dateFormat$1: java.text.SimpleDateFormat
    private <local> <synthetic> <paramaccessor> <triedcooking>
    "dateFormat$1"
    <tpt> // tree.tpe=java.text.SimpleDateFormat
    <empty>
  )
  DefDef( // def <init>(arg$outer: org.peelframework.core.util.OutputStreamProcessLogger,dateFormat$1: java.text.SimpleDateFormat): org.peelframework.core.util.anonfun$1
    <method> <triedcooking>
    "<init>"
    []
    // 1 parameter list
    ValDef( // $outer: org.peelframework.core.util.OutputStreamProcessLogger
      <param>
      "$outer"
      <tpt> // tree.tpe=org.peelframework.core.util.OutputStreamProcessLogger
      <empty>
    )
    ValDef( // dateFormat$1: java.text.SimpleDateFormat
      <param> <synthetic> <triedcooking>
      "dateFormat$1"
      <tpt> // tree.tpe=java.text.SimpleDateFormat
      <empty>
    )
    <tpt> // tree.tpe=org.peelframework.core.util.anonfun$1
    Block( // tree.tpe=Unit
      // 2 statements
      Assign( // tree.tpe=Unit
        TimeStamps$$anonfun$1.this."dateFormat$1" // private[this] val dateFormat$1: java.text.SimpleDateFormat, tree.tpe=java.text.SimpleDateFormat
        "dateFormat$1" // dateFormat$1: java.text.SimpleDateFormat, tree.tpe=java.text.SimpleDateFormat
      )
      Apply( // def <init>(): scala.runtime.AbstractFunction0 in class AbstractFunction0, tree.tpe=scala.runtime.AbstractFunction0
        TimeStamps$$anonfun$1.super."<init>" // def <init>(): scala.runtime.AbstractFunction0 in class AbstractFunction0, tree.tpe=()scala.runtime.AbstractFunction0
        Nil
      )
      ()
    )
  )
)
== Expanded type of tree ==
ConstantType(value = Constant(java.nio.channels.WritableByteChannel))
how can getCommonSuperclass() do its job if different class symbols get the same bytecode-level internal name: org/peelframework/core/cli/command/rsync/package$FolderEntry	at scala.tools.nsc.backend.jvm.GenASM$JBuilder.javaName(GenASM.scala:548)	at scala.tools.nsc.backend.jvm.GenASM$JBuilder.addInnerClasses(GenASM.scala:637)	at scala.tools.nsc.backend.jvm.GenASM$JMirrorBuilder.genMirrorClass(GenASM.scala:2978)	at scala.tools.nsc.backend.jvm.GenASM$AsmPhase.run(GenASM.scala:114)	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:116)	at xsbt.CachedCompiler0.run(CompilerInterface.scala:95)	at xsbt.CompilerInterface.run(CompilerInterface.scala:26)	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:101)	at sbt.compiler.AnalyzingCompiler.compile(AnalyzingCompiler.scala:47)	at sbt.compiler.AnalyzingCompiler.compile(AnalyzingCompiler.scala:41)	at sbt.compiler.AggressiveCompile$$anonfun$3$$anonfun$compileScala$1$1.apply$mcV$sp(AggressiveCompile.scala:97)	at sbt.compiler.AggressiveCompile$$anonfun$3$$anonfun$compileScala$1$1.apply(AggressiveCompile.scala:97)	at sbt.compiler.AggressiveCompile$$anonfun$3$$anonfun$compileScala$1$1.apply(AggressiveCompile.scala:97)	at sbt.compiler.AggressiveCompile.sbt$compiler$AggressiveCompile$$timed(AggressiveCompile.scala:162)	at sbt.compiler.AggressiveCompile$$anonfun$3.compileScala$1(AggressiveCompile.scala:96)	at sbt.compiler.AggressiveCompile$$anonfun$3.apply(AggressiveCompile.scala:139)	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.IncrementalCommon.cycle(IncrementalCommon.scala:31)	at sbt.inc.Incremental$$anonfun$1.apply(Incremental.scala:39)	at sbt.inc.Incremental$$anonfun$1.apply(Incremental.scala:38)	at sbt.inc.Incremental$.manageClassfiles(Incremental.scala:66)	at sbt.inc.Incremental$.compile(Incremental.scala:38)	at sbt.inc.IncrementalCompile$.apply(Compile.scala:26)	at sbt.compiler.AggressiveCompile.compile2(AggressiveCompile.scala:153)	at sbt.compiler.AggressiveCompile.compile1(AggressiveCompile.scala:70)	at com.typesafe.zinc.Compiler.compile(Compiler.scala:201)	at com.typesafe.zinc.Compiler.compile(Compiler.scala:183)	at com.typesafe.zinc.Compiler.compile(Compiler.scala:174)	at com.typesafe.zinc.Main$.run(Main.scala:98)	at com.typesafe.zinc.Nailgun$.zinc(Nailgun.scala:93)	at com.typesafe.zinc.Nailgun$.nailMain(Nailgun.scala:82)	at com.typesafe.zinc.Nailgun.nailMain(Nailgun.scala)	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 com.martiansoftware.nailgun.NGSession.run(NGSession.java:280)