java.lang.ClassCastException: org.scalaide.core.internal.compiler.ScalaPresentationCompiler cannot be cast to scala.tools.nsc.interactive.CompilerControl

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 Google Groups by Matthias Langer, 10 months ago
org.scalaide.core.internal.compiler.ScalaPresentationCompiler cannot be cast to scala.tools.nsc.interactive.CompilerControl
via Google Groups by Unknown author, 10 months ago
org.scalaide.core.internal.compiler.ScalaPresentationCompiler cannot be cast to scala.tools.nsc.interactive.CompilerControl
via GitHub by jendap
, 2 years ago
org.scalaide.core.internal.compiler.ScalaPresentationCompiler cannot be cast to scala.tools.nsc.interactive.CompilerControl
java.lang.ClassCastException: org.scalaide.core.internal.compiler.ScalaPresentationCompiler cannot be cast to scala.tools.nsc.interactive.CompilerControl
at scala.tools.eclipse.scalatest.launching.ScalaTestLaunchShortcut$$anonfun$isScalaTestSuite$2.apply(ScalaTestLaunchShortcut.scala:194)
at scala.tools.eclipse.scalatest.launching.ScalaTestLaunchShortcut$$anonfun$isScalaTestSuite$2.apply(ScalaTestLaunchShortcut.scala:189)
at org.scalaide.core.internal.compiler.PresentationCompilerProxy$$anonfun$internal$1.apply(PresentationCompilerProxy.scala:105)
at org.scalaide.core.internal.compiler.PresentationCompilerProxy$$anonfun$internal$1.apply(PresentationCompilerProxy.scala:104)
at scala.Option.flatMap(Option.scala:171)
at org.scalaide.core.internal.compiler.PresentationCompilerProxy.internal(PresentationCompilerProxy.scala:104)
at org.scalaide.core.internal.compiler.PresentationCompilerProxy.apply(PresentationCompilerProxy.scala:62)
at scala.tools.eclipse.scalatest.launching.ScalaTestLaunchShortcut$.isScalaTestSuite(ScalaTestLaunchShortcut.scala:189)
at scala.tools.eclipse.scalatest.launching.ScalaTestLaunchShortcut$$anonfun$5.apply(ScalaTestLaunchShortcut.scala:222)
at scala.tools.eclipse.scalatest.launching.ScalaTestLaunchShortcut$$anonfun$5.apply(ScalaTestLaunchShortcut.scala:222)
at scala.collection.IndexedSeqOptimized$$anonfun$1.apply(IndexedSeqOptimized.scala:50)
at scala.collection.IndexedSeqOptimized$$anonfun$1.apply(IndexedSeqOptimized.scala:50)
at scala.collection.IndexedSeqOptimized$class.segmentLength(IndexedSeqOptimized.scala:195)
at scala.collection.mutable.ArrayOps$ofRef.segmentLength(ArrayOps.scala:186)
at scala.collection.GenSeqLike$class.prefixLength(GenSeqLike.scala:93)
at scala.collection.mutable.ArrayOps$ofRef.prefixLength(ArrayOps.scala:186)
at scala.collection.IndexedSeqOptimized$class.find(IndexedSeqOptimized.scala:50)
at scala.tools.eclipse.scalatest.launching.ScalaTestLaunchShortcut$.containsScalaTestSuite(ScalaTestLaunchShortcut.scala:222)
at scala.tools.eclipse.scalatest.launching.ScalaTestMainTab$$anonfun$2$$anonfun$apply$7.apply(ScalaTestMainTab.scala:310)
at scala.tools.eclipse.scalatest.launching.ScalaTestMainTab$$anonfun$2$$anonfun$apply$7.apply(ScalaTestMainTab.scala:310)
at scala.collection.TraversableLike$WithFilter$$anonfun$map$2.apply(TraversableLike.scala:728)
at scala.collection.immutable.HashSet$HashSet1.foreach(HashSet.scala:322)
at scala.collection.immutable.HashSet$HashTrieSet.foreach(HashSet.scala:978)
at scala.tools.eclipse.scalatest.launching.ScalaTestMainTab$$anonfun$2.apply(ScalaTestMainTab.scala:308)
at scala.tools.eclipse.scalatest.launching.ScalaTestMainTab$$anonfun$2.apply(ScalaTestMainTab.scala:307)
at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:252)
at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:252)
at scala.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.scala:33)
at scala.collection.mutable.ArrayOps$ofRef.foreach(ArrayOps.scala:186)
at scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:252)
at scala.tools.eclipse.scalatest.launching.ScalaTestMainTab.handleSearchButtonSelected(ScalaTestMainTab.scala:307)
at scala.tools.eclipse.scalatest.launching.ScalaTestMainTab$$anon$5.widgetSelected(ScalaTestMainTab.scala:177)

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.