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

Google Groups | Matthias Langer | 2 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Building scalatest-eclipse-plugin

    Google Groups | 2 years ago | Matthias Langer
    java.lang.ClassCastException: org.scalaide.core.internal.compiler.ScalaPresentationCompiler cannot be cast to scala.tools.nsc.interactive.CompilerControl
  2. 0

    Unhandled event loop exception

    Google Groups | 2 years ago | Unknown author
    java.lang.ClassCastException: org.scalaide.core.internal.compiler.ScalaPresentationCompiler cannot be cast to scala.tools.nsc.interactive.CompilerControl
  3. 0

    Support scala 2.11.7

    GitHub | 2 years ago | jendap
    java.lang.ClassCastException: org.scalaide.core.internal.compiler.ScalaPresentationCompiler cannot be cast to scala.tools.nsc.interactive.CompilerControl
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Manifest Editor hyperlink causes ClassCastException or Problems view creating problems

    Eclipse Bugzilla | 1 decade ago | jed.anderson
    java.lang.ClassCastException: org.eclipse.ui.views.internal.markers.tasks.TaskView at org.eclipse.pde.internal.ui.editor.manifest.AlertSection$1.linkActivated(AlertSection.java:114) at org.eclipse.update.ui.forms.internal.HyperlinkHandler.linkActivated(HyperlinkHandler.java:104) at org.eclipse.update.ui.forms.internal.HyperlinkHandler.mouseUp(HyperlinkHandler.java:82)
  6. 0

    Exception in change method signature

    Eclipse Bugzilla | 1 decade ago | dirk_baeumer
    java.lang.ClassCastException: org.eclipse.jdt.core.dom.Block at org.eclipse.jdt.internal.corext.refactoring.TypeContextChecker$MethodTypesChecker.resolveBindings(TypeContextChecker.java:219) at org.eclipse.jdt.internal.corext.refactoring.TypeContextChecker$MethodTypesChecker.checkAndResolveMethodTypes(TypeContextChecker.java:104) at org.eclipse.jdt.internal.corext.refactoring.TypeContextChecker.checkAndResolveMethodTypes(TypeContextChecker.java:336) at org.eclipse.jdt.internal.corext.refactoring.structure.ChangeSignatureRefactoring.checkSignature(ChangeSignatureRefactoring.java:301) at org.eclipse.jdt.internal.ui.refactoring.ChangeSignatureWizard$ChangeSignatureInputPage.updateStatus(ChangeSignatureWizard.java:332) at org.eclipse.jdt.internal.ui.refactoring.ChangeSignatureWizard$ChangeSignatureInputPage.update(ChangeSignatureWizard.java:318) at org.eclipse.jdt.internal.ui.refactoring.ChangeSignatureWizard$ChangeSignatureInputPage.access$1(ChangeSignatureWizard.java:317) at org.eclipse.jdt.internal.ui.refactoring.ChangeSignatureWizard$5.parameterListChanged(ChangeSignatureWizard.java:259) at org.eclipse.jdt.internal.ui.refactoring.ChangeParametersControl$6.restoreSelection(ChangeParametersControl.java:480) at org.eclipse.jdt.internal.ui.refactoring.ChangeParametersControl$6.widgetSelected(ChangeParametersControl.java:470)

    Root Cause Analysis

    1. 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()
    2. scala.tools.eclipse
      ScalaTestLaunchShortcut$$anonfun$isScalaTestSuite$2.apply
      1. scala.tools.eclipse.scalatest.launching.ScalaTestLaunchShortcut$$anonfun$isScalaTestSuite$2.apply(ScalaTestLaunchShortcut.scala:194)
      2. scala.tools.eclipse.scalatest.launching.ScalaTestLaunchShortcut$$anonfun$isScalaTestSuite$2.apply(ScalaTestLaunchShortcut.scala:189)
      2 frames
    3. org.scalaide.core
      PresentationCompilerProxy$$anonfun$internal$1.apply
      1. org.scalaide.core.internal.compiler.PresentationCompilerProxy$$anonfun$internal$1.apply(PresentationCompilerProxy.scala:105)
      2. org.scalaide.core.internal.compiler.PresentationCompilerProxy$$anonfun$internal$1.apply(PresentationCompilerProxy.scala:104)
      2 frames
    4. Scala
      Option.flatMap
      1. scala.Option.flatMap(Option.scala:171)
      1 frame
    5. org.scalaide.core
      PresentationCompilerProxy.apply
      1. org.scalaide.core.internal.compiler.PresentationCompilerProxy.internal(PresentationCompilerProxy.scala:104)
      2. org.scalaide.core.internal.compiler.PresentationCompilerProxy.apply(PresentationCompilerProxy.scala:62)
      2 frames
    6. scala.tools.eclipse
      ScalaTestLaunchShortcut$$anonfun$5.apply
      1. scala.tools.eclipse.scalatest.launching.ScalaTestLaunchShortcut$.isScalaTestSuite(ScalaTestLaunchShortcut.scala:189)
      2. scala.tools.eclipse.scalatest.launching.ScalaTestLaunchShortcut$$anonfun$5.apply(ScalaTestLaunchShortcut.scala:222)
      3. scala.tools.eclipse.scalatest.launching.ScalaTestLaunchShortcut$$anonfun$5.apply(ScalaTestLaunchShortcut.scala:222)
      3 frames
    7. Scala
      ArrayOps$ofRef.find
      1. scala.collection.IndexedSeqOptimized$$anonfun$1.apply(IndexedSeqOptimized.scala:50)
      2. scala.collection.IndexedSeqOptimized$$anonfun$1.apply(IndexedSeqOptimized.scala:50)
      3. scala.collection.IndexedSeqOptimized$class.segmentLength(IndexedSeqOptimized.scala:195)
      4. scala.collection.mutable.ArrayOps$ofRef.segmentLength(ArrayOps.scala:186)
      5. scala.collection.GenSeqLike$class.prefixLength(GenSeqLike.scala:93)
      6. scala.collection.mutable.ArrayOps$ofRef.prefixLength(ArrayOps.scala:186)
      7. scala.collection.IndexedSeqOptimized$class.find(IndexedSeqOptimized.scala:50)
      8. scala.collection.mutable.ArrayOps$ofRef.find(ArrayOps.scala:186)
      8 frames
    8. scala.tools.eclipse
      ScalaTestMainTab$$anonfun$2$$anonfun$apply$7.apply
      1. scala.tools.eclipse.scalatest.launching.ScalaTestLaunchShortcut$.containsScalaTestSuite(ScalaTestLaunchShortcut.scala:222)
      2. scala.tools.eclipse.scalatest.launching.ScalaTestMainTab$$anonfun$2$$anonfun$apply$7.apply(ScalaTestMainTab.scala:310)
      3. scala.tools.eclipse.scalatest.launching.ScalaTestMainTab$$anonfun$2$$anonfun$apply$7.apply(ScalaTestMainTab.scala:310)
      3 frames
    9. Scala
      TraversableLike$WithFilter.map
      1. scala.collection.TraversableLike$WithFilter$$anonfun$map$2.apply(TraversableLike.scala:728)
      2. scala.collection.immutable.HashSet$HashSet1.foreach(HashSet.scala:322)
      3. scala.collection.immutable.HashSet$HashTrieSet.foreach(HashSet.scala:978)
      4. scala.collection.TraversableLike$WithFilter.map(TraversableLike.scala:727)
      4 frames
    10. scala.tools.eclipse
      ScalaTestMainTab$$anonfun$2.apply
      1. scala.tools.eclipse.scalatest.launching.ScalaTestMainTab$$anonfun$2.apply(ScalaTestMainTab.scala:308)
      2. scala.tools.eclipse.scalatest.launching.ScalaTestMainTab$$anonfun$2.apply(ScalaTestMainTab.scala:307)
      2 frames
    11. Scala
      ArrayOps$ofRef.flatMap
      1. scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:252)
      2. scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:252)
      3. scala.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.scala:33)
      4. scala.collection.mutable.ArrayOps$ofRef.foreach(ArrayOps.scala:186)
      5. scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:252)
      6. scala.collection.mutable.ArrayOps$ofRef.flatMap(ArrayOps.scala:186)
      6 frames
    12. scala.tools.eclipse
      ScalaTestMainTab$$anon$5.widgetSelected
      1. scala.tools.eclipse.scalatest.launching.ScalaTestMainTab.handleSearchButtonSelected(ScalaTestMainTab.scala:307)
      2. scala.tools.eclipse.scalatest.launching.ScalaTestMainTab$$anon$5.widgetSelected(ScalaTestMainTab.scala:177)
      2 frames
    13. RWT
      TypedListener.handleEvent
      1. org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
      1 frame