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.
Using JDK 1.4.1_01, NetBeans 3.5 Beta, VSS 6.0c. Source was checked in. Started typing, VCS ask requester ("check out?) popped up, answer with "yes" and immediatly continued typing. -> IDE hangs. Attaching thread dump.
Created attachment 10097 [details] Thread dump.
This is a deadlock :-( It's relatively easy to fix it.
Starting to work on a fix. I guess, this could be P1. Is it reproducible? I think this deserves to be fixed into NB 3.5.
The problem should be fixed in the main trunk: /cvs/vcscore/src/org/netbeans/modules/vcscore/VcsFileSystem.java,v <-- VcsFileSystem.java new revision: 1.225; previous revision: 1.224
Created attachment 10098 [details] The binary patch, that fix this problem. To apply put the jar into <NB-install>/modules/autoload/patches/org-netbeans-modules-vcscore/ folder.
The binary patch for NB 3.5 attached. Thomas, please can you verify that the patch fix this problem? (Please verify that the patch was applied in ide.log). Thanks.
Wow, it's reproducible ! I am attaching another thread dump and raising priority. This must be fixed in release35 branch.
Created attachment 10099 [details] Thread dump taken while IDE was freezed.
The second thread dump is apparently caused by the same problem.
Hm, it works fine with the attached patch. Can you Thomas reproduce it now ? Tested with NetBeans 3.5 build #200304142350.
Created attachment 10104 [details] The contextual diff of the fix.
Diff reviewed without objections.
approved for 3.5
Thanks for the review, verification and approval. The problem is fixed in release35 branch: /shared/data/helm/cvs/repository/vcscore/src/org/netbeans/modules/vcscore/VcsFileSystem.java,v <-- VcsFileSystem.java new revision: 1.207.2.13; previous revision: 1.207.2.12
I cannot reproduce the problem anymore after applying the patch. Thanks for the quick fix.
Okay, verifying on behalf of Thomas based on his last comment. It works fine in Sun ONE Studio 5.0 Standard Edition build #030528 too.