Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Atlassian JIRA by Michael Studman, 1 year ago
com.cenqua.clover.eclipse.views.nodes.LeafPackageFragmentNode cannot be cast to org.eclipse.jdt.core.IJavaElement
via Atlassian JIRA by Michael Studman [Atlassian], 2 years ago
com.cenqua.clover.eclipse.views.nodes.LeafPackageFragmentNode cannot be cast to org.eclipse.jdt.core.IJavaElement
via Eclipse Bugzilla by tombry, 2 years ago
de.tobject.findbugs.view.explorer.BugGroup cannot be cast to org.eclipse.jdt.core.IJavaElement
via Eclipse Bugzilla by pwebster, 2 years ago
org.eclipse.jdt.internal.ui.javaeditor.InternalClassFileEditorInput incompatible with org.eclipse.jdt.core.IJavaElement
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)