Community
Participate
Working Groups
I've been getting a lot of these lately. I think they are correlated to a "drop to frame" but I can't reproduce them consistently. Error Jul 07, 2004 16:51:29.595 Internal Error org.eclipse.debug.core.DebugException: Invalid stack frame at org.eclipse.jdt.internal.debug.core.model.JDIStackFrame.getUnderlyingStackFrame(JDIStackFrame.java: 965) at org.eclipse.jdt.internal.debug.core.model.JDIStackFrame.getUnderlyingMethod(JDIStackFrame.java:226) at org.eclipse.jdt.internal.debug.core.model.JDIStackFrame.isOutOfSynch(JDIStackFrame.java:880) at org.eclipse.jdt.internal.debug.ui.JDIModelPresentation.computeJDIAdornmentFlags(JDIModelPresentatio n.java:831) at org.eclipse.jdt.internal.debug.ui.JDIModelPresentation.getDebugElementImage(JDIModelPresentation.jav a:797) at org.eclipse.jdt.internal.debug.ui.JDIModelPresentation.getImage(JDIModelPresentation.java:637) at org.eclipse.debug.internal.ui.LazyModelPresentation.getImage(LazyModelPresentation.java:94) at org.eclipse.debug.internal.ui.DelegatingModelPresentation.getImage(DelegatingModelPresentation.java: 141) at org.eclipse.debug.internal.ui.views.DebugViewInterimLabelProvider.getImage(DebugViewInterimLabelPr ovider.java:58) at org.eclipse.jface.viewers.DecoratingLabelProvider.getImage(DecoratingLabelProvider.java:74) at org.eclipse.debug.internal.ui.views.launch.LaunchViewer.doUpdateItem(LaunchViewer.java:92) at org.eclipse.jface.viewers.AbstractTreeViewer$UpdateItemSafeRunnable.run(AbstractTreeViewer.java:83) at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:615) at org.eclipse.core.runtime.Platform.run(Platform.java:747) at org.eclipse.jface.viewers.AbstractTreeViewer.doUpdateItem(AbstractTreeViewer.java:464) at org.eclipse.jface.viewers.StructuredViewer$UpdateItemSafeRunnable.run(StructuredViewer.java: 128) at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:615) at org.eclipse.core.runtime.Platform.run(Platform.java:747) at org.eclipse.jface.viewers.StructuredViewer.updateItem(StructuredViewer.java:1374) at org.eclipse.jface.viewers.StructuredViewer.update(StructuredViewer.java:1358) at org.eclipse.jface.viewers.StructuredViewer.update(StructuredViewer.java:1286) at org.eclipse.debug.internal.ui.views.DebugViewDecoratingLabelProvider.labelsComputed(DebugViewDec oratingLabelProvider.java:67) at org.eclipse.debug.internal.ui.views.DebugViewLabelDecorator$1.run(DebugViewLabelDecorator.java: 135) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:106) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:2748) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2538) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1377) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1348) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:254) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:141) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:96) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:335) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.eclipse.core.launcher.Main.basicRun(Main.java:183) at org.eclipse.core.launcher.Main.run(Main.java:644) at org.eclipse.core.launcher.Main.main(Main.java:628)
Created attachment 13039 [details] My log file
another stack trace. The thread that "was not suspended" never was suspended. The error occured when I resumed the main thread. Error Jul 08, 2004 09:07:23.50 Internal error logged from JDI Debug: com.sun.jdi.IncompatibleThreadStateException: Thread was not suspended at org.eclipse.jdi.internal.ThreadReferenceImpl.frames(ThreadReferenceImpl.java:192) at org.eclipse.jdi.internal.ThreadReferenceImpl.frame(ThreadReferenceImpl.java:140) at org.eclipse.jdt.internal.debug.core.model.JDIThread.getUnderlyingFrame(JDIThread.java:571) at org.eclipse.jdt.internal.debug.core.model.JDIStackFrame.getUnderlyingStackFrame(JDIStackFrame.java: 971) at org.eclipse.jdt.internal.debug.core.model.JDIStackFrame.getUnderlyingMethod(JDIStackFrame.java:226) at org.eclipse.jdt.internal.debug.core.model.JDIStackFrame.isNative(JDIStackFrame.java:764) at org.eclipse.jdt.internal.debug.core.model.JDIStackFrame.supportsDropToFrame(JDIStackFrame.java:552) at org.eclipse.jdt.internal.debug.ui.actions.DropToFrameButton.selectionChanged(DropToFrameButton.jav a:62) at org.eclipse.ui.internal.PluginAction.refreshEnablement(PluginAction.java:230) at org.eclipse.ui.internal.PluginAction.selectionChanged(PluginAction.java:297) at org.eclipse.ui.internal.PluginAction.selectionChanged(PluginAction.java:308) at org.eclipse.jface.viewers.Viewer$2.run(Viewer.java:159) at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:615) at org.eclipse.core.runtime.Platform.run(Platform.java:747) at org.eclipse.jface.viewers.Viewer.fireSelectionChanged(Viewer.java:157) at org.eclipse.jface.viewers.StructuredViewer.updateSelection(StructuredViewer.java:1394) at org.eclipse.jface.viewers.StructuredViewer.setSelection(StructuredViewer.java:1093) at org.eclipse.debug.internal.ui.views.AbstractDebugEventHandler.selectAndReveal(AbstractDebugEventHa ndler.java:155) at org.eclipse.debug.internal.ui.views.launch.LaunchViewEventHandler.doHandleResumeEvent(LaunchView EventHandler.java:148) at org.eclipse.debug.internal.ui.views.launch.LaunchViewEventHandler.doHandleDebugEvents(LaunchView EventHandler.java:96) at org.eclipse.debug.internal.ui.views.AbstractDebugEventHandler$1.run(AbstractDebugEventHandler.java: 70) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:106) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:2748) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2538) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1377) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1348) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:254) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:141) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:96) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:335) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.eclipse.core.launcher.Main.basicRun(Main.java:183) at org.eclipse.core.launcher.Main.run(Main.java:644) at org.eclipse.core.launcher.Main.main(Main.java:628)
I get a *LOT* of these. I've got one that's reproducable at the moment -- a ClassCastException in a callback. Here's my stack; yours looks as below. This is getting to be a serious pain. (One of several reasons I think 3.0 is much less stable than M9 was!). I'm going to have to introduce print statements or resort to trial and error, since this renders the debugger useless. The DebugException happens when my program hits the ClassCastException, and thereafter, clicking on any of the frames in this stack trace stimulates the error. For comparison purposes, I suspended another thread -- it is behaving properly, while this one continues to display this problem. I'm running JDK 1.4.2_05 (both for Eclispe and my app), the official 3.0 release of Eclipse. I have the Cheetah feature disabled (because of too many AST errors). I'm on Windows XP. Thread [Worker] (Suspended (exception java.lang.ClassCastException)) com.elo.applet.editor.TabWizard$1.entryAdded (com.elo.applet.controller.Directory, java.lang.String, java.lang.Object) line: 185 com.elo.applet.controller.BasicDirectory.addEntry(java.lang.String, java.lang.Object) line: 83 com.elo.applet.controller.StandardController$2.modify (com.elo.applet.controller.Directory, java.lang.String) line: 451 com.elo.applet.controller.StandardController$2 (com.elo.applet.controller.StandardController$PathAction).execute (java.lang.String[]) line: 389 com.elo.applet.controller.StandardController$2 (com.elo.applet.controller.StandardController$PathAction).execute (java.lang.String) line: 378 com.elo.applet.controller.StandardController.setValue (java.lang.String, java.lang.Object) line: 455 com.elo.applet.EloApplet$1 (com.elo.applet.controller.ProxyController).setValue(java.lang.String, java.lang.Object) line: 247 com.elo.applet.editor.Wizard$2 (com.elo.applet.controller.ProxyController).setValue(java.lang.String, java.lang.Object) line: 247 com.elo.applet.view.View$2 (com.elo.applet.controller.ProxyController).setValue(java.lang.String, java.lang.Object) line: 247 com.elo.applet.view.SelectProjectView$4.construct() line: 375
*** Bug 69828 has been marked as a duplicate of this bug. ***
*** This bug has been marked as a duplicate of 70993 ***