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've noticed that if you happen to have a bunch of jar files (20-30) added as part of the project: 'Project Properties -> Libraries' and you remove these (or even half of them) and add others...you basically lose control over Netbeans for a VERY LONG time. You can manage to do other things but the CPU is pegged at 100% for about 3-4 minutes.
Can you add more information? Which project are you using (j2se, web, j2me, j2ee)? Can you attach several successive thread dumps?
My project is a 'web' project. I don't really have time to generate the thread dumps right now. I will try to do this later.
OK, thanks
In the meantime, this is something that is very easy to duplicate.
I will look at this, thanks.
Could you please verify it with the latest development build of NB? I tried this: - create new Web project - Properties -> add 17 libraries and 28 jars -> OK time: 12 seconds - Properties -> remove 8 libraries, remove 8 jars, add 14 new jars -> OK time: 31 seconds I agree that these times are not perfect but I cannot reproduce your times. Could you attach several successive thread dumps please? Thanks. Product Version: NetBeans IDE Dev (Build 080213) Java: 1.5.0_14; Java HotSpot(TM) Client VM 1.5.0_14-b03 System: Linux version 2.6.23-gentoo-r6 running on i386; UTF-8; cs_CZ (nb)
Did you try doing the same thing on a windows 2000 OS?
As you can see - not. Reassigning to David, please try to reproduce on Windows. Thanks.
As anyone had a chance to reproduce this issue (on windows OS) yet? This is a VERY serious issue. Sometimes after I change jar files in my web project (as described above) I never regain control over my Netbeans again and I have to kill it. When it comes back up...all is well.
Sorry it took me so long to get back to you! It is the same problem which was fixed for J2SE Project as issue 47910. All web/j2ee project types are now using optimized classpath provider from java.project (ProjectClassPathSupport.createPropertyBasedClassPathImplementation). changeset: 69746:0242aa03c81c user: dkonecny@netbeans.org date: Tue Feb 26 15:55:04 2008 +1300 summary: #126119 - use optimized classpath implementation from java.project
How do I get this update?
You can donwload daily build from http://bits.netbeans.org/dev/nightly/latest/ (the fix should be there tomorrow) or dev build directly from http://deadlock.netbeans.org/hudson/job/trunk/. Thanks for reporting.
When you say "the fix should be there tomorrow" do you mean that it be part of the automatic updates in the Netbeans GUI or do I actually have to download the daily build?
You actually have to download the daily build or wait week or two for NB6.1 M2 release.
I currently have v6.0...are you saying that this update will not be available for it? Considering how serious this issue is I would have expected it to be.
I afraid it is too late to include this in NB601 Patch2, but we will see.