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 49199 - FolderInstance sometimes registered twice as a listener to a DataFolder
Summary: FolderInstance sometimes registered twice as a listener to a DataFolder
Status: CLOSED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Data Systems (show other bugs)
Version: 4.x
Hardware: All All
: P3 blocker (vote)
Assignee: David Konecny
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2004-09-17 10:51 UTC by _ rkubacki
Modified: 2008-12-22 21:38 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
thread dumps (2.38 KB, text/plain)
2004-09-17 16:59 UTC, _ rkubacki
Details
diagnostic patch (2.64 KB, patch)
2004-09-17 17:00 UTC, _ rkubacki
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description _ rkubacki 2004-09-17 10:51:46 UTC
dev build from Sep 12.

While analyzing INSANE dump I can see some
instances of DataFolder where FolderInstance
object is added as listener twice.
Comment 1 _ rkubacki 2004-09-17 16:59:05 UTC
Created attachment 17716 [details]
thread dumps
Comment 2 _ rkubacki 2004-09-17 17:00:31 UTC
Created attachment 17717 [details]
diagnostic patch
Comment 3 _ rkubacki 2004-09-17 17:01:20 UTC
It seems that FolderList really triggers duplicated adding of
listeners to most of objects on SFS
Comment 4 David Konecny 2004-09-21 15:04:45 UTC
Just looking at FolderInstance.defaultProcessObjects() method it looks
that listener is added second time if prevCookie was reset on line 639.

Fixed in:
src/org/openide/loaders/FolderInstance.java
new revision: 1.8; previous revision: 1.7
Comment 5 Marian Mirilovic 2005-12-20 15:48:25 UTC
This issue was solved long time ago. Because nobody has reopened it neither
added comments, we are verifying/closing it now. 
If you are still able to reproduce the problem, please reopen. Thanks in advance.