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 241862 - org.netbeans.modules.project.ui.OpenProjectList$LoadOpenProjects.waitFinished: LowPerformance took 188074 ms.
Summary: org.netbeans.modules.project.ui.OpenProjectList$LoadOpenProjects.waitFinished...
Status: RESOLVED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Infrastructure (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal (vote)
Assignee: Martin Kozeny
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2014-02-14 09:25 UTC by Exceptions Reporter
Modified: 2014-02-19 02:47 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 204660


Attachments
nps snapshot (398.28 KB, application/nps)
2014-02-14 09:25 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2014-02-14 09:25:43 UTC
Build: NetBeans IDE 7.4 (Build 201310111528)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.45-b08, Java(TM) SE Runtime Environment, 1.7.0_45-b18
OS: Windows 7

User Comments:
GUEST: just loading up a project which is on a local drive,

yajo: Open Netbeans and pull your hair.



Maximum slowness yet reported was 188074 ms, average is 124115
Comment 1 Exceptions Reporter 2014-02-14 09:25:47 UTC
Created attachment 145181 [details]
nps snapshot
Comment 2 Milos Kleint 2014-02-14 09:49:00 UTC
the problem appears to be that de.markiew.netbeans.plugin.actions.closeprojects.CloseAllProjectsAction is calling the close on projects in AWT.

that's external to nb.org, closing as wontfix, please file at the plugin's issue tracking.

http://screencast.com/t/DIAUz0ZwzjR
Comment 3 markiewb 2014-02-14 18:11:28 UTC
Filed as https://github.com/markiewb/nb-close-other-projects/issues/7

I will fix it this weekend.
Comment 4 markiewb 2014-02-15 16:19:27 UTC
Fixed in version 1.3.1 of the plugin (available for NB >=7.0).

BUT my code (and thus also the error) was also integrated into NetBeans 8.0. See https://netbeans.org/bugzilla/show_bug.cgi?id=190839#c10

So please fix it also in the NetBeans code base. Use SwingUtilities.invokeLater - see https://github.com/markiewb/nb-close-other-projects/commit/1e883e94b5cbb4c4f9d0fa800f3729aa67db9598
Comment 5 Martin Kozeny 2014-02-17 13:57:08 UTC
https://hg.netbeans.org/core-main/rev/df2b059f7a65
Comment 6 Quality Engineering 2014-02-19 02:47:14 UTC
Integrated into 'main-silver', will be available in build *201402190001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/df2b059f7a65
User: Martin Kozeny <mkozeny@netbeans.org>
Log: #241862: org.netbeans.modules.project.ui.OpenProjectList$LoadOpenProjects.waitFinished: LowPerformance took 188074 ms.