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.

Bug 221542 - AWT blocked when PM is scanning updates
Summary: AWT blocked when PM is scanning updates
Status: VERIFIED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Autoupdate (show other bugs)
Version: 7.3
Hardware: All All
: P2 normal (vote)
Assignee: Jiri Rechtacek
URL:
Keywords: PERFORMANCE
: 221606 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-11-06 09:59 UTC by Tomas Danek
Modified: 2012-11-15 02:48 UTC (History)
15 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 194608


Attachments
nps snapshot (384.42 KB, application/nps)
2012-11-06 09:59 UTC, Tomas Danek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Danek 2012-11-06 09:59:48 UTC
This issue was reported manually by musilt2.
It already has 63 duplicates 


Build: NetBeans IDE 7.3 Beta (Build 201210011125)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.6-b04, Java(TM) SE Runtime Environment, 1.7.0_10-ea-b12
OS: Mac OS X

User Comments:
GUEST: Nothing special,

GUEST: Open the code template setting

GUEST: Opening plugins manager

GUEST: adding simple comment sign -> "//"

rweaver: And even slower - at 25% on transferring maven repository index: Central

facilityderek: Possibly caused by unresponsive Plugin server?

GUEST: trying to install C/C++ plugins

alfbennett: Trying to load a web service

GUEST: Just hang whenever open the plugins window.

GUEST: Trying to update. It was looking for dependencies.

onman: I created a new file in my project tree by clicking with the right mouse button on a subdir of the project's 'Source Files'.

GUEST: download plugin

GUEST: I used the hudson repository for jax-rpc plugin (http://deadlock.netbeans.org/hudson/job/nbms-and-javadoc/lastStableBuild/artifact/nbbuild/nbms/updates.xml.gz). Deleted this repository solved my problem.

GUEST: Slowness and lack of feedback in the update process.

GUEST: The updater has 24 updates, and it is making Netbeans slow.  "Please Wait While checking on Dependencies..." message never goes away.

musilt2: Invoking update with >200 updates

GUEST: Just noted many spell cheker errors in a classfile.

GUEST: Panel designer up and running....  not doing anything in particular...

GUEST: I added a new update centre and now it's running very slowly.

GUEST: while open plugin dialog, and the progressbar tell me it's doing "Initializing the list of plugins..."
also, I've added a plugin site URL as below:
http://deadlock.netbeans.org/hudson/job/nbms-and-javadoc/lastStableBuild/artifact/nbbuild/nbms/updates.xml.gz

rweaver: Transferring Maven repository index Central

Tried starting plugin center, froze at "initializing"

GUEST: Update IDE

GUEST: typing code then "found updates" popup appeared

esmithbss: Expanding the list of installed plugins.

GUEST: do nothing :/ just browsing internet :/

GUEST: Looking for plugin updates

GUEST: update netbeans plugins,
stuck on 'initializing the list of updates'

GUEST: Update of IDE is always at 0% of progression
There is no network traffic

GUEST: The plugin installer doesn't get the list of dependent plugins



Maximum slowness yet reported was 532164 ms, average is 58772
Comment 1 Tomas Danek 2012-11-06 09:59:58 UTC
Created attachment 127205 [details]
nps snapshot
Comment 2 Tomas Danek 2012-11-06 10:13:43 UTC
- have a catalog with e.g.  > 200 updates
- open PM
- try to update, PM is scanning dependencies in AWT
Comment 3 Tomas Danek 2012-11-06 12:29:51 UTC
Unfortunately, this is a stopper for beta -> beta2 update scenario, AWT can be blocked for > 1min, without giving proper response.
Comment 4 Jiri Rechtacek 2012-11-06 21:43:28 UTC
http://hg.netbeans.org/core-main/rev/6af6f1a0b650
Comment 5 Jiri Rechtacek 2012-11-06 21:48:30 UTC
http://hg.netbeans.org/releases/rev/4b9ddecda013
Comment 6 Quality Engineering 2012-11-07 02:17:58 UTC
Integrated into 'releases', will be available in build *201211062253* or newer. Wait for official and publicly available build.
Changeset: http://hg.netbeans.org/releases/rev/4b9ddecda013
User: Jiri Rechtacek <jrechtacek@netbeans.org>
Log: #221542: AWT blocked when PM is scanning updates
(transplanted from 6af6f1a0b6509d553794465cbe660a73d7c883b3)
Comment 7 Jiri Rechtacek 2012-11-07 08:46:43 UTC
*** Bug 221606 has been marked as a duplicate of this bug. ***
Comment 8 Tomas Danek 2012-11-07 10:07:32 UTC
verified on bits from 201211062253 beta-> beta2 upgrade.
Comment 9 Quality Engineering 2012-11-08 02:54:16 UTC
Integrated into 'main-golden', will be available in build *201211080001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/6af6f1a0b650
User: Jiri Rechtacek <jrechtacek@netbeans.org>
Log: #221542: AWT blocked when PM is scanning updates
Comment 10 Jiri Rechtacek 2012-11-12 10:42:33 UTC
Yet another speedup added to trunk - http://hg.netbeans.org/core-main/rev/4a0b308a59b7
Comment 11 Quality Engineering 2012-11-15 02:48:39 UTC
Integrated into 'main-golden', will be available in build *201211150001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/4a0b308a59b7
User: Jiri Rechtacek <jrechtacek@netbeans.org>
Log: #221542: another speedup in handling of updates