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.
I was using the debugger with the 21-Mar-2003 dev build and tried to add the 'type' column to the list of variables. This froze the IDE. A stack dump showed sortSubNode was repeated many times: [sortSubNode repeated MANY times] at org.openide.explorer.view.TreeTableView$SortedNodeTreeModel.sortSubNo des(TreeTableView.java:1074) at org.openide.explorer.view.TreeTableView$SortedNodeTreeModel.sortSubNo des(TreeTableView.java:1074) at org.openide.explorer.view.TreeTableView$SortedNodeTreeModel.sortingCh anged(TreeTableView.java:1057) at org.openide.explorer.view.TreeTableView$SortedNodeTreeModel.setSorted ByProperty(TreeTableView.java:878) at org.openide.explorer.view.TreeTableView.setSortingColumn(TreeTableVie w.java:667) at org.openide.explorer.view.TreeTableView.clickOnColumnAction(TreeTable View.java:204) at org.openide.explorer.view.TreeTableView.access$100(TreeTableView.java :49) at org.openide.explorer.view.TreeTableView$2.mouseClicked(TreeTableView. java:169) at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:20 8) at java.awt.Component.processMouseEvent(Component.java:5137)
Looks like problem in openide
Hanzi, please don't forget to reassigne issue if you change subcomponent/component!
I cannot reproduce it on [s1s5](030325) , neither [nb_release35](200303252350)
It must be fixed for release 35.
Evaluated: there is a problem the sorting follows a hierarchy of being sorted node from the root deep to leaf. If a hierarchy is unlimited then sorting of sub nodes is infinite. I have a fix prepared, I'm testing it now, I'll attach it ASAP.
Created attachment 9549 [details] a proposed patch
Created attachment 9550 [details] a binary patch to lib/patches
fixed in maintrunk. The folders for sort are not from whole root's hierarchy not. The folder comes from folders which are exactly expanded in tree. It sure prevent a infinite look during getting children still deeply w/o any leaf. John, Marian: pls. assure it fix correctly works. Thanks
patch verified
fix merged in release35-QBE200303252350 branch
Code review for release35?
Should be OK. Hrebejk
approved by release coordinator for release35
integrated to release35 branch.
I'm not exactly sure what I did to cause this, beyond what I entered above. So as far as verifying the fix goes, it seemed OK...
verified in [nb3.5](200304022350)