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 171351 - AWT thread blocked for 61601 ms.
Summary: AWT thread blocked for 61601 ms.
Status: RESOLVED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Infrastructure (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Milan Kubec
URL: http://statistics.netbeans.org/except...
Keywords:
: 172967 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-09-02 18:44 UTC by sreimers
Modified: 2009-09-24 09:04 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 154438


Attachments
nps snapshot (17.74 KB, bin/nps)
2009-09-02 18:44 UTC, sreimers
Details
nps snapshot (25.58 KB, bin/nps)
2009-09-03 16:16 UTC, sreimers
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sreimers 2009-09-02 18:44:08 UTC
Build: NetBeans IDE Dev (Build nbms-and-javadoc-3814-on-090826)
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 61601 ms, average is 33488
Comment 1 sreimers 2009-09-02 18:44:13 UTC
Created attachment 86998 [details]
nps snapshot
Comment 2 sreimers 2009-09-03 16:16:31 UTC
Build: NetBeans IDE Dev (Build nbms-and-javadoc-3814-on-090826)
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

User Comments: 

Maximum slowness yet reported was 61601 ms, average is 38509
Comment 3 sreimers 2009-09-03 16:16:35 UTC
Created attachment 87063 [details]
nps snapshot
Comment 4 Milan Kubec 2009-09-08 09:45:52 UTC
Reassigning to performance team for explanation. Open project is "covered" by non-cancel modal dialog showing progress,
hence I think that such delay shouldn't be reported.(?) Thanks.
Comment 5 Jaroslav Tulach 2009-09-08 12:16:42 UTC
The problem in the recent snapshot (http://www.netbeans.org/nonav/issues/showattachment.cgi/87063/snapshot.nps) is 
that there is no dialog that would show progress, at least I do not see it in the stacktrace. The project opening 
needs to be moved outside of AWT.

Don't you want to use new (since 1.35) method:
http://bits.netbeans.org/dev/javadoc/org-netbeans-modules-projectuiapi/org/netbeans/api/project/ui/OpenProjects.html#open(org.netbeans.api.project.Project[], 
boolean, boolean)

Comment 6 Milan Kubec 2009-09-08 13:43:30 UTC
Fixed.

http://hg.netbeans.org/core-main/rev/5a2a32feeb18
Comment 7 Quality Engineering 2009-09-11 21:38:57 UTC
Integrated into 'main-golden', will be available in build *200909111401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/5a2a32feeb18
User: Milan Kubec <mkubec@netbeans.org>
Log: #171351: opening project from search moved out off AWT EQ
Comment 8 Milan Kubec 2009-09-24 09:04:36 UTC
*** Issue 172967 has been marked as a duplicate of this issue. ***