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

Summary: 6s - project.ui.actions.OpenProjectFolderAction.createContextAwareInstance()
Product: projects Reporter: dds.dhawal
Component: Generic InfrastructureAssignee: Tomas Stupka <tstupka>
Status: RESOLVED WORKSFORME    
Severity: normal CC: b-k-m, davideconsonni, dds.dhawal, jtulach, pjiricka, roger_rf, sreder, vv159170, williambacchi
Priority: P3 Keywords: PERFORMANCE
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 177836
Attachments: nps snapshot
nps snapshot
nps snapshot

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