java.lang.ClassCastException: scala.tools.nsc.ast.Tre es$$Select cannot be cast to scala.tools.nsc.ast.Trees$$Ident

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 Commit Message Bot, 10 months ago
scala.tools.nsc.ast.Tre es$$Select cannot be cast to scala.tools.nsc.ast.Trees$$Ident
via GitHub by scabug
, 7 months ago
scala.tools.nsc.ast.Tre es$$Select cannot be cast to scala.tools.nsc.ast.Trees$$Ident
java.lang.ClassCastException: scala.tools.nsc.ast.Tre es$$Select cannot be cast to scala.tools.nsc.ast.Trees$$Ident
at scala.tools.nsc.ast.Trees$$Transformer$$$$anonfun$$32.apply(Trees.scala:1350)
at scala.List$$.loop$$0(List.scala:244)
at scala.List$$.mapConserve(List.scala:261)
at scala.tools.nsc.ast.Trees$$Transformer.transformIdents(Trees.scala:1350)
at scala.tools.nsc.ast.Trees$$Transformer.transform(Trees.scala:1256)
at scala.tools.nsc.transform.TypingTransformers$$TypingTransformer.transform(TypingTransformers.scala:46)
at scala.tools.nsc.transform.ExplicitOuter$$OuterPathTransformer.transform(ExplicitOuter.scala:207)
at scala.tools.nsc.transform.LambdaLift$$LambdaLifter.transform(LambdaLift.scala:397)
at scala.tools.nsc.ast.Trees$$Transformer.transform(Trees.scala:1266)
at scala.tools.nsc.transform.TypingTransformers$$TypingTransformer.transform(TypingTransformers.scala:46)
at scala.tools.nsc.transform.ExplicitOuter$$OuterPathTransformer.transform(ExplicitOuter.scala:207)
at scala.tools.nsc.transform.LambdaLift$$LambdaLifter.transform(LambdaLift.scala:397)
at scala.tools.nsc.ast.Trees$$Transformer.transform(Trees.scala:1288)
at scala.tools.nsc.transform.TypingTransformers$$TypingTransformer.transform(TypingTransformers.scala:46)
at scala.tools.nsc.transform.ExplicitOuter$$OuterPathTransformer.transform(ExplicitOuter.scala:207)
at scala.tools.nsc.transform.LambdaLift$$LambdaLifter.transform(LambdaLift.scala:397)
at scala.tools.nsc.ast.Trees$$Transformer.transform(Trees.scala:1268)
at scala.tools.nsc.transform.TypingTransformers$$TypingTransformer.transform(TypingTransformers.scala:46)
at scala.tools.nsc.transform.ExplicitOuter$$OuterPathTransformer.transform(ExplicitOuter.scala:207)
at scala.tools.nsc.transform.LambdaLift$$LambdaLifter.transform(LambdaLift.scala:397)
at scala.tools.nsc.ast.Trees$$Transformer$$$$anonfun$$31.apply(Trees.scala:1348)
at scala.List$$.loop$$0(List.scala:244)
at scala.List$$.mapConserve(List.scala:261)
at scala.List$$.loop$$0(List.scala:248)
at scala.List$$.mapConserve(List.scala:261)
at scala.tools.nsc.ast.Trees$$Transformer.transformCaseDefs(Trees.scala:1348)
at scala.tools.nsc.ast.Trees$$Transformer.transform(Trees.scala:1290)
at scala.tools.nsc.transform.TypingTransformers$$TypingTransformer.transform(TypingTransformers.scala:46)
at scala.tools.nsc.transform.ExplicitOuter$$OuterPathTransformer.transform(ExplicitOuter.scala:207)
at scala.tools.nsc.transform.LambdaLift$$LambdaLifter.transform(LambdaLift.scala:397)
at scala.tools.nsc.ast.Trees$$Transformer.transform(Trees.scala:1266)
at scala.tools.nsc.transform.TypingTransformers$$TypingTransformer.transform(TypingTransformers.scala:46)
at scala.tools.nsc.transform.ExplicitOuter$$OuterPathTransformer.transform(ExplicitOuter.scala:207)
at scala.tools.nsc.transform.LambdaLift$$LambdaLifter.transform(LambdaLift.scala:397)
at scala.tools.nsc.ast.Trees$$Transformer.transform(Trees.scala:1288)
at scala.tools.nsc.transform.TypingTransformers$$TypingTransformer.transform(TypingTransformers.scala:46)
at scala.tools.nsc.transform.ExplicitOuter$$OuterPathTransformer.transform(ExplicitOuter.scala:207)
at scala.tools.nsc.transform.LambdaLift$$LambdaLifter.transform(LambdaLift.scala:397)
at scala.tools.nsc.ast.Trees$$Transformer.transform(Trees.scala:1266)
at scala.tools.nsc.transform.TypingTransformers$$TypingTransformer.transform(TypingTransformers.scala:46)
at scala.tools.nsc.transform.ExplicitOuter$$OuterPathTransformer.transform(ExplicitOuter.scala:207)
at scala.tools.nsc.transform.LambdaLift$$LambdaLifter.transform(LambdaLift.scala:397)
at scala.tools.nsc.ast.Trees$$Transformer.transform(Trees.scala:1256)
at scala.tools.nsc.transform.TypingTransformers$$TypingTransformer.transform(TypingTransformers.scala:46)
at scala.tools.nsc.transform.ExplicitOuter$$OuterPathTransformer.transform(ExplicitOuter.scala:207)
at scala.tools.nsc.transform.LambdaLift$$LambdaLifter.transform(LambdaLift.scala:397)
at scala.tools.nsc.ast.Trees$$Transformer$$$$anonfun$$24.apply(Trees.scala:1249)
at scala.tools.nsc.ast.Trees$$Transformer$$$$anonfun$$24.apply(Trees.scala:1248)
at scala.tools.nsc.ast.Trees$$Transformer.atOwner(Trees.scala:1360)
at scala.tools.nsc.transform.TypingTransformers$$TypingTransformer.atOwner(TypingTransformers.scala:33)
at scala.tools.nsc.transform.TypingTransformers$$TypingTransformer.atOwner(TypingTransformers.scala:27)
at scala.tools.nsc.ast.Trees$$Transformer.transform(Trees.scala:1247)
at scala.tools.nsc.transform.TypingTransformers$$TypingTransformer.transform(TypingTransformers.scala:46)
at scala.tools.nsc.transform.ExplicitOuter$$OuterPathTransformer.transform(ExplicitOuter.scala:207)
at scala.tools.nsc.transform.LambdaLift$$LambdaLifter.transform(LambdaLift.scala:397)
at scala.tools.nsc.ast.Trees$$Transformer$$$$anonfun$$33.apply(Trees.scala:1354)
at scala.List$$.loop$$0(List.scala:244)
at scala.List$$.mapConserve(List.scala:261)
at scala.List$$.loop$$0(List.scala:248)
at scala.List$$.mapConserve(List.scala:261)
at scala.List$$.loop$$0(List.scala:248)
at scala.List$$.mapConserve(List.scala:261)
at scala.tools.nsc.ast.Trees$$Transformer.transformStats(Trees.scala:1352)
at scala.tools.nsc.transform.LambdaLift$$LambdaLifter.transformStats(LambdaLift.scala:411)
at scala.tools.nsc.ast.Trees$$Transformer.transform(Trees.scala:1264)
at scala.tools.nsc.transform.TypingTransformers$$TypingTransformer.scala$$tools$$nsc$$transform$$TypingTransformers$$TypingTransformer$$$$super$$transform(TypingTransformers.scala:44)
at scala.tools.nsc.transform.TypingTransformers$$TypingTransformer$$$$anonfun$$0.apply(TypingTransformers.scala:44)
at scala.tools.nsc.transform.TypingTransformers$$TypingTransformer$$$$anonfun$$0.apply(TypingTransformers.scala:44)
at scala.tools.nsc.ast.Trees$$Transformer.atOwner(Trees.scala:1360)
at scala.tools.nsc.transform.TypingTransformers$$TypingTransformer.atOwner(TypingTransformers.scala:33)
at scala.tools.nsc.transform.TypingTransformers$$TypingTransformer.atOwner(TypingTransformers.scala:27)
at scala.tools.nsc.transform.TypingTransformers$$TypingTransformer.transform(TypingTransformers.scala:44)
at scala.tools.nsc.transform.ExplicitOuter$$OuterPathTransformer.transform(ExplicitOuter.scala:207)
at scala.tools.nsc.transform.LambdaLift$$LambdaLifter.transform(LambdaLift.scala:397)
at scala.tools.nsc.ast.Trees$$Transformer.transformTemplate(Trees.scala:1338)
at scala.tools.nsc.ast.Trees$$Transformer$$$$anonfun$$21.apply(Trees.scala:1236)
at scala.tools.nsc.ast.Trees$$Transformer$$$$anonfun$$21.apply(Trees.scala:1236)
at scala.tools.nsc.ast.Trees$$Transformer.atOwner(Trees.scala:1360)
at scala.tools.nsc.transform.TypingTransformers$$TypingTransformer.atOwner(TypingTransformers.scala:33)
at scala.tools.nsc.transform.TypingTransformers$$TypingTransformer.atOwner(TypingTransformers.scala:27)
at scala.tools.nsc.ast.Trees$$Transformer.transform(Trees.scala:1235)
at scala.tools.nsc.transform.TypingTransformers$$TypingTransformer.transform(TypingTransformers.scala:46)
at scala.tools.nsc.transform.ExplicitOuter$$OuterPathTransformer.transform(ExplicitOuter.scala:207)
at scala.tools.nsc.transform.LambdaLift$$LambdaLifter.transform(LambdaLift.scala:397)
at scala.tools.nsc.ast.Trees$$Transformer$$$$anonfun$$33.apply(Trees.scala:1354)
at scala.List$$.loop$$0(List.scala:244)
at scala.List$$.mapConserve(List.scala:261)
at scala.tools.nsc.ast.Trees$$Transformer.transformStats(Trees.scala:1352)
at scala.tools.nsc.transform.LambdaLift$$LambdaLifter.transformStats(LambdaLift.scala:411)
at scala.tools.nsc.ast.Trees$$Transformer$$$$anonfun$$20.apply(Trees.scala:1232)
at scala.tools.nsc.ast.Trees$$Transformer$$$$anonfun$$20.apply(Trees.scala:1232)
at scala.tools.nsc.ast.Trees$$Transformer.atOwner(Trees.scala:1360)
at scala.tools.nsc.transform.TypingTransformers$$TypingTransformer.atOwner(TypingTransformers.scala:33)
at scala.tools.nsc.transform.TypingTransformers$$TypingTransformer.atOwner(TypingTransformers.scala:27)
at scala.tools.nsc.ast.Trees$$Transformer.transform(Trees.scala:1231)
at scala.tools.nsc.transform.TypingTransformers$$TypingTransformer.transform(TypingTransformers.scala:46)
at scala.tools.nsc.transform.ExplicitOuter$$OuterPathTransformer.transform(ExplicitOuter.scala:207)
at scala.tools.nsc.transform.LambdaLift$$LambdaLifter.transform(LambdaLift.scala:397)
at scala.tools.nsc.ast.Trees$$Transformer.transformUnit(Trees.scala:1355)
at scala.tools.nsc.transform.LambdaLift$$LambdaLifter.scala$$tools$$nsc$$transform$$LambdaLift$$LambdaLifter$$$$super$$transformUnit(LambdaLift.scala:416)
at scala.tools.nsc.transform.LambdaLift$$LambdaLifter$$$$anonfun$$15.apply(LambdaLift.scala:416)
at scala.tools.nsc.transform.LambdaLift$$LambdaLifter$$$$anonfun$$15.apply(LambdaLift.scala:416)
at scala.tools.nsc.symtab.SymbolTable.atPhase(SymbolTable.scala:85)
at scala.tools.nsc.transform.LambdaLift$$LambdaLifter.transformUnit(LambdaLift.scala:416)
at scala.tools.nsc.transform.LambdaLift$$LambdaLifter.transformUnit(LambdaLift.scala:45)
at scala.tools.nsc.transform.Transform$$Phase.apply(Transform.scala:30)
at scala.tools.nsc.Global$$GlobalPhase.applyPhase(Global.scala:243)
at scala.tools.nsc.Global$$GlobalPhase$$$$anonfun$$2.apply(Global.scala:232)
at scala.Iterator$$class.foreach(Iterator.scala:375)
at scala.tools.nsc.Global$$GlobalPhase.run(Global.scala:232)
at scala.tools.nsc.Global$$Run.compileSources(Global.scala:528)
at scala.tools.nsc.Global$$Run.compile(Global.scala:609)
at scala.tools.nsc.Main$$.process(Main.scala:86)
at scala.tools.nsc.Main$$.main(Main.scala:107)

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.