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

Google Groups | Unknown author | 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

    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
  2. 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
  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

    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:195)
      2. scala.tools.eclipse.scalatest.launching.ScalaTestLaunchShortcut$$anonfun$isScalaTestSuite$2.apply(ScalaTestLaunchShortcut.scala:190)
      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:190)
      2. scala.tools.eclipse.scalatest.launching.ScalaTestLaunchShortcut$$anonfun$5.apply(ScalaTestLaunchShortcut.scala:225)
      3. scala.tools.eclipse.scalatest.launching.ScalaTestLaunchShortcut$$anonfun$5.apply(ScalaTestLaunchShortcut.scala:225)
      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:225)
      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.immutable.HashSet$HashTrieSet.foreach(HashSet.scala:978)
      5. scala.collection.TraversableLike$WithFilter.map(TraversableLike.scala:727)
      5 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
      Display.readAndDispatch
      1. org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
      2. org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      3. org.eclipse.swt.widgets.Display.sendEvent(Display.java:4199)
      4. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1467)
      5. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1490)
      6. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1475)
      7. org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1279)
      8. org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4042)
      9. org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3669)
      9 frames
    14. JFace
      Window.open
      1. org.eclipse.jface.window.Window.runEventLoop(Window.java:832)
      2. org.eclipse.jface.window.Window.open(Window.java:808)
      2 frames
    15. org.eclipse.debug
      DebugUITools$2.run
      1. org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationsDialog.open(LaunchConfigurationsDialog.java:1154)
      2. org.eclipse.debug.ui.DebugUITools$2.run(DebugUITools.java:611)
      2 frames
    16. RWT
      BusyIndicator.showWhile
      1. org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
      1 frame
    17. org.eclipse.debug
      OpenLaunchDialogAction.run
      1. org.eclipse.debug.ui.DebugUITools.openLaunchConfigurationDialogOnGroup(DebugUITools.java:619)
      2. org.eclipse.debug.ui.DebugUITools.openLaunchConfigurationDialogOnGroup(DebugUITools.java:552)
      3. org.eclipse.debug.ui.actions.OpenLaunchDialogAction.run(OpenLaunchDialogAction.java:82)
      3 frames
    18. JFace
      ActionContributionItem$5.handleEvent
      1. org.eclipse.jface.action.Action.runWithEvent(Action.java:519)
      2. org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:595)
      3. org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:511)
      4. org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:420)
      4 frames
    19. RWT
      Widget.notifyListeners
      1. org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      2. org.eclipse.swt.widgets.Display.sendEvent(Display.java:4199)
      3. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1467)
      4. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1490)
      5. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1475)
      6. org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1279)
      6 frames
    20. JFace
      ActionContributionItem$9.handleEvent
      1. org.eclipse.jface.action.ActionContributionItem$9.handleEvent(ActionContributionItem.java:1293)
      1 frame
    21. RWT
      Display.readAndDispatch
      1. org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      2. org.eclipse.swt.widgets.Display.sendEvent(Display.java:4199)
      3. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1467)
      4. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1490)
      5. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1475)
      6. org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1279)
      7. org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4042)
      8. org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3669)
      8 frames
    22. Eclipse Workbench SWT
      PartRenderingEngine$9.run
      1. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
      1 frame
    23. Databinding
      Realm.runWithDefault
      1. org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      1 frame
    24. Eclipse Workbench SWT
      PartRenderingEngine.run
      1. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
      1 frame
    25. Eclipse Workbench
      E4Workbench.createAndRunUI
      1. org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
      1 frame
    26. Eclipse UI
      Workbench$5.run
      1. org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
      1 frame
    27. Databinding
      Realm.runWithDefault
      1. org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      1 frame
    28. Eclipse UI
      Workbench.createAndRunWorkbench
      1. org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
      1 frame
    29. Eclipse UI
      PlatformUI.createAndRunWorkbench
      1. org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
      1 frame
    30. Eclipse IDE
      IDEApplication.start
      1. org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
      1 frame
    31. Equinox Container
      EclipseAppHandle.run
      1. org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
      1 frame
    32. Eclipse OSGi
      EclipseStarter.run
      1. org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
      2. org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
      3. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
      4. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
      4 frames
    33. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:483)
      4 frames
    34. Equinox
      Main.run
      1. org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
      2. org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
      3. org.eclipse.equinox.launcher.Main.run(Main.java:1465)
      3 frames