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.

Bug 136777

Summary: com.sun.jdi.VMDisconnectedException: connection is closed
Product: debugger Reporter: kate <kate>
Component: JavaAssignee: 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=10026
Issue Type: DEFECT Exception Reporter: 10026
Attachments: stacktrace
The exception that has happend to me while trying to reproduce this issue. Buttons in the bottom of Debugging window stopped working after this exception.

Description kate 2008-06-09 09:56:39 UTC
Build: NetBeans IDE Dev (Build 080609)
VM: Java HotSpot(TM) Client VM, 1.6.0_01-b06, Java(TM) SE Runtime Environment, 1.6.0_01-b06
OS: SunOS, 5.11, x86

User Comments: 
Invoked Run - Debug Main Project when opened project http://qa.netbeans.org/modules/debugger/promo-h/MemoryView.zip (ThreadSuspending set as main class)
Comment 1 kate 2008-06-09 09:56:44 UTC
Created attachment 62542 [details]
stacktrace
Comment 2 kate 2008-06-09 11:33:04 UTC
Product Version: NetBeans IDE Dev (Build 080609)
Java: 1.6.0_01; Java HotSpot(TM) Client VM 1.6.0_01-b06
System: SunOS version 5.11 running on x86; ISO646-US; en (nb)

Steps to reproduce:
-------------------

1] Open http://qa.netbeans.org/modules/debugger/promo-h/MemoryView.zip
2] Set examples.advanced.MemoryView as Main Class
3] Invoke Run - Debug Main Project from Main Menu
4] Again, invoke Run - Debug Main Project from Main Menu [Now, 2 sessions are displayed in Sessions View]
5] In Debugging View [Windows-Debugging-Debigging] press button "Show threads groups" (the first button in toolbar)
6] Press "Show threads groups" again (and again).
7] Exception is thrown
Comment 3 kate 2008-06-09 11:35:15 UTC
*** Issue 136802 has been marked as a duplicate of this issue. ***
Comment 4 pribyl 2008-06-10 09:17:52 UTC
There is an older issue 129390 with reports of this VMDisconnected Exception. 
It was quite rare. But now, when working with the new debugging view, it occurs much more often.

I am able to reproduce Kate's case, sometimes this exception is thrown after clicking on any icon in the debugging view.

*** This issue has been marked as a duplicate of 129390 ***
Comment 5 Martin Entlicher 2008-06-17 15:14:48 UTC
Created attachment 62933 [details]
The exception that has happend to me while trying to reproduce this issue. Buttons in the bottom of Debugging window stopped working after this exception.
Comment 6 Petr Dvorak 2009-02-05 14:52:14 UTC
Verified.