Bug 23786 - VMDisconnectedException forces a reboot
Summary: VMDisconnectedException forces a reboot
Status: RESOLVED DUPLICATE of bug 23423
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Debug-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-09-18 16:21 EDT by Olivier Thomann CLA
Modified: 2002-09-18 16:25 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Olivier Thomann CLA 2002-09-18 16:21:23 EDT
Using 0917, I debug a JUnit test. After few runs, I cannot use the debug mode
anymore. I got this stacktrace in the .log file:
!SESSION Sep 18, 2002 16:29:53.784 ---------------------------------------------
java.version=1.4.1-rc
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_CA
Command-line arguments: -os win32 -ws win32 -arch x86 -noupdate -data
D:\workspaces\eclipse\plugins -showlocation -install file:D:/eclipse0917/eclipse/
!ENTRY org.eclipse.ui 4 4 Sep 18, 2002 16:29:53.784
!MESSAGE Unhandled exception caught in event loop.
!ENTRY org.eclipse.ui 4 0 Sep 18, 2002 16:29:53.804
!MESSAGE Got IOException from Virtual Machine
!STACK 0
com.sun.jdi.VMDisconnectedException: Got IOException from Virtual Machine
	at
org.eclipse.jdi.internal.connect.PacketSendManager.sendPacket(PacketSendManager.java:63)
	at org.eclipse.jdi.internal.MirrorImpl.requestVM(MirrorImpl.java:163)
	at org.eclipse.jdi.internal.MirrorImpl.requestVM(MirrorImpl.java:185)
	at org.eclipse.jdi.internal.MirrorImpl.requestVM(MirrorImpl.java:215)
	at org.eclipse.jdi.internal.ReferenceTypeImpl.signature(ReferenceTypeImpl.java:809)
	at org.eclipse.jdi.internal.ReferenceTypeImpl.name(ReferenceTypeImpl.java:795)
	at
org.eclipse.jdt.internal.debug.core.breakpoints.JavaBreakpoint.getTypeName(JavaBreakpoint.java:732)
	at
org.eclipse.jdt.internal.debug.core.breakpoints.JavaBreakpoint.addToTarget(JavaBreakpoint.java:415)
	at
org.eclipse.jdt.internal.debug.core.model.JDIDebugTarget.breakpointAdded(JDIDebugTarget.java:999)
	at
org.eclipse.jdt.internal.debug.ui.JavaDebugOptionsManager.notifyTarget(JavaDebugOptionsManager.java:360)
	at
org.eclipse.jdt.internal.debug.ui.JavaDebugOptionsManager.handleDebugEvents(JavaDebugOptionsManager.java:566)
	at org.eclipse.debug.core.DebugPlugin.fireDebugEventSet(DebugPlugin.java:242)
	at
org.eclipse.jdt.internal.debug.core.model.JDIDebugElement.fireEvent(JDIDebugElement.java:133)
	at
org.eclipse.jdt.internal.debug.core.model.JDIDebugElement.fireCreationEvent(JDIDebugElement.java:123)
	at
org.eclipse.jdt.internal.debug.core.model.JDIDebugTarget.initialize(JDIDebugTarget.java:338)
	at
org.eclipse.jdt.internal.debug.core.model.JDIDebugTarget.<init>(JDIDebugTarget.java:237)
	at org.eclipse.jdt.debug.core.JDIDebugModel$1.run(JDIDebugModel.java:134)
	at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1378)
	at org.eclipse.jdt.debug.core.JDIDebugModel.newDebugTarget(JDIDebugModel.java:138)
	at org.eclipse.jdt.debug.core.JDIDebugModel.newDebugTarget(JDIDebugModel.java:98)
	at
org.eclipse.jdt.internal.launching.StandardVMDebugger.run(StandardVMDebugger.java:145)
	at
org.eclipse.jdt.internal.junit.launcher.JUnitBaseLaunchConfiguration.launch(JUnitBaseLaunchConfiguration.java:94)
	at
org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:140)
	at
org.eclipse.debug.internal.ui.actions.RelaunchActionDelegate.relaunch(RelaunchActionDelegate.java:56)
	at
org.eclipse.debug.internal.ui.actions.RelaunchActionDelegate.relaunch(RelaunchActionDelegate.java:32)
	at
org.eclipse.debug.internal.ui.actions.RelaunchHistoryLaunchAction$1.run(RelaunchHistoryLaunchAction.java:59)
	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:66)
	at
org.eclipse.debug.internal.ui.actions.RelaunchHistoryLaunchAction.run(RelaunchHistoryLaunchAction.java:57)
	at org.eclipse.jface.action.Action.runWithEvent(Action.java:749)
	at
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:407)
	at
org.eclipse.jface.action.ActionContributionItem.handleWidgetEvent(ActionContributionItem.java:361)
	at
org.eclipse.jface.action.ActionContributionItem.access$0(ActionContributionItem.java:352)
	at
org.eclipse.jface.action.ActionContributionItem$ActionListener.handleEvent(ActionContributionItem.java:47)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:77)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:833)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:1622)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1368)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1256)
	at org.eclipse.ui.internal.Workbench.run(Workbench.java:1239)
	at
org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:775)
	at org.eclipse.core.boot.BootLoader.run(BootLoader.java:462)
	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:247)
	at org.eclipse.core.launcher.Main.run(Main.java:703)
	at org.eclipse.core.launcher.Main.main(Main.java:539)

Then I have to reboot the machine to be able to debug again. This is really
painful. I didn't get this problem using 0910.
Comment 1 Darin Wright CLA 2002-09-18 16:25:49 EDT

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