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.
Product Version: NetBeans IDE Dev (Build 200909081533) Java: 1.6.0_15; Java HotSpot(TM) Client VM 14.1-b02 System: Linux version 2.6.28-15-generic running on i386; UTF-8; en_US (nb) -open IDE -open some bigger project (so that the scanning will last lets say more than a minute) -while scanning the project, close the IDE The processor usage is 100% and the IDE does not close for a few minutes(3 minutes). Sometimes even the dialog about closing the ide (and canceling tasks such as scanning) does not appear. I will add messages.log as the attachment (logged with -J-Dorg.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.level=INFO and -J-Dorg.netbeans.log.startup=print switches), but I don`t know how to generate some profiler snapshot, as I want to measure the IDE closing. My machine has P4 2.8 GHz processor and 1.0 RAM. Without the IDE running, the processor usage is about 20% or less.
Created attachment 87336 [details] messages.log
What project is it? The log file shows that 222521 ms was spent by resolving project dependencies. I'll fix RepositoryUpdater and make this part of the job cancellable as well.
hudson project (maven).
I guess this may as well have something to do with closing a (big) project (without being scanned). Or should I post a new bug?
"hudson project (maven)" - Maven's implementation of some vital queries is not very fast and so resolving dependencies can be affected as well. I'll make this part of initial scan cancellable. "I guess this may as well have something to do with closing a (big) project (without being scanned). Or should I post a new bug?" - Not sure what you are talking about.
only that if you try to close a maven project that is being scanned yet, the IDE will freeze and it will not close the project until it is fully scanned.
http://hg.netbeans.org/jet-main/rev/2728c916dd81
Integrated into 'main-golden', will be available in build *200909251401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/2728c916dd81 User: Vita Stejskal <vstejskal@netbeans.org> Log: #171789: making findDependencies cancellable when IDE shuts down