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.
This issue was reported manually by tstupka. It already has 2 duplicates Build: NetBeans IDE 8.0.2 (Build 201411181905) VM: Java HotSpot(TM) 64-Bit Server VM, 25.45-b02, Java(TM) SE Runtime Environment, 1.8.0_45-b14 OS: Mac OS X User Comments: GUEST: just open a big project copy/pasted... after several unrecoverable hangs (but not freeze according to OSx) netbeans managed to start with warning "project is read only". Which is not the case (I checked, and chmod ugo+w to be sure) GUEST: Program startup is slow. It takes a long time from the time when the IDE window opens and when it can actually be used. Other than opening 2 web application projects there isn't any other obvious IDE activity. Maximum slowness yet reported was 34099 ms, average is 27118
Created attachment 154646 [details] nps snapshot
in awt RefactoringContextAction$InlineMenu.getMenuPresenters() -> ... -> FOQ where FOQ is being blocked by a concurrently running project open unfortunately, there isn't much we can do about it in projects. please evaluate if there is a way around it in refactoring - e.g. check if projects are being opened then provide for the submenu just a placeholder menu item (Please wait ...) or simply keep the action enabled and test for enabled in .performAction() otherwise feel free to close thanks
(In reply to Tomas Stupka from comment #2) > unfortunately, there isn't much we can do about it in projects. > please evaluate if there is a way around it in refactoring - e.g. check if > projects are being opened then provide for the submenu just a placeholder Which API is there to query for running opening projects?
(In reply to Ralph Ruijs from comment #3) > (In reply to Tomas Stupka from comment #2) > > unfortunately, there isn't much we can do about it in projects. > > please evaluate if there is a way around it in refactoring - e.g. check if > > projects are being opened then provide for the submenu just a placeholder > > Which API is there to query for running opening projects? Future<Project[]> o.n.api.project.ui.OpenProjects.openProjects() tomas z. on cc, maybe he knows better
Yes,the Future from Future<Project[]> o.n.api.project.ui.OpenProjects.openProjects() is blocked unless the project are opened.
changeset: 1a5220a5fd72 user: Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org> date: Mon Jul 20 08:56:30 2015 +0200 summary: #253495 - org.netbeans.api.project.ProjectManager.findProject: LowPerformance took 34099 ms.
Integrated into 'main-silver', will be available in build *201507210001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/1a5220a5fd72 User: Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org> Log: #253495 - org.netbeans.api.project.ProjectManager.findProject: LowPerformance took 34099 ms.