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 188148 - com.sun.jdi.VMDisconnectedException: connection is closed
Summary: com.sun.jdi.VMDisconnectedException: connection is closed
Status: RESOLVED WONTFIX
Alias: None
Product: javafx
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 6.x
Hardware: All All
: P2 normal (vote)
Assignee: Michal Skvor
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-28 11:22 UTC by Alexandr Scherbatiy
Modified: 2011-05-16 13:52 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 171032


Attachments
stacktrace (1.58 KB, text/plain)
2010-06-28 11:22 UTC, Alexandr Scherbatiy
Details
stacktrace (1.58 KB, text/plain)
2010-07-08 08:56 UTC, Alexandr Scherbatiy
Details
stacktrace (1.58 KB, text/plain)
2010-07-08 09:17 UTC, Alexandr Scherbatiy
Details
IDE log file. Developers build (4.38 MB, application/octet-stream)
2010-08-05 08:14 UTC, Alexandr Scherbatiy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandr Scherbatiy 2010-06-28 11:22:18 UTC
Build: NetBeans IDE Dev (Build 201006240001)
VM: Java HotSpot(TM) Client VM, 16.3-b01, Java(TM) SE Runtime Environment, 1.6.0_20-b02
OS: Windows XP

Stacktrace: 
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$ObjectReference$InvokeMethod.enqueueCommand(JDWP.java:4583)
   at com.sun.tools.jdi.ObjectReferenceImpl$1.send(ObjectReferenceImpl.java:325)
   at com.sun.tools.jdi.ThreadReferenceImpl.sendResumingCommand(ThreadReferenceImpl.java:97)
Comment 1 Alexandr Scherbatiy 2010-06-28 11:22:21 UTC
Created attachment 100449 [details]
stacktrace
Comment 2 Alexandr Scherbatiy 2010-07-08 08:56:38 UTC
Created attachment 100684 [details]
stacktrace
Comment 3 Alexandr Scherbatiy 2010-07-08 09:17:38 UTC
Created attachment 100686 [details]
stacktrace
Comment 4 Alexandr Scherbatiy 2010-07-20 11:46:43 UTC
unable to reproduce in NetBeans IDE 6.9.1 Dev (Build 201007182301)
Comment 5 Alexandr Scherbatiy 2010-08-03 09:41:51 UTC
  Product Version         = NetBeans IDE Dev (Build 201008030001) (#dd7279e71336)
  Operating System        = Windows XP version 5.1 running on x86
  Java; VM; Vendor        = 1.6.0_20; Java HotSpot(TM) Client VM 16.3-b01; Sun Microsystems Inc.


Steps to reproduce:

- Create Media Box sample
- Open com.sun.javafx.mediabox.MediaBox class
- Set a breakpoint to line  119 (mediaControlBar.toInitStatus();)
- Debug the project
- Expand Script node in the Variables window
- Stop the debugger

The exception pops up.


SEVERE [org.openide.util.RequestProcessor]: Error in RequestProcessor org.netbeans.modules.javafx.debugger.tablerendering.VariableCellRenderer$ValueEvaluator
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$ReferenceType$GetValues.enqueueCommand(JDWP.java:2200)
	at com.sun.tools.jdi.JDWP$ReferenceType$GetValues.process(JDWP.java:2175)
	at com.sun.tools.jdi.ReferenceTypeImpl.getValues(ReferenceTypeImpl.java:647)
	at com.sun.tools.jdi.ReferenceTypeImpl.getValue(ReferenceTypeImpl.java:596)
	at com.sun.javafx.jdi.FXReferenceType.getFlagWord(FXReferenceType.java:176)
	at com.sun.javafx.jdi.FXReferenceType.areFlagBitsSet(FXReferenceType.java:181)
	at com.sun.javafx.jdi.FXReferenceType.isBound(FXReferenceType.java:254)
	at org.netbeans.modules.javafx.debugger.tablerendering.VariableCellRenderer$ValueEvaluator.run(VariableCellRenderer.java:204)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1426)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1968)
Caused: org.openide.util.RequestProcessor$SlowItem: task failed due to
	at org.openide.util.RequestProcessor.post(RequestProcessor.java:421)
	at org.netbeans.modules.javafx.debugger.tablerendering.VariableCellRenderer.getTableCellRendererComponent(VariableCellRenderer.java:133)
	at org.netbeans.modules.viewmodel.DelegatingCellRenderer.getTableCellRendererComponent(DelegatingCellRenderer.java:85)
	at javax.swing.JTable.prepareRenderer(JTable.java:5720)
	at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:2072)
	at javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:1974)
	at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:1770)
	at javax.swing.plaf.ComponentUI.update(ComponentUI.java:143)
	at javax.swing.JComponent.paintComponent(JComponent.java:752)
	at javax.swing.JComponent.paint(JComponent.java:1029)
	at javax.swing.JComponent.paintToOffscreen(JComponent.java:5124)
	at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:1479)
	at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1410)
	at javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:294)
	at javax.swing.RepaintManager.paint(RepaintManager.java:1224)
	at javax.swing.JComponent._paintImmediately(JComponent.java:5072)
	at javax.swing.JComponent.paintImmediately(JComponent.java:4882)
	at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:785)
	at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:713)
	at javax.swing.RepaintManager.seqPaintDirtyRegions(RepaintManager.java:693)
	at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:125)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
	at com.sun.embeddedswing.EmbeddedEventQueue.dispatchEvent(EmbeddedEventQueue.java:448)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
[catch] at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
WARNING [org.netbeans.core.startup.InstalledFileLocatorImpl]: no code name base passed when looking up build_info
INFO [org.netbeans.modules.uihandler.Installer]: findIdentity: 3389516c-5383-4504-9084-c1482b723956_b5c693fb-7a85-442a-9ddf-ab8e85decb17
Comment 6 Michal Skvor 2010-08-03 14:21:08 UTC
This is fixed in the NPE fix which is not in the release build.
Comment 7 Alexandr Scherbatiy 2010-08-05 08:13:07 UTC
The issue is reproduced in the Developer build:

See the attached IDE log file:
-------------------------------------------------------------------
>Log Session: Thursday, August 5, 2010 11:26:13 AM MSD
>System Info: 
  Product Version         = NetBeans IDE Dev (Build 201008050001) (#aa0e5782470f)
  Operating System        = Windows XP version 5.1 running on x86
  Java; VM; Vendor        = 1.6.0_20; Java HotSpot(TM) Client VM 16.3-b01; Sun Microsystems Inc.
-------------------------------------------------------------------
Comment 8 Alexandr Scherbatiy 2010-08-05 08:14:46 UTC
Created attachment 101225 [details]
IDE log file. Developers build
Comment 9 David Strupl 2011-05-16 13:52:50 UTC
Closing all bugs filed against JavaFX 1.x as wontfix. We will support JavaFX 2.0 - please keep opened only bugs against the new release. Thanks.