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 2780 - Filtering objects is very slow.
Summary: Filtering objects is very slow.
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: All Linux
: P4 normal (vote)
Assignee: Marian Petras
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1999-07-27 01:58 UTC by Marian Petras
Modified: 2002-07-19 15:23 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 Marian Petras 1999-07-27 01:58:07 UTC
In the "Objects" panel of the ObjectBrowser:

If you toggle buttons that display/hide classes/interfaces, you have to wait
pretty long time (maybe 10 seconds) to see results. After some changes
(toggles) the Objects panel may stop responding (it does not display any
objects). If you close the Object Browser after the Object Browser stops
displaying objects and try to open it (from the toolbar) again, you get the
following exception:


Exception occurred during event dispatching:
java.lang.IllegalStateException: Cannot initialize 0 th node of node
org.openide.nodes.AbstractNode@db1b062a[Name=null, displayName=null, handle=null]
it already belongs to node com.netbeans.developer.impl.PackageNode@4d430639
[Name=Repository, displayName=Repository, handle=null]
        at org.openide.nodes.Children.throwAlreadyUsedException(Children.java:582)
        at org.openide.nodes.Children$6.run(Children.java:565)
        at org.openide.util.Mutex.doEvent(Mutex.java:455)
        at org.openide.util.Mutex.writeAccess(Mutex.java:240)
        at org.openide.nodes.Children.initialize(Children.java:555)
        at org.openide.nodes.Children$5.run(Children.java:532)
        at org.openide.util.Mutex.doEventAccess(Mutex.java:480)
        at org.openide.util.Mutex.doReadAccess(Mutex.java:165)
        at org.openide.util.Mutex.readAccess(Mutex.java:104)
        at org.openide.nodes.Children.getNodes(Children.java:528)
        at org.openide.explorer.view.ListView.updateList(ListView.java:488)
        at org.openide.explorer.view.ListView.access$8(ListView.java:477)
        at org.openide.explorer.view.ListView$9.run(ListView.java:412)
        at org.openide.util.Mutex.doEvent(Mutex.java:455)
        at org.openide.util.Mutex.readAccess(Mutex.java:146)
        at org.openide.explorer.view.ListView.addNotify(ListView.java:402)
Comment 1 Marek Grummich 2000-07-25 09:43:59 UTC
Priority is changed to P4 (normal).