java.lang.ClassCastException: org.eclipse.ui.internal.ErrorEditorPart cannot be cast to org.eclipse.ui.texteditor.ITextEditor

GitHub | arimus | 4 months ago
  1. 0

    GitHub comment 79#239016601

    GitHub | 4 months ago | arimus
    java.lang.ClassCastException: org.eclipse.ui.internal.ErrorEditorPart cannot be cast to org.eclipse.ui.texteditor.ITextEditor
  2. 0

    GitHub comment 100#264064821

    GitHub | 2 days ago | maparole
    java.lang.ClassCastException: org.eclipse.ui.internal.ErrorEditorPart cannot be cast to org.eclipse.ui.texteditor.ITextEditor
  3. 0

    Editor java.lang.ClassCastException

    Eclipse Bugzilla | 7 years ago | cpuidle
    java.lang.ClassCastException: org.eclipse.pde.internal.ui.editor.plugin.ManifestEditor cannot be cast to org.eclipse.ui.texteditor.ITextEditor
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Runtime exception in log file

    GitHub | 5 years ago | psybers
    java.lang.ClassCastException: org.eclipse.ui.internal.ErrorEditorPart cannot be cast to de.vonloesch.pdf4eclipse.editors.PDFEditor
  6. 0

    4.1.4.2 seems to break BOY editor and runtime

    GitHub | 1 year ago | crispd
    java.lang.ClassCastException: org.eclipse.ui.internal.ErrorEditorPart cannot be cast to org.csstudio.opibuilder.runmode.IOPIRuntime

    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.ui.internal.ErrorEditorPart cannot be cast to org.eclipse.ui.texteditor.ITextEditor

      at com.axmor.eclipse.typescript.editor.TypeScriptEditorActionContributor.setActiveEditor()
    2. com.axmor.eclipse
      TypeScriptEditorActionContributor.setActiveEditor
      1. com.axmor.eclipse.typescript.editor.TypeScriptEditorActionContributor.setActiveEditor(TypeScriptEditorActionContributor.java:28)
      1 frame
    3. Eclipse UI
      WorkbenchPage$E4PartListener.partActivated
      1. org.eclipse.ui.internal.EditorActionBars.partChanged(EditorActionBars.java:341)
      2. org.eclipse.ui.internal.WorkbenchPage.updateActivations(WorkbenchPage.java:309)
      3. org.eclipse.ui.internal.WorkbenchPage.access$18(WorkbenchPage.java:291)
      4. org.eclipse.ui.internal.WorkbenchPage$E4PartListener.partActivated(WorkbenchPage.java:209)
      4 frames
    4. Eclipse Workbench
      PartServiceImpl$3.run
      1. org.eclipse.e4.ui.internal.workbench.PartServiceImpl$3.run(PartServiceImpl.java:250)
      1 frame
    5. Eclipse Core
      SafeRunner.run
      1. org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      1 frame
    6. Eclipse Workbench
      PartServiceImpl.activate
      1. org.eclipse.e4.ui.internal.workbench.PartServiceImpl.firePartActivated(PartServiceImpl.java:247)
      2. org.eclipse.e4.ui.internal.workbench.PartServiceImpl.activate(PartServiceImpl.java:757)
      3. org.eclipse.e4.ui.internal.workbench.PartServiceImpl.activate(PartServiceImpl.java:682)
      3 frames
    7. Eclipse Workbench SWT
      AbstractPartRenderer.activate
      1. org.eclipse.e4.ui.internal.workbench.swt.AbstractPartRenderer.activate(AbstractPartRenderer.java:95)
      1 frame
    8. org.eclipse.e4
      StackRenderer$4.handleEvent
      1. org.eclipse.e4.ui.workbench.renderers.swt.StackRenderer$4.handleEvent(StackRenderer.java:1077)
      1 frame
    9. RWT
      Display.windowProc
      1. org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      2. org.eclipse.swt.widgets.Display.sendEvent(Display.java:4248)
      3. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1501)
      4. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1524)
      5. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1509)
      6. org.eclipse.swt.widgets.Shell.setActiveControl(Shell.java:1612)
      7. org.eclipse.swt.widgets.Control.sendMouseEvent(Control.java:3484)
      8. org.eclipse.swt.widgets.Control.mouseEvent(Control.java:2603)
      9. org.eclipse.swt.widgets.Composite.mouseEvent(Composite.java:933)
      10. org.eclipse.swt.widgets.Control.mouseDown(Control.java:2612)
      11. org.eclipse.swt.widgets.Display.windowProc(Display.java:5725)
      11 frames
    10. org.eclipse.swt
      OS.objc_msgSendSuper
      1. org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
      1 frame
    11. RWT
      Display.windowProc
      1. org.eclipse.swt.widgets.Widget.callSuper(Widget.java:227)
      2. org.eclipse.swt.widgets.Widget.windowSendEvent(Widget.java:2140)
      3. org.eclipse.swt.widgets.Shell.windowSendEvent(Shell.java:2402)
      4. org.eclipse.swt.widgets.Display.windowProc(Display.java:5789)
      4 frames
    12. org.eclipse.swt
      OS.objc_msgSendSuper
      1. org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
      1 frame
    13. RWT
      Display.applicationProc
      1. org.eclipse.swt.widgets.Display.applicationSendEvent(Display.java:5218)
      2. org.eclipse.swt.widgets.Display.applicationProc(Display.java:5367)
      2 frames
    14. org.eclipse.swt
      NSApplication.sendEvent
      1. org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method)
      2. org.eclipse.swt.internal.cocoa.NSApplication.sendEvent(NSApplication.java:128)
      2 frames
    15. RWT
      Display.readAndDispatch
      1. org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3695)
      1 frame
    16. Eclipse Workbench SWT
      PartRenderingEngine$4.run
      1. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1121)
      1 frame
    17. Databinding
      Realm.runWithDefault
      1. org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
      1 frame
    18. Eclipse Workbench SWT
      PartRenderingEngine.run
      1. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1022)
      1 frame
    19. Eclipse Workbench
      E4Workbench.createAndRunUI
      1. org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:150)
      1 frame
    20. Eclipse UI
      Workbench$5.run
      1. org.eclipse.ui.internal.Workbench$5.run(Workbench.java:687)
      1 frame
    21. Databinding
      Realm.runWithDefault
      1. org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
      1 frame
    22. Eclipse UI
      Workbench.createAndRunWorkbench
      1. org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:604)
      1 frame
    23. Eclipse UI
      PlatformUI.createAndRunWorkbench
      1. org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
      1 frame
    24. Eclipse IDE
      IDEApplication.start
      1. org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:138)
      1 frame
    25. Equinox Container
      EclipseAppHandle.run
      1. org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
      1 frame
    26. 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:388)
      4. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
      4 frames
    27. 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:498)
      4 frames
    28. Equinox
      Main.run
      1. org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:673)
      2. org.eclipse.equinox.launcher.Main.basicRun(Main.java:610)
      3. org.eclipse.equinox.launcher.Main.run(Main.java:1519)
      3 frames