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 24348 - Infinite loop in toolbar code
Summary: Infinite loop in toolbar code
Status: VERIFIED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: Sun Solaris
: P2 blocker (vote)
Assignee: issues@editor
URL:
Keywords:
: 24583 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-06-03 16:51 UTC by Petr Nejedly
Modified: 2013-03-14 13:37 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Nejedly 2002-06-03 16:51:17 UTC
The IDE got stuck spinning in the editor toolbar
ordering loop.

Part of the stacktrace:
"AWT-EventQueue-0" prio=6 tid=0x9b568 nid=0xd
runnable [0xf3bff000..0xf3c019e0]
        at
java.util.AbstractList$Itr.next(AbstractList.java:417)
        at
org.netbeans.modules.editor.NbToolbarSupport.getToolbarObjects(NbToolbarSupport.java:800)
        at
org.netbeans.modules.editor.NbToolbarSupport.addPresenters(NbToolbarSupport.java:693)
        at
org.netbeans.modules.editor.NbToolbarSupport.refreshToolbarComponent(NbToolbarSupport.java:661)
        at
org.netbeans.modules.editor.NbToolbarSupport.refreshToolbar(NbToolbarSupport.java:510)
        at
org.netbeans.modules.editor.NbToolbarSupport.checkToolbar(NbToolbarSupport.java:319)
        at
org.netbeans.modules.editor.NbEditorUI.createExtComponent(NbEditorUI.java:156)
        at
org.netbeans.editor.EditorUI.getExtComponent(EditorUI.java:859)
        at
org.netbeans.modules.editor.NbEditorDocument.createEditor(NbEditorDocument.java:145)
        at
org.openide.text.CloneableEditor.initialize(CloneableEditor.java:201)
        at
org.openide.text.CloneableEditor.componentShowing(CloneableEditor.java:171)
        at
org.openide.windows.WindowManager.componentShowing(WindowManager.java:214)
Comment 1 Miloslav Metelka 2002-06-04 08:49:49 UTC
I have topological sort ready. I'll check it in ASAP.
Comment 2 Miloslav Metelka 2002-06-05 14:07:09 UTC
Fixed

Checking in src/org/netbeans/modules/editor/Bundle.properties;
/cvs/editor/src/org/netbeans/modules/editor/Bundle.properties,v  <-- 
Bundle.properties
new revision: 1.30; previous revision: 1.29
done
RCS file:
/cvs/editor/src/org/netbeans/modules/editor/NbToolbarConfigNode.java,v
done
Checking in src/org/netbeans/modules/editor/NbToolbarConfigNode.java;
/cvs/editor/src/org/netbeans/modules/editor/NbToolbarConfigNode.java,v
 <--  NbToolbarConfigNode.java
initial revision: 1.1
done
Checking in src/org/netbeans/modules/editor/NbToolbarSupport.java;
/cvs/editor/src/org/netbeans/modules/editor/NbToolbarSupport.java,v 
<--  NbToolbarSupport.java
new revision: 1.5; previous revision: 1.4
done
Processing log script arguments...
More commits to come...
Checking in src/org/netbeans/modules/editor/resources/layer.xml;
/cvs/editor/src/org/netbeans/modules/editor/resources/layer.xml,v  <--
 layer.xml
new revision: 1.25; previous revision: 1.24
done
Comment 3 Miloslav Metelka 2002-06-14 15:27:22 UTC
*** Issue 24583 has been marked as a duplicate of this issue. ***
Comment 4 pfelenda 2004-02-25 21:13:47 UTC
Verified in dev 200402241900. 
Comment 5 Jiri Prox 2013-03-14 13:37:16 UTC
Please file a new issue instead of opening this one. This issue is very old and the code was heavily changed since 3.x version.
thanks

Restoring status to Verified-Fixed