java.lang.AssertionError: assertion failed: while compiling: newSource1.scala during phase: jscode library version: version 2.11.8 compiler version: version 2.11.8 reconstructed args: -bootclasspath C:\Users\someuser\.m2\repository\org\scala-lang\scala-library\2.10.3\scala-library-2.10.3.jar -classpath C:\Users\some\.m2\repository\org\scala-js\scalajs-library_2.10\0.6.10\scalajs-library_2.10-0.6.10.jar -d C:\work\testprojects\scala-js\target last tree to typer: Ident(option) tree position: line 11 of newSource1.scala tree tpe: scala.scalajs.js.Any symbol: value option symbol definition: option: scala.scalajs.js.Any (a TermSymbol) symbol package: <empty> symbol owners: value option -> method add -> class Derived call site: class Derived in package <empty> <Cannot read source file>

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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via GitHub by glmars
, 1 year ago
position: line 11 of newSource1.scala tree tpe: scala.scalajs.js.Any symbol: value option symbol definition: option: scala.scalajs.js.Any (a TermSymbol) symbol package: <empty> symbol owners: value option -> method add -> class Derived call site: class Derived in package <empty> <Cannot read source file>
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 VladUreche
, 2 years ago
) symbol package: miniboxing.tests.compile.mark.all.flag symbol owners: value miniboxing|tests|compile|mark|all|flag|C_J|V_TypeTag -> class C_J call site: method $init$ in object C$mcZ$sp$class in package flag == Source file context
via GitHub by mpilquist
, 2 years ago
-library-2.11.5.jar [error] [error] last tree to typer: Ident($anon) [error] tree position: line 3 of /Users/mpilquist/Development/projects/simulacrum/src/test/scala/simulacrum/foo.scala [error] tree tpe: simulacrum.Foo.Adapter[A
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 }
java.lang.AssertionError: assertion failed: while compiling: newSource1.scala during phase: jscode library version: version 2.11.8 compiler version: version 2.11.8 reconstructed args: -bootclasspath C:\Users\someuser\.m2\repository\org\scala-lang\scala-library\2.10.3\scala-library-2.10.3.jar -classpath C:\Users\some\.m2\repository\org\scala-js\scalajs-library_2.10\0.6.10\scalajs-library_2.10-0.6.10.jar -d C:\work\testprojects\scala-js\target last tree to typer: Ident(option) tree position: line 11 of newSource1.scala tree tpe: scala.scalajs.js.Any symbol: value option symbol definition: option: scala.scalajs.js.Any (a TermSymbol) symbol package: <empty> symbol owners: value option -> method add -> class Derived call site: class Derived in package <empty> <Cannot read source file>
at scala.tools.nsc.Global.assert(Global.scala:261)
at scala.tools.nsc.Global.assert(Global.scala:264)
at org.scalajs.core.compiler.GenJSExports$JSExportsPhase$$anonfun$genPrepareArgs$2.apply(GenJSExports.scala:670)
at org.scalajs.core.compiler.GenJSExports$JSExportsPhase$$anonfun$genPrepareArgs$2.apply(GenJSExports.scala:630)
at scala.collection.TraversableLike$WithFilter$$anonfun$map$2.apply(TraversableLike.scala:683)
at scala.collection.immutable.List.foreach(List.scala:381)
at org.scalajs.core.compiler.GenJSExports$JSExportsPhase$class.genPrepareArgs(GenJSExports.scala:630)
at org.scalajs.core.compiler.GenJSExports$JSExportsPhase$class.genApplyForSymNonJSSuperCall(GenJSExports.scala:605)
at org.scalajs.core.compiler.GenJSExports$JSExportsPhase$class.org$scalajs$core$compiler$GenJSExports$JSExportsPhase$$genApplyForSym(GenJSExports.scala:546)
at org.scalajs.core.compiler.GenJSExports$JSExportsPhase$ExportedSymbol.genBody(GenJSExports.scala:730)
at org.scalajs.core.compiler.GenJSExports$JSExportsPhase$class.org$scalajs$core$compiler$GenJSExports$JSExportsPhase$$genExportSameArgc(GenJSExports.scala:412)

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.

Write tip

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