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.
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.
Created attachment 32812 [details] Sample failure
Tracked as http://beetle.czech:8080/unittest/TestCase.jsp?issues=4122 http://beetle.czech:8080/unittest/TestCase.jsp?issues=2668
*** Issue 82454 has been marked as a duplicate of this issue. ***
Test is failing all the time.
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.
Created attachment 32835 [details] Stacktrace of the problem
*** This issue has been marked as a duplicate of 82454 ***
This is the bug.
Created attachment 32839 [details] Test & fix
/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
release60-m2: http://openide.netbeans.org/source/browse/openide/fs/src/org/openide/filesystems/FileObject.java?r1=1.15&r2=1.15.2.1 http://openide.netbeans.org/source/browse/openide/fs/test/unit/src/org/openide/filesystems/FileObjectTestHid.java?r1=1.11&r2=1.11.2.1 http://openide.netbeans.org/source/browse/openide/loaders/src/org/openide/loaders/FolderLookup.java?r1=1.18&r2=1.18.2.1 http://openide.netbeans.org/source/browse/openide/masterfs/src/org/netbeans/modules/masterfs/Delegate.java?r1=1.23&r2=1.23.2.1