Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 98986

Summary: ClassCastException selecting a java stack
Product: [Eclipse Project] JDT Reporter: Michael Fraenkel <fraenkel>
Component: DebugAssignee: JDT-Debug-Inbox <jdt-debug-inbox>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3    
Version: 3.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Michael Fraenkel CLA 2005-06-08 11:43:27 EDT
3.1 RC1 on Win XP

I had two stack which were breakpointed.  Every time I hit F8 (Go), the
selection which switch and I have a few of the following in my log.

!ENTRY org.eclipse.core.runtime 4 2 2005-06-08 11:36:28.828
!MESSAGE An internal error occurred during: "Debug".
!STACK 0
java.lang.ClassCastException
        at
org.eclipse.jdt.internal.debug.core.model.JDIStackFrame.getDeclaringType(JDIStackFrame.java:1071)
        at
org.eclipse.jdt.internal.debug.ui.JDIModelPresentation.getStackFrameText(JDIModelPresentation.java:1652)
        at
org.eclipse.jdt.internal.debug.ui.JDIModelPresentation.getText(JDIModelPresentation.java:214)
        at
org.eclipse.debug.internal.ui.LazyModelPresentation.getText(LazyModelPresentation.java:153)
        at
org.eclipse.debug.internal.ui.DelegatingModelPresentation.getText(DelegatingModelPresentation.java:156)
        at
org.eclipse.debug.internal.ui.views.DebugViewLabelDecorator$LabelJob.run(DebugViewLabelDecorator.java:316)
        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:67)
Comment 1 Darin Wright CLA 2005-06-08 11:54:12 EDT

*** This bug has been marked as a duplicate of 96964 ***