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 197004 - 6s - project.ui.actions.OpenProjectFolderAction.createContextAwareInstance()
Summary: 6s - project.ui.actions.OpenProjectFolderAction.createContextAwareInstance()
Status: RESOLVED WORKSFORME
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Infrastructure (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Stupka
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2011-03-23 12:09 UTC by dds.dhawal
Modified: 2015-06-04 16:03 UTC (History)
9 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 177836


Attachments
nps snapshot (14.89 KB, application/nps)
2011-03-23 12:09 UTC, dds.dhawal
Details
nps snapshot (30.46 KB, application/nps)
2011-06-20 13:47 UTC, Vladimir Voskresensky
Details
nps snapshot (54.06 KB, application/nps)
2011-09-05 09:56 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dds.dhawal 2011-03-23 12:09:10 UTC
This bug was originally marked as duplicate of bug 173958, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE Dev (Build 201103220400)
VM: Java HotSpot(TM) Client VM, 19.0-b09, Java(TM) SE Runtime Environment, 1.6.0_23-b05
OS: Windows 7

User Comments:
dds.dhawal: opening project



Maximum slowness yet reported was 4025 ms, average is 4025
Comment 1 dds.dhawal 2011-03-23 12:09:15 UTC
Created attachment 107212 [details]
nps snapshot
Comment 2 Vladimir Voskresensky 2011-06-20 13:47:22 UTC
Created attachment 108995 [details]
nps snapshot
Comment 3 Exceptions Reporter 2011-09-05 09:56:16 UTC
Created attachment 110389 [details]
nps snapshot
Comment 4 Milos Kleint 2012-12-17 20:41:34 UTC
in most recent cases (7.2 beta and 7.1.x), often the problem is that ProjectManager.isProject() is called in AWT (under READ mutex) while another thread is using WRITE project mutex for a long time.

No real solution in sight as some of the usages just have to happen in AWT. Eg. in DirectoryChooserUI.handleDblClick() via DirectoryNode.isNetBeansProject(). Only half-hacky solution I can imagine is to somehow tag the Icon returned by ProjectChooserAccessory.ProjectFileView and associate it with the DirectoryNode and only when the proper project action is there, enable the double click.
Comment 5 Tomas Stupka 2015-06-04 16:03:21 UTC
last report 2012-09-27, oldest build 7.2 beta
closing