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

GitHub | carabolic | 1 year ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Compiler Error When Using zinc

    GitHub | 1 year ago | carabolic
    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
  2. 0

    Upgrade to Scala 2.11.3

    GitHub | 2 years ago | sjrd
    java.lang.AssertionError: assertion failed:
  3. 0

    Scalac-crash

    Google Groups | 1 year ago | andreak
    java.lang.AssertionError: assertion failed:   Precisely this override requires its invoker to hand out a non-null AbstractFile.      while compiling: /home/andreak/dev/officenet_origo/upgrade/2015-09-06-upgrade-quarts-datamap/src/main/scala/com/visena/upgrade/application/Upgrader.scala         during phase: jvm      library version: version 2.11.8-20150915-122802-bb52b24bab     compiler version: version 2.11.8-20150915-122802-bb52b24bab   reconstructed args: -Ydelambdafy:method -nobootcp -target:jvm-1.8 -javabootclasspath : -Ybackend:GenBCode -classpath /usr/lib/jvm/java-8-oracle/jre/lib/charsets.jar:/usr/lib/jvm/java-8-oracle/jre/lib/jfxswt.jar:/usr/lib/jvm/java-8-oracle/jre/lib/resources.jar:/usr/lib/jvm/java-8-oracle/jre/lib/management-agent.jar:/usr/lib/jvm/java-8-oracle/jre/lib/deploy.jar:/usr/lib/jvm/java-8-oracle/jre/lib/jsse.jar:/usr/lib/jvm/java-8-oracle/jre/lib/javaws.jar:/usr/lib/jvm/java-8-oracle/jre/lib/jfr.jar:/usr/lib/jvm/java-8-oracle/jre/lib/rt.jar:/usr/lib/jvm/java-8-oracle/jre/lib/jce.jar:/usr/lib/jvm/java-8-oracle/jre/lib/plugin.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/zipfs.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/sunec.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/sunjce_provider.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/sunpkcs11.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/cldrdata.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/jfxrt.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/nashorn.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/dnsns.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/localedata.jar:/home/andreak/dev/officenet_origo/upgrade/2015-09-06-upgrade-quarts-datamap/target/classes:/home/andreak/.m2/repository/org/scala-lang/scala-library/2.11.8-SNAPSHOT/scala-library-2.11.8-SNAPSHOT.jar:/home/andreak/.m2/repository/org/scala-lang/scala-reflect/2.11.8-SNAPSHOT/scala-reflect-2.11.8-SNAPSHOT.jar:/home/andreak/.m2/repository/log4j/log4j/1.2.17/log4j-1.2.17.jar:/home/andreak/.m2/repository/com/impossibl/pgjdbc-ng/pgjdbc-ng/0.5/pgjdbc-ng-0.5-complete.jar:/home/andreak/.m2/repository/io/netty/netty-all/4.0.27.Final/netty-all-4.0.27.Final.jar:/home/andreak/.m2/repository/org/springframework/spring-jdbc/3.2.13.RELEASE/spring-jdbc-3.2.13.RELEASE.jar:/home/andreak/.m2/repository/org/springframework/spring-beans/3.2.13.RELEASE/spring-beans-3.2.13.RELEASE.jar:/home/andreak/.m2/repository/org/springframework/spring-core/3.2.13.RELEASE/spring-core-3.2.13.RELEASE.jar:/home/andreak/.m2/repository/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar:/home/andreak/.m2/repository/org/springframework/spring-tx/3.2.13.RELEASE/spring-tx-3.2.13.RELEASE.jar:/home/andreak/.m2/repository/org/quartz-scheduler/quartz/2.2.1/quartz-2.2.1.jar:/home/andreak/.m2/repository/c3p0/c3p0/0.9.1.1/c3p0-0.9.1.1.jar:/home/andreak/.m2/repository/org/slf4j/slf4j-api/1.6.6/slf4j-api-1.6.6.jar:/home/andreak/.m2/repository/org/apache/tomcat/tomcat-jdbc/8.0.24/tomcat-jdbc-8.0.24.jar:/home/andreak/.m2/repository/org/apache/tomcat/tomcat-juli/8.0.24/tomcat-juli-8.0.24.jar:/home/andreak/.m2/repository/org/springframework/spring-context/3.2.13.RELEASE/spring-context-3.2.13.RELEASE.jar:/home/andreak/.m2/repository/org/springframework/spring-aop/3.2.13.RELEASE/spring-aop-3.2.13.RELEASE.jar:/home/andreak/.m2/repository/aopalliance/aopalliance/1.0/aopalliance-1.0.jar:/home/andreak/.m2/repository/org/springframework/spring-expression/3.2.13.RELEASE/spring-expression-3.2.13.RELEASE.jar:/home/andreak/.m2/repository/org/springframework/spring-context-support/3.2.13.RELEASE/spring-context-support-3.2.13.RELEASE.jar:/home/andreak/.m2/repository/net/liftweb/lift-util_2.11/3.0-M7-visena/lift-util_2.11-3.0-M7-visena.jar:/home/andreak/.m2/repository/org/scala-lang/scala-compiler/2.11.8-SNAPSHOT/scala-compiler-2.11.8-20150916.011412-84.jar:/home/andreak/.m2/repository/org/scala-lang/scala-reflect/2.11.8-SNAPSHOT/scala-reflect-2.11.8-20150916.011412-84.jar:/home/andreak/.m2/repository/org/scala-lang/modules/scala-xml_2.11/1.0.4/scala-xml_2.11-1.0.4.jar:/home/andreak/.m2/repository/org/scala-lang/modules/scala-parser-combinators_2.11/1.0.4/scala-parser-combinators_2.11-1.0.4.jar:/home/andreak/.m2/repository/org/scala-lang/scala-library/2.11.8-SNAPSHOT/scala-library-2.11.8-20150916.011412-84.jar:/home/andreak/.m2/repository/net/liftweb/lift-actor_2.11/3.0-M7-visena/lift-actor_2.11-3.0-M7-visena.jar:/home/andreak/.m2/repository/net/liftweb/lift-common_2.11/3.0-M7-visena/lift-common_2.11-3.0-M7-visena.jar:/home/andreak/.m2/repository/net/liftweb/lift-json_2.11/3.0-M7-visena/lift-json_2.11-3.0-M7-visena.jar:/home/andreak/.m2/repository/org/scala-lang/scalap/2.11.8-SNAPSHOT/scalap-2.11.8-20150916.011412-84.jar:/home/andreak/.m2/repository/com/thoughtworks/paranamer/paranamer/2.7.1-visena/paranamer-2.7.1-visena.jar:/home/andreak/.m2/repository/net/liftweb/lift-markdown_2.11/3.0-M7-visena/lift-markdown_2.11-3.0-M7-visena.jar:/home/andreak/.m2/repository/joda-time/joda-time/2.1/joda-time-2.1.jar:/home/andreak/.m2/repository/org/joda/joda-convert/1.2/joda-convert-1.2.jar:/home/andreak/.m2/repository/commons-codec/commons-codec/1.6/commons-codec-1.6.jar:/home/andreak/.m2/repository/org/apache/commons/commons-lang3/3.3.2/commons-lang3-3.3.2.jar:/home/andreak/.m2/repository/nu/validator/htmlparser/htmlparser/1.4/htmlparser-1.4.jar:/home/andreak/.m2/repository/xerces/xercesImpl/2.11.0/xercesImpl-2.11.0.jar:/home/andreak/.m2/repository/xml-apis/xml-apis/1.4.01/xml-apis-1.4.01.jar:/home/andreak/.m2/repository/javax/mail/mail/1.4.7/mail-1.4.7.jar:/home/andreak/.m2/repository/javax/activation/activation/1.1/activation-1.1.jar   last tree to typer: TypeTree(class JobKey)        tree position: line 26 of /home/andreak/dev/officenet_origo/upgrade/2015-09-06-upgrade-quarts-datamap/src/main/scala/com/visena/upgrade/application/Upgrader.scala             tree tpe: org.quartz.JobKey               symbol: final class JobKey in package quartz    symbol definition: final class JobKey extends Key (a ClassSymbol)       symbol package: org.quartz        symbol owners: class JobKey            call site: constructor Upgrader$$anon$1 in package application == Source file context for tree position ==     23         transactionTemplate.execute(new TransactionCallbackWithoutResult() {     24             override def doInTransactionWithoutResult(transactionStatus: TransactionStatus) {     25                 scheduler.getJobKeys(GroupMatcher.groupStartsWith(groupKeyPrefix)).foreach{jobKey =>     26                 }     27             }     28         })     29     }
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    How to change Ivy home in IntelliJ IDEA

    Stack Overflow | 3 months ago | Joe Schleiptner
    java.lang.AssertionError: assertion failed: Precisely this override requires its invoker to hand out a non-null AbstractFile. while compiling: D:\Temp\scala\scalatest3\src\main\scala\Main.scala during phase: jvm library version: version 2.12.0 compiler version: version 2.12.0 reconstructed args: -nobootcp -javabootclasspath ; -classpath C:\Program Files\Java\jdk1.8.0_102\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.8.0_102\jre\lib\deploy.jar;C:\Program Files\Java\jdk1.8.0_102\jre\lib\ext\access-bridge-64.jar;C:\Program Files\Java\jdk1.8.0_102\jre\lib\ext\cldrdata.jar;C:\Program Files\Java\jdk1.8.0_102\jre\lib\ext\dnsns.jar;C:\Program Files\Java\jdk1.8.0_102\jre\lib\ext\jaccess.jar;C:\Program Files\Java\jdk1.8.0_102\jre\lib\ext\jfxrt.jar;C:\Program Files\Java\jdk1.8.0_102\jre\lib\ext\localedata.jar;C:\Program Files\Java\jdk1.8.0_102\jre\lib\ext\nashorn.jar;C:\Program Files\Java\jdk1.8.0_102\jre\lib\ext\sunec.jar;C:\Program Files\Java\jdk1.8.0_102\jre\lib\ext\sunjce_provider.jar;C:\Program Files\Java\jdk1.8.0_102\jre\lib\ext\sunmscapi.jar;C:\Program Files\Java\jdk1.8.0_102\jre\lib\ext\sunpkcs11.jar;C:\Program Files\Java\jdk1.8.0_102\jre\lib\ext\zipfs.jar;C:\Program Files\Java\jdk1.8.0_102\jre\lib\javaws.jar;C:\Program Files\Java\jdk1.8.0_102\jre\lib\jce.jar;C:\Program Files\Java\jdk1.8.0_102\jre\lib\jfr.jar;C:\Program Files\Java\jdk1.8.0_102\jre\lib\jfxswt.jar;C:\Program Files\Java\jdk1.8.0_102\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.8.0_102\jre\lib\management-agent.jar;C:\Program Files\Java\jdk1.8.0_102\jre\lib\plugin.jar;C:\Program Files\Java\jdk1.8.0_102\jre\lib\resources.jar;C:\Program Files\Java\jdk1.8.0_102\jre\lib\rt.jar;D:\temp\scala\scalatest3\target\scala-2.12\classes;D:\Bin\.ivy2\cache\org.scala-lang\scala-library\jars\scala-library-2.12.0.jar last tree to typer: TypeTree(class ListBuffer) tree position: line 4 of D:\Temp\scala\scalatest3\src\main\scala\Main.scala tree tpe: scala.collection.mutable.ListBuffer[() => Unit] symbol: final class ListBuffer in package mutable symbol definition: final class ListBuffer extends AbstractBuffer with Buffer with GenericTraversableTemplate with BufferLike with ReusableBuilder with SeqForwarder with Serializable (a ClassSymbol) symbol package: scala.collection.mutable symbol owners: class ListBuffer call site: constructor Main$delayedInit$body in class Main$delayedInit$body in package <empty> == Source file context for tree position == 1 * Created by P20058 on 14.11.2016. 2 */ 3 object Main extends App { 4 println("Hello scalatest34") 5 6 }
  6. 0

    Apache Spark Developers List - Run ScalaTest inside Intellij IDEA

    nabble.com | 1 year ago
    java.lang.AssertionError: assertion failed: List(object > package$DebugNode, object package$DebugNode) at > scala.reflect.internal.Symbols$Symbol.suchThat(Symbols.scala:1678) at > scala.reflect.internal.Symbols$ClassSymbol.companionModule0(Symbols.scala:2988) at > scala.reflect.internal.Symbols$ClassSymbol.companionModule(Symbols.scala:2991) at > scala.tools.nsc.backend.jvm.GenASM$JPlainBuilder.genClass(GenASM.scala:1371) at > scala.tools.nsc.backend.jvm.GenASM$AsmPhase.run(GenASM.scala:120) at > scala.tools.nsc.Global$Run.compileUnitsInternal(Global.scala:1583)

    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: 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()
    2. Scala Compiler
      Global$Run.compile
      1. scala.tools.nsc.backend.jvm.GenASM$JBuilder.javaName(GenASM.scala:548)
      2. scala.tools.nsc.backend.jvm.GenASM$JBuilder.addInnerClasses(GenASM.scala:637)
      3. scala.tools.nsc.backend.jvm.GenASM$JMirrorBuilder.genMirrorClass(GenASM.scala:2978)
      4. scala.tools.nsc.backend.jvm.GenASM$AsmPhase.run(GenASM.scala:114)
      5. scala.tools.nsc.Global$Run.compileUnitsInternal(Global.scala:1583)
      6. scala.tools.nsc.Global$Run.compileUnits(Global.scala:1557)
      7. scala.tools.nsc.Global$Run.compileSources(Global.scala:1553)
      8. scala.tools.nsc.Global$Run.compile(Global.scala:1662)
      8 frames
    3. SBT
      CompilerInterface.run
      1. xsbt.CachedCompiler0.run(CompilerInterface.scala:116)
      2. xsbt.CachedCompiler0.run(CompilerInterface.scala:95)
      3. xsbt.CompilerInterface.run(CompilerInterface.scala:26)
      3 frames
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:483)
      4 frames
    5. SBT
      AggressiveCompile.compile1
      1. sbt.compiler.AnalyzingCompiler.call(AnalyzingCompiler.scala:101)
      2. sbt.compiler.AnalyzingCompiler.compile(AnalyzingCompiler.scala:47)
      3. sbt.compiler.AnalyzingCompiler.compile(AnalyzingCompiler.scala:41)
      4. sbt.compiler.AggressiveCompile$$anonfun$3$$anonfun$compileScala$1$1.apply$mcV$sp(AggressiveCompile.scala:97)
      5. sbt.compiler.AggressiveCompile$$anonfun$3$$anonfun$compileScala$1$1.apply(AggressiveCompile.scala:97)
      6. sbt.compiler.AggressiveCompile$$anonfun$3$$anonfun$compileScala$1$1.apply(AggressiveCompile.scala:97)
      7. sbt.compiler.AggressiveCompile.sbt$compiler$AggressiveCompile$$timed(AggressiveCompile.scala:162)
      8. sbt.compiler.AggressiveCompile$$anonfun$3.compileScala$1(AggressiveCompile.scala:96)
      9. sbt.compiler.AggressiveCompile$$anonfun$3.apply(AggressiveCompile.scala:139)
      10. sbt.compiler.AggressiveCompile$$anonfun$3.apply(AggressiveCompile.scala:86)
      11. sbt.inc.IncrementalCompile$$anonfun$doCompile$1.apply(Compile.scala:38)
      12. sbt.inc.IncrementalCompile$$anonfun$doCompile$1.apply(Compile.scala:36)
      13. sbt.inc.IncrementalCommon.cycle(IncrementalCommon.scala:31)
      14. sbt.inc.Incremental$$anonfun$1.apply(Incremental.scala:39)
      15. sbt.inc.Incremental$$anonfun$1.apply(Incremental.scala:38)
      16. sbt.inc.Incremental$.manageClassfiles(Incremental.scala:66)
      17. sbt.inc.Incremental$.compile(Incremental.scala:38)
      18. sbt.inc.IncrementalCompile$.apply(Compile.scala:26)
      19. sbt.compiler.AggressiveCompile.compile2(AggressiveCompile.scala:153)
      20. sbt.compiler.AggressiveCompile.compile1(AggressiveCompile.scala:70)
      20 frames
    6. com.typesafe.zinc
      Nailgun.nailMain
      1. com.typesafe.zinc.Compiler.compile(Compiler.scala:201)
      2. com.typesafe.zinc.Compiler.compile(Compiler.scala:183)
      3. com.typesafe.zinc.Compiler.compile(Compiler.scala:174)
      4. com.typesafe.zinc.Main$.run(Main.scala:98)
      5. com.typesafe.zinc.Nailgun$.zinc(Nailgun.scala:93)
      6. com.typesafe.zinc.Nailgun$.nailMain(Nailgun.scala:82)
      7. com.typesafe.zinc.Nailgun.nailMain(Nailgun.scala)
      7 frames
    7. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:483)
      4 frames
    8. JRuby Main Maven Artifact
      NGSession.run
      1. com.martiansoftware.nailgun.NGSession.run(NGSession.java:280)
      1 frame