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.
dev build 200407151800 This is issue random.. it's the first time I've ever seen it. Netbeans is started up, it says "checking change in [jar file]" and then it sits there using 0% cpu and seemingly sleeping for 5 seconds per file. If you guys have any weirs sleeps in your wrong (maybe if the file is locked and you wait for it to unlock) now would be a good time to remove it. I was stuck for over 5 mins waiting for Netbeans to close that damn modal window so I can begin using the IDE :)
i think this is a java issue. reassinging for evaluation
I have no idea what's wrong. Could you take some thread dumps during that 5 seconds and attach them? What about the disk activity? IDE is deserializing indexes during that time. But that's nothing new and it was the case even in earlier builds.
Martin, Unfortunately this issue occured at random and I have no way to reproduce it. If I see it again I will provide more information.
Checking of the first JAR (usualy rt.jar) is slower than the rest due to initialization costs but it is probably a different issue.
Waiting for more information (thread dumps taken while the IDE is paused). For now setting the issue as INCOMPLETE.
Martin, Seeing as this issue is random I cannot easily provide you with more information. I've only seen it twice so far. If I ever find a way to reproduce it in a more consistent manner I will let you know, otherwise I would close the issue as "can not reproduce" unless someone else has been experiencing it as well.
OK, feel free to close it. Also please note, that thread dumps during the IDE is paused are enough. You do not need to provide exact steps to reproduce - we just need to find out what causes the pauses. But maybe you will not be able to reproduce it anymore. We had a performance issue in transaction closing which could cause this and it was fixed already. Also it is possible that for some reason there was a heavy disk activity on your machine (that could be caused by some background process) - in such case the CPU usage could show 0% while the machine is still heavily loaded.
Ok, I've reproduced this using dev build 200408081800, JDK 5.0 b60, fresh userdir. I open a new project in Netbeans, switch focus to Remote Desktop, switch back a few seconds later and it's sitting there hung on some classpath. Attached in the thread-dump I got. About 30 seconds later, Netbeans came back to life and resumed scanning.
Created attachment 16709 [details] Thread-dump
Please provide more thread dumps not just one.
According to thread dump this is duplicate of issue #48598. *** This issue has been marked as a duplicate of 48598 ***
Reorganization of java component