java.lang.AssertionError

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • GitHub comment 5352#241149559
    via GitHub by soc
    ,
  • Don't mix specializations
    via GitHub by VladUreche
    ,
  • GitHub comment 7#72323921
    via GitHub by mpilquist
    ,
    • java.lang.AssertionError: assertion failed: Cannot create ClassBType from NoSymbol while compiling: t6613/Broken.scala during phase: jvm library version: version 2.12.0-20160819-055227-d96cbbbe44 compiler version: version 2.12.0-20160819-230807-f419dc967d reconstructed args: <snip> last tree to typer: TypeTree(class Enummy$Broke) tree position: line 1 of t6613/Broken.scala tree tpe: Enummy$Broke symbol: (final sealed abstract) class Enummy$Broke symbol definition: final sealed abstract class Enummy$Broke extends Enum (a ClassSymbol) symbol package: <empty> symbol owners: class Enummy$Broke call site: constructor Broken in class Broken in package <empty> == Source file context for tree position == 0 class Broken() { def broken() = Enummy.Broke.CHIP } at scala.tools.nsc.Global.assert(Global.scala:229) at scala.tools.nsc.backend.jvm.BTypesFromSymbols.classBTypeFromSymbol(BTypesFromSymbols.scala:109) at scala.tools.nsc.backend.jvm.BCodeHelpers$BCInnerClassGen.internalName(BCodeHelpers.scala:529) at scala.tools.nsc.backend.jvm.BCodeBodyBuilder$PlainBodyBuilder.fieldOp(BCodeBodyBuilder.scala:412) at scala.tools.nsc.backend.jvm.BCodeBodyBuilder$PlainBodyBuilder.fieldLoad(BCodeBodyBuilder.scala:401) at scala.tools.nsc.backend.jvm.BCodeBodyBuilder$PlainBodyBuilder.genLoad(BCodeBodyBuilder.scala:341) at scala.tools.nsc.backend.jvm.BCodeSkelBuilder$PlainSkelBuilder.emitNormalMethodBody$1(BCodeSkelBuilder.scala:597) at scala.tools.nsc.backend.jvm.BCodeSkelBuilder$PlainSkelBuilder.genDefDef(BCodeSkelBuilder.scala:629) at scala.tools.nsc.backend.jvm.BCodeSkelBuilder$PlainSkelBuilder.gen(BCodeSkelBuilder.scala:503) at scala.tools.nsc.backend.jvm.BCodeSkelBuilder$PlainSkelBuilder.$anonfun$gen$7(BCodeSkelBuilder.scala:505) at scala.tools.nsc.backend.jvm.BCodeSkelBuilder$PlainSkelBuilder.$anonfun$gen$7$adapted(BCodeSkelBuilder.scala:505) at scala.collection.immutable.List.foreach(List.scala:378) at scala.tools.nsc.backend.jvm.BCodeSkelBuilder$PlainSkelBuilder.gen(BCodeSkelBuilder.scala:505) 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.Global$GlobalPhase.withCurrentUnitNoLog(Global.scala:395) 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:1412) at scala.tools.nsc.Global$Run.compileUnits(Global.scala:1397) at scala.tools.nsc.Global$Run.compileSources(Global.scala:1392) at scala.tools.nsc.Global$Run.compile(Global.scala:1486)
    No Bugmate found.