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 }

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 soc
, 1 year ago
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 }
via GitHub by lrytz
, 1 year ago
assertion failed: cannot invokespecial java/util/Comparator.reversed, the interface is not a direct parent.
via GitHub by VladUreche
, 2 years ago
assertion failed: Stupid node: typeMappings$1.apply(nme2).zip[context.universe.Type, context.mirror.universe.Tree, List[(context.universe.Type, context.mirror.universe.Tree)]] false false
via GitHub by DavidDudson
, 3 months ago
) symbol package: <none> symbol owners: package scala call site: object SomeObject in package <empty> == Source file context for tree position == 240 object A 241 } 242 } 243 } 244 245 // Note: We cannot actually wrap this in test() 246 // as it cannot be an inner class definition.
via GitHub by sschaef
, 2 years ago
assertion failed: module Color#17793 with TypeRef
via GitHub by mpilquist
, 2 years ago
: simulacrum.Foo.Adapter[A]> -> method Adapter -> object Foo [error] call site: method Adapter in object Foo in package simulacrum [error] [error] == Source file context for tree position == [error] [error] 0 package simulacrum [error] 1 [error] 2 @typeclass trait Foo[@specialized(Int, Long) A] { [error] 3 def foo(x: A, y: A): A [error] 4 }
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.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)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.