java.lang.AssertionError: assertion failed: while compiling: <console> during phase: mixin library version: version 2.10.0-20120511-110655-3511e5960d compiler version: version 2.10.0-20120511-110655-3511e5960d reconstructed args: -Ydead-code -optimise -Yinline -Yclosure-elim -Yinline-handlers -Xprint:typer last tree to typer: term n symbol: value n (flags: <paramaccessor> <triedcooking> private[this]) symbol definition: private[this] val n: Int tpe: <notype> symbol owners: value n -> class $read$$iw$$iw$ScalaColls -> package $line3 context owners: anonymous class $read$$iw$$iw$ScalaColls$$anonfun$1 -> package $line3 == Enclosing template or block == Template( // val <local $anonfun>: <notype>, tree.tpe=$line3.$read$$iw$$iw$ScalaColls$$anonfun$1 "scala.runtime.AbstractFunction0", "scala.Serializable" // parents ValDef( private "_" <tpt> <empty> ) // 3 statements DefDef( // final def apply(): Null final <method> <triedcooking> "apply" [] List(Nil) <tpt> // tree.tpe=Null null ) DefDef( // final def apply(): Object final <method> <bridge> "apply" [] List(Nil) <tpt> // tree.tpe=Object Apply( // final def apply(): Null, tree.tpe=Null $read$$iw$$iw$ScalaColls$$anonfun$1.this."apply" // final def apply(): Null, tree.tpe=()Null Nil ) ) DefDef( // def <init>(arg$outer: $line3.$read$$iw$$iw$ScalaColls): $line3.$read$$iw$$iw$ScalaColls$$anonfun$1 <method> <triedcooking> "<init>" [] // 1 parameter list ValDef( // $outer: $line3.$read$$iw$$iw$ScalaColls <param> "$outer" <tpt> // tree.tpe=$line3.$read$$iw$$iw$ScalaColls <empty> ) <tpt> // tree.tpe=$line3.$read$$iw$$iw$ScalaColls$$anonfun$1 Block( // tree.tpe=Unit Apply( // def <init>(): scala.runtime.AbstractFunction0 in class AbstractFunction0, tree.tpe=scala.runtime.AbstractFunction0 $read$$iw$$iw$ScalaColls$$anonfun$1.super."<init>" // def <init>(): scala.runtime.AbstractFunction0 in class AbstractFunction0, tree.tpe=()scala.runtime.AbstractFunction0 Nil ) () ) ) ) == Expanded type of tree == <notype> Not an impl class:(class Function0$class in package scala (flags: abstract <java>),trait Function0 in package scala (flags: abstract <interface> <trait> <lateinterface>))

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 Scala JIRA by Jason Zaugg, 1 year ago
-optimise -Yinline -Yclosure-elim -Yinline-handlers -Xprint:typer last tree to typer: term n symbol: value n (flags: <paramaccessor> <triedcooking> private[this]) symbol definition: private[this] val n: Int tpe: <notype
via Google Groups by Alex Black, 4 months ago
assertion failed: method differenceProperties in object Class$class in package model List(class DomainConfigTest, class BaseDomainFactory, trait QualifiedPropertyFactory, package derivedProperties, class BaseDomain, class PropertyValueDiffDesc
via Google Groups by Nils Kilden-Pedersen, 3 months ago
assertion failed: bad position: [8102:8101]
via GitHub by VladUreche
, 2 years ago
-> class C_L -> package benchmarks == Enclosing template or block == DefDef( // def length: Int in class C_L <method> <triedcooking> <synchronized> "length" [] List(Nil) <tpt> // tree.tpe=Int If( // tree.tpe=Int Apply( // final def !=(x$1
via GitHub by VladUreche
, 2 years ago
assertion failed: while compiling: mb_library_8.scala during phase: global=mixin, atPhase=cleanup library version: version 2.10.3-20130708-163611-504b5f3b15 compiler version: version 2.10.3-20130708-163611-504b5f3b15
via Google Groups by Haim Ashkenazi, 3 months ago
assertion failed: package <root>
java.lang.AssertionError: assertion failed: while compiling: <console> during phase: mixin library version: version 2.10.0-20120511-110655-3511e5960d compiler version: version 2.10.0-20120511-110655-3511e5960d reconstructed args: -Ydead-code -optimise -Yinline -Yclosure-elim -Yinline-handlers -Xprint:typer last tree to typer: term n symbol: value n (flags: <paramaccessor> <triedcooking> private[this]) symbol definition: private[this] val n: Int tpe: <notype> symbol owners: value n -> class $read$$iw$$iw$ScalaColls -> package $line3 context owners: anonymous class $read$$iw$$iw$ScalaColls$$anonfun$1 -> package $line3 == Enclosing template or block == Template( // val <local $anonfun>: <notype>, tree.tpe=$line3.$read$$iw$$iw$ScalaColls$$anonfun$1 "scala.runtime.AbstractFunction0", "scala.Serializable" // parents ValDef( private "_" <tpt> <empty> ) // 3 statements DefDef( // final def apply(): Null final <method> <triedcooking> "apply" [] List(Nil) <tpt> // tree.tpe=Null null ) DefDef( // final def apply(): Object final <method> <bridge> "apply" [] List(Nil) <tpt> // tree.tpe=Object Apply( // final def apply(): Null, tree.tpe=Null $read$$iw$$iw$ScalaColls$$anonfun$1.this."apply" // final def apply(): Null, tree.tpe=()Null Nil ) ) DefDef( // def <init>(arg$outer: $line3.$read$$iw$$iw$ScalaColls): $line3.$read$$iw$$iw$ScalaColls$$anonfun$1 <method> <triedcooking> "<init>" [] // 1 parameter list ValDef( // $outer: $line3.$read$$iw$$iw$ScalaColls <param> "$outer" <tpt> // tree.tpe=$line3.$read$$iw$$iw$ScalaColls <empty> ) <tpt> // tree.tpe=$line3.$read$$iw$$iw$ScalaColls$$anonfun$1 Block( // tree.tpe=Unit Apply( // def <init>(): scala.runtime.AbstractFunction0 in class AbstractFunction0, tree.tpe=scala.runtime.AbstractFunction0 $read$$iw$$iw$ScalaColls$$anonfun$1.super."<init>" // def <init>(): scala.runtime.AbstractFunction0 in class AbstractFunction0, tree.tpe=()scala.runtime.AbstractFunction0 Nil ) () ) ) ) == Expanded type of tree == <notype> Not an impl class:(class Function0$class in package scala (flags: abstract <java>),trait Function0 in package scala (flags: abstract <interface> <trait> <lateinterface>))
at scala.Predef$.assert(Predef.scala:182)
at scala.tools.nsc.Global.assert(Global.scala:189)
at scala.tools.nsc.transform.Mixin.mixinImplClassMembers$1(Mixin.scala:272)
at scala.tools.nsc.transform.Mixin$$anonfun$addMixedinMembers$2.apply(Mixin.scala:369)
at scala.collection.TraversableLike$WithFilter$$anonfun$foreach$1.apply(TraversableLike.scala:759)
at scala.collection.LinearSeqOptimized$class.foreach(LinearSeqOptimized.scala:59)
at scala.collection.immutable.List.foreach(List.scala:77)
at scala.tools.nsc.transform.Mixin.addMixedinMembers(Mixin.scala:364)
at scala.tools.nsc.transform.Mixin.addMixedinMembers(Mixin.scala:361)
at scala.tools.nsc.transform.Mixin$MixinTransformer.preTransform(Mixin.scala:531)
at scala.reflect.api.Trees$Transformer.transformTemplate(Trees.scala:1551)
at scala.reflect.api.Trees$Transformer$$anonfun$transform$2.apply(Trees.scala:1445)
at scala.reflect.api.Trees$Transformer$$anonfun$transform$2.apply(Trees.scala:1444)
at scala.reflect.api.Trees$Transformer.atOwner(Trees.scala:1574)
at scala.reflect.api.Trees$Transformer$$anonfun$transformStats$2.apply(Trees.scala:1567)
at scala.collection.immutable.List.loop$1(List.scala:163)
at scala.reflect.api.Trees$Transformer.transformStats(Trees.scala:1565)
at scala.reflect.api.Trees$Transformer$$anonfun$transform$1.apply(Trees.scala:1439)
at scala.reflect.api.Trees$Transformer$$anonfun$transform$1.apply(Trees.scala:1439)
at scala.reflect.api.Trees$Transformer.atOwner(Trees.scala:1574)
at scala.tools.nsc.transform.Mixin$MixinTransformer.transform(Mixin.scala:1245)
at scala.tools.nsc.ast.Trees$Transformer.transformUnit(Trees.scala:228)
at scala.tools.nsc.transform.Transform$Phase.apply(Transform.scala:30)
at scala.tools.nsc.Global$GlobalPhase.applyPhase(Global.scala:432)
at scala.tools.nsc.Global$GlobalPhase$$anonfun$run$1.apply(Global.scala:398)
at scala.collection.Iterator$class.foreach(Iterator.scala:724)
at scala.tools.nsc.Global$GlobalPhase.run(Global.scala:392)
at scala.tools.nsc.Global$Run.compileUnitsInternal(Global.scala:1400)
at scala.tools.nsc.Global$Run.compileUnits(Global.scala:1373)
at scala.tools.nsc.Global$Run.compileSources(Global.scala:1367)
at scala.tools.nsc.interpreter.IMain.compileSourcesKeepingRun(IMain.scala:461)
at scala.tools.nsc.interpreter.IMain$ReadEvalPrint.compileAndSaveRun(IMain.scala:845)
at scala.tools.nsc.interpreter.IMain$ReadEvalPrint.compile(IMain.scala:803)
at scala.tools.nsc.interpreter.IMain$Request.compile$lzycompute(IMain.scala:979)
at scala.tools.nsc.interpreter.IMain$Request.compile(IMain.scala:974)
at scala.tools.nsc.interpreter.IMain.interpret(IMain.scala:629)
at scala.tools.nsc.interpreter.IMain.interpret(IMain.scala:595)
at scala.tools.nsc.interpreter.ILoop.reallyInterpret$1(ILoop.scala:826)
at scala.tools.nsc.interpreter.ILoop.interpretStartingWith(ILoop.scala:883)
at scala.tools.nsc.interpreter.ILoop.reallyInterpret$1(ILoop.scala:844)
at scala.tools.nsc.interpreter.ILoop.interpretStartingWith(ILoop.scala:883)
at scala.tools.nsc.interpreter.ILoop.reallyInterpret$1(ILoop.scala:844)
at scala.tools.nsc.interpreter.ILoop.interpretStartingWith(ILoop.scala:883)
at scala.tools.nsc.interpreter.ILoop.command(ILoop.scala:783)
at scala.tools.nsc.interpreter.ILoop.processLine$1(ILoop.scala:647)
at scala.tools.nsc.interpreter.ILoop.innerLoop$1(ILoop.scala:654)
at scala.tools.nsc.interpreter.ILoop.loop(ILoop.scala:657)
at scala.tools.nsc.interpreter.ILoop$$anonfun$interpretAllFrom$1$$anonfun$apply$mcV$sp$1$$anonfun$apply$mcV$sp$2.apply(ILoop.scala:667)
at scala.tools.nsc.interpreter.ILoop$$anonfun$interpretAllFrom$1$$anonfun$apply$mcV$sp$1$$anonfun$apply$mcV$sp$2.apply(ILoop.scala:664)
at scala.tools.nsc.io.Streamable$Chars$class.applyReader(Streamable.scala:99)
at scala.tools.nsc.io.File.applyReader(File.scala:77)
at scala.tools.nsc.interpreter.ILoop$$anonfun$interpretAllFrom$1$$anonfun$apply$mcV$sp$1.apply$mcV$sp(ILoop.scala:664)
at scala.tools.nsc.interpreter.ILoop$$anonfun$interpretAllFrom$1$$anonfun$apply$mcV$sp$1.apply(ILoop.scala:664)
at scala.tools.nsc.interpreter.ILoop$$anonfun$interpretAllFrom$1$$anonfun$apply$mcV$sp$1.apply(ILoop.scala:664)
at scala.tools.nsc.interpreter.ILoop.savingReplayStack(ILoop.scala:141)
at scala.tools.nsc.interpreter.ILoop$$anonfun$interpretAllFrom$1.apply$mcV$sp(ILoop.scala:663)
at scala.tools.nsc.interpreter.ILoop$$anonfun$interpretAllFrom$1.apply(ILoop.scala:663)
at scala.tools.nsc.interpreter.ILoop$$anonfun$interpretAllFrom$1.apply(ILoop.scala:663)
at scala.tools.nsc.interpreter.ILoop.savingReader(ILoop.scala:146)
at scala.tools.nsc.interpreter.ILoop.interpretAllFrom(ILoop.scala:662)
at scala.tools.nsc.interpreter.ILoop$$anonfun$loadCommand$1.apply(ILoop.scala:726)
at scala.Function1$class.apply$mcVL$sp(Function1.scala:39)
at scala.runtime.AbstractFunction1.apply$mcVL$sp(AbstractFunction1.scala:12)
at scala.tools.nsc.interpreter.ILoop.withFile(ILoop.scala:719)
at scala.tools.nsc.interpreter.ILoop.loadCommand(ILoop.scala:725)
at scala.tools.nsc.interpreter.ILoop$$anonfun$standardCommands$8.apply(ILoop.scala:291)
at scala.tools.nsc.interpreter.ILoop$$anonfun$standardCommands$8.apply(ILoop.scala:291)
at scala.tools.nsc.interpreter.LoopCommands$LineCmd.apply(LoopCommands.scala:81)
at scala.tools.nsc.interpreter.ILoop.command(ILoop.scala:778)
at scala.tools.nsc.interpreter.ILoop.processLine$1(ILoop.scala:647)
at scala.tools.nsc.interpreter.ILoop.innerLoop$1(ILoop.scala:654)
at scala.tools.nsc.interpreter.ILoop.loop(ILoop.scala:657)
at scala.tools.nsc.interpreter.ILoop$$anonfun$process$1.apply$mcZ$sp(ILoop.scala:962)
at scala.tools.nsc.interpreter.ILoop$$anonfun$process$1.apply(ILoop.scala:924)
at scala.tools.nsc.interpreter.ILoop$$anonfun$process$1.apply(ILoop.scala:924)
at scala.tools.nsc.util.ScalaClassLoader$.savingContextLoader(ScalaClassLoader.scala:157)
at scala.tools.nsc.interpreter.ILoop.process(ILoop.scala:924)
at scala.tools.nsc.MainGenericRunner.runTarget$1(MainGenericRunner.scala:79)
at scala.tools.nsc.MainGenericRunner.process(MainGenericRunner.scala:92)
at scala.tools.nsc.MainGenericRunner$.main(MainGenericRunner.scala:101)
at scala.tools.nsc.MainGenericRunner.main(MainGenericRunner.scala)

Users with the same issue

Once, 1 month ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
22 more bugmates

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