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 82459 - Changes are fired even outer atomic action did not finish
Summary: Changes are fired even outer atomic action did not finish
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Data Systems (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Jaroslav Tulach
URL:
Keywords: PERFORMANCE
: 82454 (view as bug list)
Depends on:
Blocks: 82041
  Show dependency tree
 
Reported: 2006-08-11 09:58 UTC by Jaroslav Tulach
Modified: 2008-12-22 21:48 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Sample failure (36.41 KB, text/html)
2006-08-11 09:58 UTC, Jaroslav Tulach
Details
Stacktrace of the problem (23.83 KB, image/png)
2006-08-11 14:46 UTC, Jaroslav Tulach
Details
Test & fix (6.08 KB, patch)
2006-08-11 16:19 UTC, Jaroslav Tulach
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jaroslav Tulach 2006-08-11 09:58:28 UTC
There seems to be a set of (random) failures that started to happen on 
200608091800. Possibly after and due to integration of issue #81746: Listeners 
added during exitAtomicAction() get remaining events from that 
RunAtominAction.
Comment 1 Jaroslav Tulach 2006-08-11 09:58:59 UTC
Created attachment 32812 [details]
Sample failure
Comment 3 Jaroslav Tulach 2006-08-11 14:42:22 UTC
*** Issue 82454 has been marked as a duplicate of this issue. ***
Comment 4 Jaroslav Tulach 2006-08-11 14:42:59 UTC
Test is failing all the time.
Comment 5 Jaroslav Tulach 2006-08-11 14:45:34 UTC
If there are two atomic actions nested, then the inner one can cause delivery 
of events, even the outer one has not finished yet. Breaks a lot of things.
Comment 6 Jaroslav Tulach 2006-08-11 14:46:17 UTC
Created attachment 32835 [details]
Stacktrace of the problem
Comment 7 Marian Mirilovic 2006-08-11 15:02:00 UTC

*** This issue has been marked as a duplicate of 82454 ***
Comment 8 Jaroslav Tulach 2006-08-11 16:18:46 UTC
This is the bug.
Comment 9 Jaroslav Tulach 2006-08-11 16:19:01 UTC
*** Issue 82454 has been marked as a duplicate of this issue. ***
Comment 10 Jaroslav Tulach 2006-08-11 16:19:42 UTC
Created attachment 32839 [details]
Test & fix
Comment 11 Jaroslav Tulach 2006-08-11 16:33:07 UTC
/shared/data/ccvs/repository/openide/fs/src/org/openide/filesystems/FileObject.java,v  
<--  FileObject.java
new revision: 1.16; previous revision: 1.15
done
Checking in masterfs/src/org/netbeans/modules/masterfs/Delegate.java;
/shared/data/ccvs/repository/openide/masterfs/src/org/netbeans/modules/masterfs/Delegate.java,v  
<--  Delegate.java
new revision: 1.24; previous revision: 1.23
done
Checking in loaders/src/org/openide/loaders/FolderLookup.java;
/shared/data/ccvs/repository/openide/loaders/src/org/openide/loaders/FolderLookup.java,v  
<--  FolderLookup.java
new revision: 1.19; previous revision: 1.18
done
Checking in fs/test/unit/src/org/openide/filesystems/FileObjectTestHid.java;
/shared/data/ccvs/repository/openide/fs/test/unit/src/org/openide/filesystems/FileObjectTestHid.java,v  
<--  FileObjectTestHid.java
new revision: 1.12; previous revision: 1.11