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 176950 - 16s - in CloneableEditor.closeLast()
Summary: 16s - in CloneableEditor.closeLast()
Status: RESOLVED WONTFIX
Alias: None
Product: platform
Classification: Unclassified
Component: Text (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: mslama
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2009-11-16 14:53 UTC by nmaves
Modified: 2009-12-03 01:52 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 160212


Attachments
nps snapshot (256.00 KB, application/nps)
2009-11-16 14:53 UTC, nmaves
Details
Cancel the loading task, make RP interruptable (1.38 KB, patch)
2009-12-03 01:52 UTC, Jaroslav Tulach
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description nmaves 2009-11-16 14:53:30 UTC
Build: NetBeans IDE 6.8 Beta (Build 200910212001)
VM: Java HotSpot(TM) 64-Bit Server VM, 14.1-b02-90, Java(TM) SE Runtime Environment, 1.6.0_15-b03-219
OS: Mac OS X, 10.6.2, x86_64

User Comments:
dheffelfinger: closing a JSP

GUEST: closing a jspx file whie scanning was performing

GUEST: Right clicked on a tab, selected close all documents. This was while the application was openning and scanning projects.


Maximum slowness yet reported was 17516 ms, average is 8540
Comment 1 nmaves 2009-11-16 14:53:35 UTC
Created attachment 91133 [details]
nps snapshot
Comment 2 Exceptions Reporter 2009-11-16 14:53:40 UTC
This issue already has 8 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=160212
Comment 3 mslama 2009-12-02 07:26:03 UTC
There is synchronization in CloneableEditor to avoid closing editor while it is being initialized (non visual part of editor initialization including loading of document which can take long time). Unfortunately in this case user closes editor from AWT thread while document loading is in progress and it takes long. There is nothing we can do in this case.
Comment 4 Jaroslav Tulach 2009-12-03 01:51:08 UTC
Until there are more duplicates we can leave the issue closed as won'tfix. In case the frequency of problems increases, I suggest to interrupt the loading in closeLast.
Comment 5 Jaroslav Tulach 2009-12-03 01:52:20 UTC
Created attachment 92026 [details]
Cancel the loading task, make RP interruptable