java.lang.ClassCastException: org.eclipse.jdt.internal.core.CompilationUnit cannot be cast to org.scalaide.core.internal.jdt.model.ScalaCompilationUnit

Google Groups | Александр Гурьянов | 2 years ago
  1. 0

    Newbie questions

    Google Groups | 2 years ago | Александр Гурьянов
    java.lang.ClassCastException: org.eclipse.jdt.internal.core.CompilationUnit cannot be cast to org.scalaide.core.internal.jdt.model.ScalaCompilationUnit
  2. 0

    Eclispe: Scala Editor in Eclipse doesn't work - EclPeople.com

    eclpeople.com | 11 months ago
    java.lang.ClassCastException: org.eclipse.jdt.internal.core.CompilationUnit cannot be cast to scala.tools.eclipse.InteractiveCompilationUnit
  3. 0

    [scala-ide-user] Eclipse IDE & plugin issues that I encountered - Grokbase

    grokbase.com | 11 months ago
    java.lang.ClassCastException: org.eclipse.jdt.internal.core.CompilationUnit cannot be cast to scala.tools.eclipse.InteractiveCompilationUnit
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Scala Editor in Eclipse doesn't work

    dolinked.com | 11 months ago
    java.lang.ClassCastException: org.eclipse.jdt.internal.core.CompilationUnit cannot be cast to scala.tools.eclipse.InteractiveCompilationUnit
  6. 0

    eclipse error - failed to create the part's control for a scala script

    Stack Overflow | 2 months ago | user137392
    java.lang.ClassCastException: org.eclipse.jdt.internal.core.CompilationUnit cannot be cast to scala.tools.eclipse.InteractiveCompilationUnit

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.ClassCastException

      org.eclipse.jdt.internal.core.CompilationUnit cannot be cast to org.scalaide.core.internal.jdt.model.ScalaCompilationUnit

      at org.scalaide.core.internal.ScalaPlugin.unitOfSourceFile$1()
    2. org.scalaide.core
      ScalaPlugin.scalaCompilationUnit
      1. org.scalaide.core.internal.ScalaPlugin.unitOfSourceFile$1(ScalaPlugin.scala:158)
      2. org.scalaide.core.internal.ScalaPlugin.scalaCompilationUnit(ScalaPlugin.scala:165)
      2 frames
    3. org.scalaide.ui
      ScalaSourceViewerConfiguration$$anonfun$getReconciler$1.apply
      1. org.scalaide.ui.internal.editor.ScalaCompilationUnitEditor$class.getInteractiveCompilationUnit(ScalaCompilationUnitEditor.scala:100)
      2. org.scalaide.ui.internal.editor.ScalaSourceFileEditor.getInteractiveCompilationUnit(ScalaSourceFileEditor.scala:62)
      3. org.scalaide.ui.internal.reconciliation.ScalaReconciler.install(ScalaReconciler.scala:95)
      4. org.scalaide.ui.internal.editor.ScalaSourceViewerConfiguration$$anonfun$getReconciler$1.apply(ScalaSourceViewerConfiguration.scala:217)
      5. org.scalaide.ui.internal.editor.ScalaSourceViewerConfiguration$$anonfun$getReconciler$1.apply(ScalaSourceViewerConfiguration.scala:204)
      5 frames
    4. Scala
      Option.map
      1. scala.Option.map(Option.scala:146)
      1 frame
    5. org.scalaide.ui
      ScalaSourceViewerConfiguration.getReconciler
      1. org.scalaide.ui.internal.editor.ScalaSourceViewerConfiguration.getReconciler(ScalaSourceViewerConfiguration.scala:204)
      1 frame
    6. JFace Text
      SourceViewer.configure
      1. org.eclipse.jface.text.source.SourceViewer.configure(SourceViewer.java:460)
      1 frame
    7. Java Development Tools UI
      JavaSourceViewer.configure
      1. org.eclipse.jdt.internal.ui.javaeditor.JavaSourceViewer.configure(JavaSourceViewer.java:230)
      1 frame
    8. Text Editor Framework
      AbstractDecoratedTextEditor.createPartControl
      1. org.eclipse.ui.texteditor.AbstractTextEditor.createPartControl(AbstractTextEditor.java:3427)
      2. org.eclipse.ui.texteditor.StatusTextEditor.createPartControl(StatusTextEditor.java:54)
      3. org.eclipse.ui.texteditor.AbstractDecoratedTextEditor.createPartControl(AbstractDecoratedTextEditor.java:447)
      3 frames
    9. Java Development Tools UI
      CompilationUnitEditor.createPartControl
      1. org.eclipse.jdt.internal.ui.javaeditor.JavaEditor.createPartControl(JavaEditor.java:3119)
      2. org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitEditor.createPartControl(CompilationUnitEditor.java:1505)
      2 frames