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

Summary: Changes are fired even outer atomic action did not finish
Product: platform Reporter: Jaroslav Tulach <jtulach>
Component: Data SystemsAssignee: Jaroslav Tulach <jtulach>
Status: RESOLVED FIXED    
Severity: blocker CC: issues, mmirilovic, rmatous
Priority: P1 Keywords: PERFORMANCE
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 82041    
Attachments: Sample failure
Stacktrace of the problem
Test & fix

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