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
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  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 | 4 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

    I manage an open source library (Accord) that heavily uses macros, and have recently had [reports|https://github.com/wix/accord/issues/103] that, when upgrading _client code_ from 2.12.0 to 2.12.1, compilation breaks. I've managed to reproduce this with the attached sbt project (see below for sample output). This is not merely a backwards compatibility issue, as it reproduces with a fresh local build of Accord with Scala 2.12.1. The reason I mentioned macros is that this issue seems quite similar to what Miles Sabin reported in [SI-9392], but his report never mentioned the initial "package parser" error and, if the ticket is accurate, a patch to make the compiler more lenient has made its way since before 2.12.0 went gold. I'll be more than happy to help (contact me here, by e-mail at tomer@tomergabel.com, or through the project Gitter channel), but a quick glance at scala-reflect's {{Types.scala}} indicates that I'm completely out my depth here. Output looks like this on my end: {code} pkunk:research tomerga$ sbt clean compile [info] Loading global plugins from /Users/tomerga/.sbt/0.13/plugins [info] Set current project to research (in build file:/Users/tomerga/research/) [success] Total time: 0 s, completed Feb 3, 2017 1:43:58 AM [info] Updating {file:/Users/tomerga/research/}research... [info] Resolving jline#jline;2.14.1 ... [info] Done updating. [info] Compiling 1 Scala source to /Users/tomerga/research/target/scala-2.12/classes... java.lang.IllegalArgumentException: requirement failed: package parser at scala.reflect.internal.Types$ModuleTypeRef.<init>(Types.scala:1879) at scala.reflect.internal.Types$PackageTypeRef.<init>(Types.scala:1897) at scala.reflect.internal.Types$TypeRef$.apply(Types.scala:2401) at scala.reflect.internal.Types.typeRef(Types.scala:3553) at scala.reflect.internal.Types.typeRef$(Types.scala:3536) at scala.reflect.internal.SymbolTable.typeRef(SymbolTable.scala:16) at scala.reflect.internal.Symbols$TypeSymbol.newTypeRef(Symbols.scala:3026) at scala.reflect.internal.Symbols$TypeSymbol.updateTypeCache(Symbols.scala:3079) at scala.reflect.internal.Symbols$TypeSymbol.maybeUpdateTypeCache(Symbols.scala:3065) at scala.reflect.internal.Symbols$TypeSymbol.tpe_$times(Symbols.scala:3043) at scala.reflect.internal.Symbols$Symbol.typeOfThis(Symbols.scala:2020) at scala.reflect.internal.Types$ThisType.underlying(Types.scala:1184) at scala.reflect.internal.Types$SimpleTypeProxy.boundSyms(Types.scala:150) at scala.reflect.internal.Types$SimpleTypeProxy.boundSyms$(Types.scala:150) at scala.reflect.internal.Types$SingletonType.boundSyms(Types.scala:1088) at scala.reflect.internal.tpe.TypeMaps$SubstMap.apply(TypeMaps.scala:734) at scala.reflect.internal.tpe.TypeMaps$SubstSymMap.apply(TypeMaps.scala:797) at scala.reflect.internal.tpe.TypeMaps$TypeMap.mapOver(TypeMaps.scala:110) at scala.reflect.internal.tpe.TypeMaps$SubstSymMap.apply(TypeMaps.scala:791) at scala.reflect.internal.tpe.TypeMaps$TypeMap.mapOver(TypeMaps.scala:110) at scala.reflect.internal.tpe.TypeMaps$SubstSymMap.apply(TypeMaps.scala:791) at scala.reflect.internal.Types$Type.substSym(Types.scala:727) at scala.reflect.internal.tpe.TypeMaps$TypeMap.mapOver(TypeMaps.scala:131) at scala.reflect.internal.transform.UnCurry$$anon$1.apply(UnCurry.scala:53) at scala.reflect.internal.transform.UnCurry.transformInfo(UnCurry.scala:154) at scala.reflect.internal.transform.UnCurry.transformInfo$(UnCurry.scala:148) at scala.tools.nsc.transform.UnCurry.transformInfo(UnCurry.scala:53) at scala.tools.nsc.transform.InfoTransform$Phase$$anon$1.transform(InfoTransform.scala:38) at scala.reflect.internal.Symbols$Symbol.rawInfo(Symbols.scala:1605) at scala.reflect.internal.Symbols$Symbol.info(Symbols.scala:1522) at scala.tools.nsc.transform.SpecializeTypes.$anonfun$specializeClass$31(SpecializeTypes.scala:808) at scala.tools.nsc.transform.SpecializeTypes.$anonfun$specializeClass$30(SpecializeTypes.scala:801) at scala.tools.nsc.transform.SpecializeTypes.specializeClass(SpecializeTypes.scala:799) at scala.tools.nsc.transform.SpecializeTypes.transformInfo(SpecializeTypes.scala:1215) at scala.tools.nsc.transform.InfoTransform$Phase$$anon$1.transform(InfoTransform.scala:38) at scala.reflect.internal.Symbols$Symbol.rawInfo(Symbols.scala:1605) at scala.reflect.internal.Symbols$Symbol.info(Symbols.scala:1522) at scala.reflect.internal.Types$TypeRef.baseClasses(Types.scala:2277) at scala.reflect.internal.Types.computeBaseClasses(Types.scala:1460) at scala.reflect.internal.Types.computeBaseClasses$(Types.scala:1437) at scala.reflect.internal.SymbolTable.computeBaseClasses(SymbolTable.scala:16) at scala.reflect.internal.Types.$anonfun$defineBaseClassesOfCompoundType$2(Types.scala:1581) at scala.reflect.internal.Types$CompoundType.memo(Types.scala:1414) at scala.reflect.internal.Types.defineBaseClassesOfCompoundType(Types.scala:1581) at scala.reflect.internal.Types.define$1(Types.scala:1548) at scala.reflect.internal.Types.defineBaseClassesOfCompoundType(Types.scala:1549) at scala.reflect.internal.Types.defineBaseClassesOfCompoundType$(Types.scala:1547) at scala.reflect.internal.SymbolTable.defineBaseClassesOfCompoundType(SymbolTable.scala:16) at scala.reflect.internal.Types$CompoundType.baseClasses(Types.scala:1391) at scala.reflect.internal.Types.$anonfun$defineBaseClassesOfCompoundType$3(Types.scala:1581) at scala.reflect.internal.Types$CompoundType.memo(Types.scala:1414) at scala.reflect.internal.Types.defineBaseClassesOfCompoundType(Types.scala:1581) at scala.reflect.internal.Types.define$1(Types.scala:1548) at scala.reflect.internal.Types.defineBaseClassesOfCompoundType(Types.scala:1549) at scala.reflect.internal.Types.defineBaseClassesOfCompoundType$(Types.scala:1547) at scala.reflect.internal.SymbolTable.defineBaseClassesOfCompoundType(SymbolTable.scala:16) at scala.reflect.internal.Types$CompoundType.baseClasses(Types.scala:1391) at scala.reflect.internal.Types$PolyType.baseClasses(Types.scala:2567) at scala.reflect.internal.Types$TypeRef.baseClasses(Types.scala:2277) at scala.reflect.internal.Types.computeBaseClasses(Types.scala:1460) at scala.reflect.internal.Types.computeBaseClasses$(Types.scala:1437) at scala.reflect.internal.SymbolTable.computeBaseClasses(SymbolTable.scala:16) at scala.reflect.internal.Types.$anonfun$defineBaseClassesOfCompoundType$2(Types.scala:1581) at scala.reflect.internal.Types$CompoundType.memo(Types.scala:1414) at scala.reflect.internal.Types.defineBaseClassesOfCompoundType(Types.scala:1581) at scala.reflect.internal.Types.define$1(Types.scala:1548) at scala.reflect.internal.Types.defineBaseClassesOfCompoundType(Types.scala:1549) at scala.reflect.internal.Types.defineBaseClassesOfCompoundType$(Types.scala:1547) at scala.reflect.internal.SymbolTable.defineBaseClassesOfCompoundType(SymbolTable.scala:16) at scala.reflect.internal.Types$CompoundType.baseClasses(Types.scala:1391) at scala.reflect.internal.Types.$anonfun$defineBaseClassesOfCompoundType$3(Types.scala:1581) at scala.reflect.internal.Types$CompoundType.memo(Types.scala:1414) at scala.reflect.internal.Types.defineBaseClassesOfCompoundType(Types.scala:1581) at scala.reflect.internal.Types.define$1(Types.scala:1548) at scala.reflect.internal.Types.defineBaseClassesOfCompoundType(Types.scala:1549) at scala.reflect.internal.Types.defineBaseClassesOfCompoundType$(Types.scala:1547) at scala.reflect.internal.SymbolTable.defineBaseClassesOfCompoundType(SymbolTable.scala:16) at scala.reflect.internal.Types$CompoundType.baseClasses(Types.scala:1391) at scala.reflect.internal.Types$PolyType.baseClasses(Types.scala:2567) at scala.reflect.internal.Types$TypeRef.baseClasses(Types.scala:2277) at scala.reflect.internal.Types.computeBaseClasses(Types.scala:1460) at scala.reflect.internal.Types.computeBaseClasses$(Types.scala:1437) at scala.reflect.internal.SymbolTable.computeBaseClasses(SymbolTable.scala:16) at scala.reflect.internal.Types.$anonfun$defineBaseClassesOfCompoundType$2(Types.scala:1581) at scala.reflect.internal.Types$CompoundType.memo(Types.scala:1414) at scala.reflect.internal.Types.defineBaseClassesOfCompoundType(Types.scala:1581) at scala.reflect.internal.Types.define$1(Types.scala:1548) at scala.reflect.internal.Types.defineBaseClassesOfCompoundType(Types.scala:1549) at scala.reflect.internal.Types.defineBaseClassesOfCompoundType$(Types.scala:1547) at scala.reflect.internal.SymbolTable.defineBaseClassesOfCompoundType(SymbolTable.scala:16) at scala.reflect.internal.Types$CompoundType.baseClasses(Types.scala:1391) at scala.reflect.internal.Types.$anonfun$defineBaseClassesOfCompoundType$3(Types.scala:1581) at scala.reflect.internal.Types$CompoundType.memo(Types.scala:1414) at scala.reflect.internal.Types.defineBaseClassesOfCompoundType(Types.scala:1581) at scala.reflect.internal.Types.define$1(Types.scala:1548) at scala.reflect.internal.Types.defineBaseClassesOfCompoundType(Types.scala:1549) at scala.reflect.internal.Types.defineBaseClassesOfCompoundType$(Types.scala:1547) at scala.reflect.internal.SymbolTable.defineBaseClassesOfCompoundType(SymbolTable.scala:16) at scala.reflect.internal.Types$CompoundType.baseClasses(Types.scala:1391) at scala.reflect.internal.Types$PolyType.baseClasses(Types.scala:2567) at scala.reflect.internal.Symbols$Symbol.ancestors(Symbols.scala:2129) at scala.reflect.internal.Symbols$Symbol.mixinClasses(Symbols.scala:2125) at scala.tools.nsc.transform.ExplicitOuter.transformInfo(ExplicitOuter.scala:178) at scala.tools.nsc.transform.ExplicitOuter.transformInfo(ExplicitOuter.scala:194) at scala.tools.nsc.transform.InfoTransform$Phase$$anon$1.transform(InfoTransform.scala:38) at scala.reflect.internal.Symbols$Symbol.rawInfo(Symbols.scala:1605) at scala.reflect.internal.Symbols$Symbol.hasCompleteInfo(Symbols.scala:1569) at scala.tools.nsc.backend.jvm.BCodeHelpers.completeSilentlyAndCheckErroneous(BCodeHelpers.scala:229) at scala.tools.nsc.backend.jvm.BTypesFromSymbols.$anonfun$classBTypeFromSymbol$5(BTypesFromSymbols.scala:122) at scala.collection.MapLike.getOrElse(MapLike.scala:128) at scala.collection.MapLike.getOrElse$(MapLike.scala:126) at scala.collection.concurrent.TrieMap.getOrElse(TrieMap.scala:631) at scala.tools.nsc.backend.jvm.BTypesFromSymbols.classBTypeFromSymbol(BTypesFromSymbols.scala:118) at scala.tools.nsc.backend.jvm.BTypesFromSymbols.buildNestedInfo(BTypesFromSymbols.scala:486) at scala.tools.nsc.backend.jvm.BTypesFromSymbols.setClassInfo(BTypesFromSymbols.scala:442) at scala.tools.nsc.backend.jvm.BTypesFromSymbols.$anonfun$classBTypeFromSymbol$5(BTypesFromSymbols.scala:126) at scala.collection.MapLike.getOrElse(MapLike.scala:128) at scala.collection.MapLike.getOrElse$(MapLike.scala:126) at scala.collection.concurrent.TrieMap.getOrElse(TrieMap.scala:631) at scala.tools.nsc.backend.jvm.BTypesFromSymbols.classBTypeFromSymbol(BTypesFromSymbols.scala:118) at scala.tools.nsc.backend.jvm.BTypesFromSymbols.$anonfun$typeToBType$1(BTypesFromSymbols.scala:177) at scala.collection.MapLike.getOrElse(MapLike.scala:128) at scala.collection.MapLike.getOrElse$(MapLike.scala:126) at scala.collection.AbstractMap.getOrElse(Map.scala:59) at scala.tools.nsc.backend.jvm.BTypesFromSymbols.primitiveOrClassToBType$1(BTypesFromSymbols.scala:177) at scala.tools.nsc.backend.jvm.BTypesFromSymbols.typeToBType(BTypesFromSymbols.scala:192) at scala.tools.nsc.backend.jvm.BTypesFromSymbols.methodBTypeFromMethodType(BTypesFromSymbols.scala:146) at scala.tools.nsc.backend.jvm.BTypesFromSymbols.methodBTypeFromSymbol(BTypesFromSymbols.scala:137) at scala.tools.nsc.backend.jvm.BTypesFromSymbols.$anonfun$buildInlineInfoFromClassSymbol$5(BTypesFromSymbols.scala:583) at scala.collection.Iterator$$anon$11.nextCur(Iterator.scala:473) at scala.collection.Iterator$$anon$11.hasNext(Iterator.scala:479) at scala.collection.Iterator.foreach(Iterator.scala:929) at scala.collection.Iterator.foreach$(Iterator.scala:929) at scala.collection.AbstractIterator.foreach(Iterator.scala:1406) at scala.collection.TraversableOnce.toMap(TraversableOnce.scala:316) at scala.collection.TraversableOnce.toMap$(TraversableOnce.scala:314) at scala.collection.AbstractIterator.toMap(Iterator.scala:1406) at scala.tools.nsc.backend.jvm.BTypesFromSymbols.buildInlineInfoFromClassSymbol(BTypesFromSymbols.scala:616) at scala.tools.nsc.backend.jvm.BTypesFromSymbols.buildFromSymbol$1(BTypesFromSymbols.scala:522) at scala.tools.nsc.backend.jvm.BTypesFromSymbols.buildInlineInfo(BTypesFromSymbols.scala:527) at scala.tools.nsc.backend.jvm.BTypesFromSymbols.setClassInfo(BTypesFromSymbols.scala:444) at scala.tools.nsc.backend.jvm.BTypesFromSymbols.$anonfun$classBTypeFromSymbol$5(BTypesFromSymbols.scala:126) at scala.collection.MapLike.getOrElse(MapLike.scala:128) at scala.collection.MapLike.getOrElse$(MapLike.scala:126) at scala.collection.concurrent.TrieMap.getOrElse(TrieMap.scala:631) at scala.tools.nsc.backend.jvm.BTypesFromSymbols.classBTypeFromSymbol(BTypesFromSymbols.scala:118) at scala.tools.nsc.backend.jvm.BCodeHelpers$BCInnerClassGen.internalName(BCodeHelpers.scala:529) at scala.tools.nsc.backend.jvm.BCodeHelpers$BCInnerClassGen.internalName$(BCodeHelpers.scala:529) at scala.tools.nsc.backend.jvm.BCodeHelpers$JCommonBuilder.internalName(BCodeHelpers.scala:1031) at scala.tools.nsc.backend.jvm.BCodeHelpers$BCForwardersGen.addForwarder(BCodeHelpers.scala:901) at scala.tools.nsc.backend.jvm.BCodeHelpers$BCForwardersGen.$anonfun$addForwarders$4(BCodeHelpers.scala:981) at scala.tools.nsc.backend.jvm.BCodeHelpers$BCForwardersGen.$anonfun$addForwarders$4$adapted(BCodeHelpers.scala:972) at scala.reflect.internal.Scopes$Scope.foreach(Scopes.scala:373) at scala.tools.nsc.backend.jvm.BCodeHelpers$BCForwardersGen.addForwarders(BCodeHelpers.scala:972) at scala.tools.nsc.backend.jvm.BCodeHelpers$BCForwardersGen.addForwarders$(BCodeHelpers.scala:962) at scala.tools.nsc.backend.jvm.BCodeHelpers$JCommonBuilder.addForwarders(BCodeHelpers.scala:1031) at scala.tools.nsc.backend.jvm.BCodeHelpers$JMirrorBuilder.genMirrorClass(BCodeHelpers.scala:1070) at scala.tools.nsc.backend.jvm.GenBCode$BCodePhase$Worker1.visit(GenBCode.scala:181) at scala.tools.nsc.backend.jvm.GenBCode$BCodePhase$Worker1.$anonfun$run$1(GenBCode.scala:139) at scala.tools.nsc.backend.jvm.GenBCode$BCodePhase$Worker1.run(GenBCode.scala:139) at scala.tools.nsc.backend.jvm.GenBCode$BCodePhase.buildAndSendToDisk(GenBCode.scala:381) at scala.tools.nsc.backend.jvm.GenBCode$BCodePhase.run(GenBCode.scala:350) at scala.tools.nsc.Global$Run.compileUnitsInternal(Global.scala:1418) at scala.tools.nsc.Global$Run.compileUnits(Global.scala:1403) at scala.tools.nsc.Global$Run.compileSources(Global.scala:1398) at scala.tools.nsc.Global$Run.compile(Global.scala:1492) 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:498) at sbt.compiler.AnalyzingCompiler.call(AnalyzingCompiler.scala:107) at sbt.compiler.AnalyzingCompiler.compile(AnalyzingCompiler.scala:53) at sbt.compiler.AnalyzingCompiler.compile(AnalyzingCompiler.scala:47) at sbt.compiler.MixedAnalyzingCompiler$$anonfun$compileScala$1$1.apply$mcV$sp(MixedAnalyzingCompiler.scala:50) at sbt.compiler.MixedAnalyzingCompiler$$anonfun$compileScala$1$1.apply(MixedAnalyzingCompiler.scala:50) at sbt.compiler.MixedAnalyzingCompiler$$anonfun$compileScala$1$1.apply(MixedAnalyzingCompiler.scala:50) at sbt.compiler.MixedAnalyzingCompiler.timed(MixedAnalyzingCompiler.scala:74) at sbt.compiler.MixedAnalyzingCompiler.compileScala$1(MixedAnalyzingCompiler.scala:49) at sbt.compiler.MixedAnalyzingCompiler.compile(MixedAnalyzingCompiler.scala:64) at sbt.compiler.IC$$anonfun$compileInternal$1.apply(IncrementalCompiler.scala:160) at sbt.compiler.IC$$anonfun$compileInternal$1.apply(IncrementalCompiler.scala:160) at sbt.inc.IncrementalCompile$$anonfun$doCompile$1.apply(Compile.scala:66) at sbt.inc.IncrementalCompile$$anonfun$doCompile$1.apply(Compile.scala:64) at sbt.inc.IncrementalCommon.cycle(IncrementalCommon.scala:32) at sbt.inc.Incremental$$anonfun$1.apply(Incremental.scala:72) at sbt.inc.Incremental$$anonfun$1.apply(Incremental.scala:71) at sbt.inc.Incremental$.manageClassfiles(Incremental.scala:99) at sbt.inc.Incremental$.compile(Incremental.scala:71) at sbt.inc.IncrementalCompile$.apply(Compile.scala:54) at sbt.compiler.IC$.compileInternal(IncrementalCompiler.scala:160) at sbt.compiler.IC$.incrementalCompile(IncrementalCompiler.scala:138) at sbt.Compiler$.compile(Compiler.scala:155) at sbt.Compiler$.compile(Compiler.scala:141) at sbt.Defaults$.sbt$Defaults$$compileIncrementalTaskImpl(Defaults.scala:879) at sbt.Defaults$$anonfun$compileIncrementalTask$1.apply(Defaults.scala:870) at sbt.Defaults$$anonfun$compileIncrementalTask$1.apply(Defaults.scala:868) at scala.Function1$$anonfun$compose$1.apply(Function1.scala:47) at sbt.$tilde$greater$$anonfun$$u2219$1.apply(TypeFunctions.scala:40) at sbt.std.Transform$$anon$4.work(System.scala:63) at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:228) at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:228) at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:17) at sbt.Execute.work(Execute.scala:237) at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:228) at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:228) at sbt.ConcurrentRestrictions$$anon$4$$anonfun$1.apply(ConcurrentRestrictions.scala:159) at sbt.CompletionService$$anon$2.call(CompletionService.scala:28) 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] Error while emitting Test.scala [error] requirement failed: package parser java.lang.AssertionError: assertion failed: ClassBType.info not yet assigned: LTest$; at scala.tools.nsc.backend.jvm.BTypes$ClassBType.info(BTypes.scala:861) at scala.tools.nsc.backend.jvm.BTypes$ClassBType.isInterface(BTypes.scala:904) at scala.tools.nsc.backend.jvm.BCodeBodyBuilder$PlainBodyBuilder.genCallMethod(BCodeBodyBuilder.scala:1073) at scala.tools.nsc.backend.jvm.BCodeBodyBuilder$PlainBodyBuilder.genApply(BCodeBodyBuilder.scala:701) at scala.tools.nsc.backend.jvm.BCodeBodyBuilder$PlainBodyBuilder.genLoad(BCodeBodyBuilder.scala:298) at scala.tools.nsc.backend.jvm.BCodeBodyBuilder$PlainBodyBuilder.genStat(BCodeBodyBuilder.scala:82) at scala.tools.nsc.backend.jvm.BCodeBodyBuilder$PlainBodyBuilder.$anonfun$genBlock$1(BCodeBodyBuilder.scala:812) at scala.tools.nsc.backend.jvm.BCodeBodyBuilder$PlainBodyBuilder.genBlock(BCodeBodyBuilder.scala:812) at scala.tools.nsc.backend.jvm.BCodeBodyBuilder$PlainBodyBuilder.genLoad(BCodeBodyBuilder.scala:364) at scala.tools.nsc.backend.jvm.BCodeSkelBuilder$PlainSkelBuilder.emitNormalMethodBody$1(BCodeSkelBuilder.scala:603) at scala.tools.nsc.backend.jvm.BCodeSkelBuilder$PlainSkelBuilder.genDefDef(BCodeSkelBuilder.scala:635) at scala.tools.nsc.backend.jvm.BCodeSkelBuilder$PlainSkelBuilder.gen(BCodeSkelBuilder.scala:509) at scala.tools.nsc.backend.jvm.BCodeSkelBuilder$PlainSkelBuilder.$anonfun$gen$7(BCodeSkelBuilder.scala:511) at scala.tools.nsc.backend.jvm.BCodeSkelBuilder$PlainSkelBuilder.gen(BCodeSkelBuilder.scala:511) at scala.tools.nsc.backend.jvm.BCodeSkelBuilder$PlainSkelBuilder.genPlainClass(BCodeSkelBuilder.scala:113) at scala.tools.nsc.backend.jvm.GenBCode$BCodePhase$Worker1.visit(GenBCode.scala:190) at scala.tools.nsc.backend.jvm.GenBCode$BCodePhase$Worker1.$anonfun$run$1(GenBCode.scala:139) at scala.tools.nsc.backend.jvm.GenBCode$BCodePhase$Worker1.run(GenBCode.scala:139) at scala.tools.nsc.backend.jvm.GenBCode$BCodePhase.buildAndSendToDisk(GenBCode.scala:381) at scala.tools.nsc.backend.jvm.GenBCode$BCodePhase.run(GenBCode.scala:350) at scala.tools.nsc.Global$Run.compileUnitsInternal(Global.scala:1418) at scala.tools.nsc.Global$Run.compileUnits(Global.scala:1403) at scala.tools.nsc.Global$Run.compileSources(Global.scala:1398) at scala.tools.nsc.Global$Run.compile(Global.scala:1492) 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:498) at sbt.compiler.AnalyzingCompiler.call(AnalyzingCompiler.scala:107) at sbt.compiler.AnalyzingCompiler.compile(AnalyzingCompiler.scala:53) at sbt.compiler.AnalyzingCompiler.compile(AnalyzingCompiler.scala:47) at sbt.compiler.MixedAnalyzingCompiler$$anonfun$compileScala$1$1.apply$mcV$sp(MixedAnalyzingCompiler.scala:50) at sbt.compiler.MixedAnalyzingCompiler$$anonfun$compileScala$1$1.apply(MixedAnalyzingCompiler.scala:50) at sbt.compiler.MixedAnalyzingCompiler$$anonfun$compileScala$1$1.apply(MixedAnalyzingCompiler.scala:50) at sbt.compiler.MixedAnalyzingCompiler.timed(MixedAnalyzingCompiler.scala:74) at sbt.compiler.MixedAnalyzingCompiler.compileScala$1(MixedAnalyzingCompiler.scala:49) at sbt.compiler.MixedAnalyzingCompiler.compile(MixedAnalyzingCompiler.scala:64) at sbt.compiler.IC$$anonfun$compileInternal$1.apply(IncrementalCompiler.scala:160) at sbt.compiler.IC$$anonfun$compileInternal$1.apply(IncrementalCompiler.scala:160) at sbt.inc.IncrementalCompile$$anonfun$doCompile$1.apply(Compile.scala:66) at sbt.inc.IncrementalCompile$$anonfun$doCompile$1.apply(Compile.scala:64) at sbt.inc.IncrementalCommon.cycle(IncrementalCommon.scala:32) at sbt.inc.Incremental$$anonfun$1.apply(Incremental.scala:72) at sbt.inc.Incremental$$anonfun$1.apply(Incremental.scala:71) at sbt.inc.Incremental$.manageClassfiles(Incremental.scala:99) at sbt.inc.Incremental$.compile(Incremental.scala:71) at sbt.inc.IncrementalCompile$.apply(Compile.scala:54) at sbt.compiler.IC$.compileInternal(IncrementalCompiler.scala:160) at sbt.compiler.IC$.incrementalCompile(IncrementalCompiler.scala:138) at sbt.Compiler$.compile(Compiler.scala:155) at sbt.Compiler$.compile(Compiler.scala:141) at sbt.Defaults$.sbt$Defaults$$compileIncrementalTaskImpl(Defaults.scala:879) at sbt.Defaults$$anonfun$compileIncrementalTask$1.apply(Defaults.scala:870) at sbt.Defaults$$anonfun$compileIncrementalTask$1.apply(Defaults.scala:868) at scala.Function1$$anonfun$compose$1.apply(Function1.scala:47) at sbt.$tilde$greater$$anonfun$$u2219$1.apply(TypeFunctions.scala:40) at sbt.std.Transform$$anon$4.work(System.scala:63) at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:228) at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:228) at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:17) at sbt.Execute.work(Execute.scala:237) at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:228) at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:228) at sbt.ConcurrentRestrictions$$anon$4$$anonfun$1.apply(ConcurrentRestrictions.scala:159) at sbt.CompletionService$$anon$2.call(CompletionService.scala:28) 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] Error while emitting Test.scala [error] assertion failed: ClassBType.info not yet assigned: LTest$; java.lang.AssertionError: assertion failed: ClassBType.info not yet assigned: LTest$; at scala.tools.nsc.backend.jvm.BTypes$ClassBType.info(BTypes.scala:861) at scala.tools.nsc.backend.jvm.BTypes$ClassBType.isNestedClass(BTypes.scala:924) at scala.tools.nsc.backend.jvm.analysis.BackendUtils.visitInternalName$1(BackendUtils.scala:266) at scala.tools.nsc.backend.jvm.analysis.BackendUtils.collectNestedClasses(BackendUtils.scala:331) at scala.tools.nsc.backend.jvm.GenBCode$BCodePhase$Worker2.setInnerClasses(GenBCode.scala:253) at scala.tools.nsc.backend.jvm.GenBCode$BCodePhase$Worker2.run(GenBCode.scala:268) at scala.tools.nsc.backend.jvm.GenBCode$BCodePhase.buildAndSendToDisk(GenBCode.scala:384) at scala.tools.nsc.backend.jvm.GenBCode$BCodePhase.run(GenBCode.scala:350) at scala.tools.nsc.Global$Run.compileUnitsInternal(Global.scala:1418) at scala.tools.nsc.Global$Run.compileUnits(Global.scala:1403) at scala.tools.nsc.Global$Run.compileSources(Global.scala:1398) at scala.tools.nsc.Global$Run.compile(Global.scala:1492) 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:498) at sbt.compiler.AnalyzingCompiler.call(AnalyzingCompiler.scala:107) at sbt.compiler.AnalyzingCompiler.compile(AnalyzingCompiler.scala:53) at sbt.compiler.AnalyzingCompiler.compile(AnalyzingCompiler.scala:47) at sbt.compiler.MixedAnalyzingCompiler$$anonfun$compileScala$1$1.apply$mcV$sp(MixedAnalyzingCompiler.scala:50) at sbt.compiler.MixedAnalyzingCompiler$$anonfun$compileScala$1$1.apply(MixedAnalyzingCompiler.scala:50) at sbt.compiler.MixedAnalyzingCompiler$$anonfun$compileScala$1$1.apply(MixedAnalyzingCompiler.scala:50) at sbt.compiler.MixedAnalyzingCompiler.timed(MixedAnalyzingCompiler.scala:74) at sbt.compiler.MixedAnalyzingCompiler.compileScala$1(MixedAnalyzingCompiler.scala:49) at sbt.compiler.MixedAnalyzingCompiler.compile(MixedAnalyzingCompiler.scala:64) at sbt.compiler.IC$$anonfun$compileInternal$1.apply(IncrementalCompiler.scala:160) at sbt.compiler.IC$$anonfun$compileInternal$1.apply(IncrementalCompiler.scala:160) at sbt.inc.IncrementalCompile$$anonfun$doCompile$1.apply(Compile.scala:66) at sbt.inc.IncrementalCompile$$anonfun$doCompile$1.apply(Compile.scala:64) at sbt.inc.IncrementalCommon.cycle(IncrementalCommon.scala:32) at sbt.inc.Incremental$$anonfun$1.apply(Incremental.scala:72) at sbt.inc.Incremental$$anonfun$1.apply(Incremental.scala:71) at sbt.inc.Incremental$.manageClassfiles(Incremental.scala:99) at sbt.inc.Incremental$.compile(Incremental.scala:71) at sbt.inc.IncrementalCompile$.apply(Compile.scala:54) at sbt.compiler.IC$.compileInternal(IncrementalCompiler.scala:160) at sbt.compiler.IC$.incrementalCompile(IncrementalCompiler.scala:138) at sbt.Compiler$.compile(Compiler.scala:155) at sbt.Compiler$.compile(Compiler.scala:141) at sbt.Defaults$.sbt$Defaults$$compileIncrementalTaskImpl(Defaults.scala:879) at sbt.Defaults$$anonfun$compileIncrementalTask$1.apply(Defaults.scala:870) at sbt.Defaults$$anonfun$compileIncrementalTask$1.apply(Defaults.scala:868) at scala.Function1$$anonfun$compose$1.apply(Function1.scala:47) at sbt.$tilde$greater$$anonfun$$u2219$1.apply(TypeFunctions.scala:40) at sbt.std.Transform$$anon$4.work(System.scala:63) at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:228) at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:228) at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:17) at sbt.Execute.work(Execute.scala:237) at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:228) at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:228) at sbt.ConcurrentRestrictions$$anon$4$$anonfun$1.apply(ConcurrentRestrictions.scala:159) at sbt.CompletionService$$anon$2.call(CompletionService.scala:28) 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] Error while emitting Test$$anon$1 [error] assertion failed: ClassBType.info not yet assigned: LTest$; java.lang.AssertionError: assertion failed: ClassBType.info not yet assigned: LTest$; at scala.tools.nsc.backend.jvm.BTypes$ClassBType.info(BTypes.scala:861) at scala.tools.nsc.backend.jvm.BTypes$ClassBType.isNestedClass(BTypes.scala:924) at scala.tools.nsc.backend.jvm.analysis.BackendUtils.visitInternalName$1(BackendUtils.scala:266) at scala.tools.nsc.backend.jvm.analysis.BackendUtils.collectNestedClasses(BackendUtils.scala:331) at scala.tools.nsc.backend.jvm.GenBCode$BCodePhase$Worker2.setInnerClasses(GenBCode.scala:253) at scala.tools.nsc.backend.jvm.GenBCode$BCodePhase$Worker2.run(GenBCode.scala:268) at scala.tools.nsc.backend.jvm.GenBCode$BCodePhase.buildAndSendToDisk(GenBCode.scala:384) at scala.tools.nsc.backend.jvm.GenBCode$BCodePhase.run(GenBCode.scala:350) at scala.tools.nsc.Global$Run.compileUnitsInternal(Global.scala:1418) at scala.tools.nsc.Global$Run.compileUnits(Global.scala:1403) at scala.tools.nsc.Global$Run.compileSources(Global.scala:1398) at scala.tools.nsc.Global$Run.compile(Global.scala:1492) 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:498) at sbt.compiler.AnalyzingCompiler.call(AnalyzingCompiler.scala:107) at sbt.compiler.AnalyzingCompiler.compile(AnalyzingCompiler.scala:53) at sbt.compiler.AnalyzingCompiler.compile(AnalyzingCompiler.scala:47) at sbt.compiler.MixedAnalyzingCompiler$$anonfun$compileScala$1$1.apply$mcV$sp(MixedAnalyzingCompiler.scala:50) at sbt.compiler.MixedAnalyzingCompiler$$anonfun$compileScala$1$1.apply(MixedAnalyzingCompiler.scala:50) at sbt.compiler.MixedAnalyzingCompiler$$anonfun$compileScala$1$1.apply(MixedAnalyzingCompiler.scala:50) at sbt.compiler.MixedAnalyzingCompiler.timed(MixedAnalyzingCompiler.scala:74) at sbt.compiler.MixedAnalyzingCompiler.compileScala$1(MixedAnalyzingCompiler.scala:49) at sbt.compiler.MixedAnalyzingCompiler.compile(MixedAnalyzingCompiler.scala:64) at sbt.compiler.IC$$anonfun$compileInternal$1.apply(IncrementalCompiler.scala:160) at sbt.compiler.IC$$anonfun$compileInternal$1.apply(IncrementalCompiler.scala:160) at sbt.inc.IncrementalCompile$$anonfun$doCompile$1.apply(Compile.scala:66) at sbt.inc.IncrementalCompile$$anonfun$doCompile$1.apply(Compile.scala:64) at sbt.inc.IncrementalCommon.cycle(IncrementalCommon.scala:32) at sbt.inc.Incremental$$anonfun$1.apply(Incremental.scala:72) at sbt.inc.Incremental$$anonfun$1.apply(Incremental.scala:71) at sbt.inc.Incremental$.manageClassfiles(Incremental.scala:99) at sbt.inc.Incremental$.compile(Incremental.scala:71) at sbt.inc.IncrementalCompile$.apply(Compile.scala:54) at sbt.compiler.IC$.compileInternal(IncrementalCompiler.scala:160) at sbt.compiler.IC$.incrementalCompile(IncrementalCompiler.scala:138) at sbt.Compiler$.compile(Compiler.scala:155) at sbt.Compiler$.compile(Compiler.scala:141) at sbt.Defaults$.sbt$Defaults$$compileIncrementalTaskImpl(Defaults.scala:879) at sbt.Defaults$$anonfun$compileIncrementalTask$1.apply(Defaults.scala:870) at sbt.Defaults$$anonfun$compileIncrementalTask$1.apply(Defaults.scala:868) at scala.Function1$$anonfun$compose$1.apply(Function1.scala:47) at sbt.$tilde$greater$$anonfun$$u2219$1.apply(TypeFunctions.scala:40) at sbt.std.Transform$$anon$4.work(System.scala:63) at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:228) at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:228) at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:17) at sbt.Execute.work(Execute.scala:237) at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:228) at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:228) at sbt.ConcurrentRestrictions$$anon$4$$anonfun$1.apply(ConcurrentRestrictions.scala:159) at sbt.CompletionService$$anon$2.call(CompletionService.scala:28) 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] Error while emitting Test$$anon$2 [error] assertion failed: ClassBType.info not yet assigned: LTest$; [error] four errors found [error] (compile:compileIncremental) Compilation failed [error] Total time: 8 s, completed Feb 3, 2017 1:44:05 AM {code}

    Scala JIRA | 2 months ago | Tomer Gabel
    java.lang.AssertionError: assertion failed: ClassBType.info not yet assigned: LTest$;

    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