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.
I faced a UI freeze when I was opening a project. Other freeze was described in issue 121354, so it should probably needs to be fixed some general way. To reproduce: - take repository from http://deadlock.netbeans.org/hudson/job/hgimport/lastSuccessfulBuild/artifact/apisupportx/hgimport/out/main.tar.gz - open o.o.util project in IDE - it freezes for a while. See attached thread dump. Mercurial plugin 1.4.1.42.1, Mercurial runtime 0.9.5, NetBeans IDE Dev (Build 20071204063712), WindowsXP.
Created attachment 53845 [details] Thread dump.
This is a known issue with the annotate API, as Maros pointed out to us: "The annotations API in general does not support asynchronous operation so the best thing you can do is to: 1) query the cache if you have the status 2) if you do NOT have the status then return unannotated name immediately 3) start a background process (thread) that does the regular scanFolder 4) once the scanning finishes and status is known then fire status change" We will implement a solution along these lines. The other issue in 121354 is to do with handling of huge ignored directories and having to process 1000's of files to get status info for them. So will need another fix related to processing the .hgignore files. BTW: puzzled as to why you are on 1.4.1. We have released 1.4.2 and it's in both head and release60 branch. Can you make sure to test against the 1.4.2 build. The problem will still be there, but that's what we'll be putting the fix into.
Ignore my comment on the 1.4.2 - we had planned to bump, but haven't yet, brain is in melt down!
*** This issue has been marked as a duplicate of 121354 ***
Verified.