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.
private static org.netbeans.api.debugger.DebuggerManager org.netbeans.api.debugger.DebuggerManager.debuggerManager-> org.netbeans.api.debugger.DebuggerManager@89eb51-lookup-> org.netbeans.api.debugger.Lookup$MetaInf@7782d8-instanceCache-> java.util.HashMap@dd6b3f-table-> [Ljava.util.HashMap$Entry;@c42da1-[64]-> java.util.HashMap$Entry@1dbf910-value-> org.netbeans.modules.debugger.ui.models.SessionsTreeModel@aa419e-listeners-> java.util.Vector@5adf1a-elementData-> [Ljava.lang.Object;@1f9498-[0]-> org.netbeans.modules.viewmodel.TreeModelRoot@17ded07-treeFeatures-> org.netbeans.modules.viewmodel.TreeModelRoot$DefaultTreeFeatures@1f1172d-outline-> org.netbeans.modules.viewmodel.OutlineTable$MyTreeTable@51c2dd-parent-> org.netbeans.modules.viewmodel.OutlineTable@133ff5a-parent-> Product Version: NetBeans IDE Dev (Build 200908250351) Java: 1.6.0_16; Java HotSpot(TM) Client VM 14.2-b01 System: Linux version 2.6.28-15-generic running on i386; UTF-8; en_US (nb) I'm fixing and updating Debugger qa-functional tests and I'm getting the following result from CloseSessionsTest. The test starts a debugging session, closes it, calls GC and checks if there are any instances of JPDADebugger left. Here is the test output: javax.swing.JPanel@1266cb0-parent-> org.netbeans.modules.debugger.ui.views.View@15db116-activatedNodes-> [Lorg.openide.nodes.Node;@14e85e9-[0]-> org.netbeans.modules.viewmodel.TreeModelNode@12ad834-object-> org.netbeans.api.debugger.Session@7c2e74-currentDebuggerEngine-> org.netbeans.api.debugger.DebuggerEngine@57cf27-actionsManager-> org.netbeans.api.debugger.ActionsManager@d2963b-aps-> org.netbeans.api.debugger.Lookup$Compound$CompoundLookupList@e3dd97-elementData-> [Ljava.lang.Object;@45b18-[0]-> org.netbeans.modules.debugger.jpda.projects.FixActionProvider@e1da1-debugger-> org.netbeans.modules.debugger.jpda.JPDADebuggerImpl@37ced) It is either a bug or the test is no longer correct, but I'm unable to tell.
Pardon me, a copy+paste accident at the beginning of the first comment ;) To be more clear, NB build is Product Version: NetBeans IDE Dev (Build 200908250351) Java: 1.6.0_16; Java HotSpot(TM) Client VM 14.2-b01 System: Linux version 2.6.28-15-generic running on i386; UTF-8; en_US (nb)
org.netbeans.modules.debugger.ui.views.View@15db116-activatedNodes are activatedNodes of TopComponent. I've verified that activatedNodes contain the originally selected node even after all rows are removed from the Outline.
The problem was also in Outline - selection was not cleared when the table we closed. Clearing the selection releases the selected nodes. Fixed in changeset: 142828:4b6b9ccd18a5 http://hg.netbeans.org/main/rev/4b6b9ccd18a5
Integrated into 'main-golden', will be available in build *200908270201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/4b6b9ccd18a5 User: mentlicher@netbeans.org Log: #170863 - Clear selection when the table is being closed.
Verified in trunk build 200908270201