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.
[ BUILD # : 200609270000 ] [ JDK VERSION : 1.6 ] When I try to update files from CVS deadlock occured. See Attachment.
Created attachment 34650 [details] thread dump
Caused by URLMapper.findFileObject which fires events.
Hardly to blame filesystems in this case. Its disputable whether FileObject may fire events synchronously from getFileObject. But definitely don't expect any changes in filesystems to release55 because its very risky. If you need to postpone firing events from filesystems, please use AtomicAction.
Radek's solution (AtomicAction) is probably the best one for 5.5. To solve the problem in the classpath, it would require to call FS outside synchronized block (split of sync block) which may be very dangerous. The best fix is to use AtomicAction in the org.netbeans.modules.j2ee.metadata.ClassPathSourceCache.getSourceRootSet.
Taking over then.
Fixed in release55_dev. http://www.netbeans.org/source/browse/j2ee/metadata/src/org/netbeans/modules/j2ee/metadata/Attic/ClassPathSourceCache.java?r1=1.1.2.2.2.4&r2=1.1.2.2.2.5
verified in release55_dev
Seems OK for me.
Integrated in release55. http://www.netbeans.org/source/browse/j2ee/metadata/src/org/netbeans/modules/j2ee/metadata/Attic/ClassPathSourceCache.java?r1=1.1.2.4&r2=1.1.2.5