This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | VMDisconnectedException: connection is closed | ||
---|---|---|---|
Product: | debugger | Reporter: | pribyl <pribyl> |
Component: | Java | Assignee: | issues@debugger <issues> |
Status: | VERIFIED DUPLICATE | ||
Severity: | blocker | ||
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
URL: | http://statistics.netbeans.org/exceptions/detail.do?id=62666 | ||
Issue Type: | DEFECT | Exception Reporter: | 62666 |
Attachments: |
stacktrace
stacktrace stacktrace |
Description
pribyl
2008-06-06 09:52:34 UTC
Created attachment 62451 [details]
stacktrace
Created attachment 62605 [details]
stacktrace
Created attachment 62811 [details]
stacktrace
Passing to debugger, real cause is com.sun.jdi.VMDisconnectedException: connection is closed at com.sun.tools.jdi.TargetVM.send(TargetVM.java:274) at com.sun.tools.jdi.VirtualMachineImpl.sendToTarget(VirtualMachineImpl.java:1011) at com.sun.tools.jdi.PacketStream.send(PacketStream.java:41) at com.sun.tools.jdi.JDWP$EventRequest$Set.enqueueCommand(JDWP.java:6765) at com.sun.tools.jdi.JDWP$EventRequest$Set.process(JDWP.java:6735) at com.sun.tools.jdi.EventRequestManagerImpl$EventRequestImpl.set(EventRequestManagerImpl.java:179) at com.sun.tools.jdi.EventRequestManagerImpl$EventRequestImpl.setEnabled(EventRequestManagerImpl.java:143) at com.sun.tools.jdi.EventRequestManagerImpl$EventRequestImpl.enable(EventRequestManagerImpl.java:128) at org.netbeans.modules.debugger.jpda.models.ThreadsCache.setVirtualMachine(ThreadsCache.java:101) Duplicate of issue #129390. However, we must no call JDI methods from AWT, it can block the UI. The stack trace shows path from org.netbeans.modules.debugger.jpda.ui.debugging.DebuggingView.componentShowing(DebuggingView.java:359) to org.netbeans.modules.debugger.jpda.JPDADebuggerImpl.getAllThreads(JPDADebuggerImpl.java:1317) and to com.sun.tools.jdi.EventRequestManagerImpl$EventRequestImpl.enable(EventRequestManagerImpl.java:128) This must be put off the AWT. JDI methods are not called from AWT in this case: http://hg.netbeans.org/main/rev/05b903392029 Resolving as a duplicate of #129390. *** This issue has been marked as a duplicate of 129390 *** Verified I am sorry for the duplicate |