java.lang.ClassCastException: com.cenqua.clover.eclipse.views.nodes.LeafPackageFragmentNode cannot be cast to org.eclipse.jdt.core.IJavaElement

Atlassian JIRA | Michael Studman [Atlassian] | 8 years ago
  1. 0

    java.lang.ClassCastException: com.cenqua.clover.eclipse.views.nodes.LeafPackageFragmentNode cannot be cast to org.eclipse.jdt.core.IJavaElement at org.eclipse.jdt.internal.ui.JavaTaskListAdapter.getAffectedResource(JavaTaskListAdapter.java:28) at org.eclipse.ui.views.markers.internal.MarkerView.focusSelectionChanged(MarkerView.java:1131) at org.eclipse.ui.views.markers.internal.MarkerView$2.selectionChanged(MarkerView.java:482) at org.eclipse.ui.internal.AbstractSelectionService.fireSelection(AbstractSelectionService.java:156) at org.eclipse.ui.internal.AbstractSelectionService$1.selectionChanged(AbstractSelectionService.java:62) at org.eclipse.jface.viewers.Viewer$2.run(Viewer.java:162) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37) at org.eclipse.core.runtime.Platform.run(Platform.java:843) at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:44) at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:149) at org.eclipse.jface.viewers.Viewer.fireSelectionChanged(Viewer.java:160) at org.eclipse.jface.viewers.StructuredViewer.updateSelection(StructuredViewer.java:1976) at org.eclipse.jface.viewers.StructuredViewer.handleSelect(StructuredViewer.java:1128) at org.eclipse.jface.viewers.StructuredViewer$4.widgetSelected(StructuredViewer.java:1154) at org.eclipse.jface.util.OpenStrategy.fireSelectionEvent(OpenStrategy.java:213) at org.eclipse.jface.util.OpenStrategy.access$3(OpenStrategy.java:207) at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:374) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1930)

    Atlassian JIRA | 8 years ago | Michael Studman [Atlassian]
    java.lang.ClassCastException: com.cenqua.clover.eclipse.views.nodes.LeafPackageFragmentNode cannot be cast to org.eclipse.jdt.core.IJavaElement
  2. 0

    java.lang.ClassCastException: com.cenqua.clover.eclipse.views.nodes.LeafPackageFragmentNode cannot be cast to org.eclipse.jdt.core.IJavaElement at org.eclipse.jdt.internal.ui.JavaTaskListAdapter.getAffectedResource(JavaTaskListAdapter.java:28) at org.eclipse.ui.views.markers.internal.MarkerView.focusSelectionChanged(MarkerView.java:1131) at org.eclipse.ui.views.markers.internal.MarkerView$2.selectionChanged(MarkerView.java:482) at org.eclipse.ui.internal.AbstractSelectionService.fireSelection(AbstractSelectionService.java:156) at org.eclipse.ui.internal.AbstractSelectionService$1.selectionChanged(AbstractSelectionService.java:62) at org.eclipse.jface.viewers.Viewer$2.run(Viewer.java:162) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37) at org.eclipse.core.runtime.Platform.run(Platform.java:843) at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:44) at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:149) at org.eclipse.jface.viewers.Viewer.fireSelectionChanged(Viewer.java:160) at org.eclipse.jface.viewers.StructuredViewer.updateSelection(StructuredViewer.java:1976) at org.eclipse.jface.viewers.StructuredViewer.handleSelect(StructuredViewer.java:1128) at org.eclipse.jface.viewers.StructuredViewer$4.widgetSelected(StructuredViewer.java:1154) at org.eclipse.jface.util.OpenStrategy.fireSelectionEvent(OpenStrategy.java:213) at org.eclipse.jface.util.OpenStrategy.access$3(OpenStrategy.java:207) at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:374) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1930)

    Atlassian JIRA | 8 years ago | Michael Studman [Atlassian]
    java.lang.ClassCastException: com.cenqua.clover.eclipse.views.nodes.LeafPackageFragmentNode cannot be cast to org.eclipse.jdt.core.IJavaElement
  3. 0

    ClassCastException in JavaTaskListAdapter#getAffectedResource(IAdaptable)

    Eclipse Bugzilla | 8 years ago | tombry
    java.lang.ClassCastException: com.cisco.epcp.core.model.internal.ChangesetJavaElement cannot be cast to org.eclipse.jdt.core.IJavaElement
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    ClassCastException From JavaTaskListAdapter

    Eclipse Bugzilla | 7 years ago | pwebster
    java.lang.ClassCastException: org.eclipse.jdt.internal.ui.javaeditor.InternalClassFileEditorInput incompatible with org.eclipse.jdt.core.IJavaElement
  6. 0

    CodingSpectator throws an exception when trying to rename a regular folder

    GitHub | 6 years ago | reprogrammer
    java.lang.ClassCastException: org.eclipse.core.internal.resources.Folder cannot be cast to org.eclipse.jdt.core.IJavaElement

    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

      com.cenqua.clover.eclipse.views.nodes.LeafPackageFragmentNode cannot be cast to org.eclipse.jdt.core.IJavaElement

      at org.eclipse.jdt.internal.ui.JavaTaskListAdapter.getAffectedResource()
    2. Java Development Tools UI
      JavaTaskListAdapter.getAffectedResource
      1. org.eclipse.jdt.internal.ui.JavaTaskListAdapter.getAffectedResource(JavaTaskListAdapter.java:28)
      1 frame
    3. Eclipse UI
      MarkerView$2.selectionChanged
      1. org.eclipse.ui.views.markers.internal.MarkerView.focusSelectionChanged(MarkerView.java:1131)
      2. org.eclipse.ui.views.markers.internal.MarkerView$2.selectionChanged(MarkerView.java:482)
      2 frames
    4. Eclipse UI
      AbstractSelectionService$1.selectionChanged
      1. org.eclipse.ui.internal.AbstractSelectionService.fireSelection(AbstractSelectionService.java:156)
      2. org.eclipse.ui.internal.AbstractSelectionService$1.selectionChanged(AbstractSelectionService.java:62)
      2 frames
    5. JFace
      Viewer$2.run
      1. org.eclipse.jface.viewers.Viewer$2.run(Viewer.java:162)
      1 frame
    6. Eclipse Core
      Platform.run
      1. org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
      2. org.eclipse.core.runtime.Platform.run(Platform.java:843)
      2 frames
    7. Eclipse UI
      JFaceUtil$1.run
      1. org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:44)
      1 frame
    8. JFace
      OpenStrategy$1.handleEvent
      1. org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:149)
      2. org.eclipse.jface.viewers.Viewer.fireSelectionChanged(Viewer.java:160)
      3. org.eclipse.jface.viewers.StructuredViewer.updateSelection(StructuredViewer.java:1976)
      4. org.eclipse.jface.viewers.StructuredViewer.handleSelect(StructuredViewer.java:1128)
      5. org.eclipse.jface.viewers.StructuredViewer$4.widgetSelected(StructuredViewer.java:1154)
      6. org.eclipse.jface.util.OpenStrategy.fireSelectionEvent(OpenStrategy.java:213)
      7. org.eclipse.jface.util.OpenStrategy.access$3(OpenStrategy.java:207)
      8. org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:374)
      8 frames
    9. RWT
      Display.readAndDispatch
      1. org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
      2. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
      3. org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348)
      4. org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968)
      4 frames
    10. Eclipse UI
      Workbench.runEventLoop
      1. org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1930)
      1 frame