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 171842

Summary: AWT thread blocked for 25434 ms.
Product: utilities Reporter: jmichelberger <jmichelberger>
Component: SearchAssignee: Victor Vasilyev <vvg>
Status: RESOLVED FIXED    
Severity: blocker Keywords: PERFORMANCE
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
URL: http://statistics.netbeans.org/exceptions/detail.do?id=156079
Issue Type: DEFECT Exception Reporter: 156079
Attachments: nps snapshot

Description jmichelberger 2009-09-09 16:51:31 UTC
Build: NetBeans IDE Dev (Build nbms-and-javadoc-3898-on-090909)
VM: Java HotSpot(TM) Client VM, 14.2-b01, Java(TM) SE Runtime Environment, 1.6.0_16-b01
OS: Windows XP, 5.1, x86
Maximum slowness yet reported was 25434 ms, average is 15810
Comment 1 jmichelberger 2009-09-09 16:51:40 UTC
Created attachment 87379 [details]
nps snapshot
Comment 2 Jan Lahoda 2009-09-10 11:24:09 UTC
org.netbeans.modules.search.project.ProjectOpenFileImpl.open could probably call OpenProjects.open in a working thread.
Comment 3 Victor Vasilyev 2010-05-28 16:02:24 UTC
I agree with the proposal. It is possible to open specified project in separate thread asynchronously, i.e. not in AWT thread. 

Fixed in the main trunk
http://hg.netbeans.org/main/rev/edbb5f3875f5

Steps to verify:
1. Start NB
2. Start OS' File Browser and find a folder of any NB project.
3. Drag & Drop the project folder to editor's area of the main NB window.

Expected result:
The project should be opened without slowness detecting.