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 109432 - Properties menu item freezes for several seconds for large projects on NFS
Summary: Properties menu item freezes for several seconds for large projects on NFS
Status: VERIFIED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Project (show other bugs)
Version: 5.x
Hardware: Sun All
: P2 blocker (vote)
Assignee: Thomas Preisler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-11 22:00 UTC by Vladimir Kvashin
Modified: 2015-10-29 02:21 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
UI thread stack (4.29 KB, text/plain)
2007-07-11 22:00 UTC, Vladimir Kvashin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Kvashin 2007-07-11 22:00:10 UTC
Open a large project (such as boost), which is located on NFS.
Select "Properties" from project explorer context menu.

The UI is frozen for 6-8 seconds - menu stays on the screen, item is selected.
(I used w2100 workstation while the project is located on w40z server) 

The stack shows that project system is cloning its configuration.

Either this operation should be made several times faster, or it should be performed in a separate thread.
Comment 1 Vladimir Kvashin 2007-07-11 22:00:49 UTC
Created attachment 44984 [details]
UI thread stack
Comment 2 Vladimir Kvashin 2007-07-11 22:02:16 UTC
I'd like to mentioned that I switched code model off to verify that it does not affect the situation.
Comment 3 Thomas Preisler 2007-08-16 19:18:56 UTC
Make the code faster is not easily done. Now I'm doing all the setup in a RequestProcessor thread so hopefully it helps
with responsiveness. I will monitor how it works over the next couple of weeks. The fix has been committed to trunk.
Comment 4 Alexander Ioffe 2007-11-15 17:56:10 UTC
For me it looks not bad
Verified in build 11152007
Comment 5 Quality Engineering 2015-10-29 02:21:14 UTC
Integrated into 'main-silver', will be available in build *201510290002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/d52e29cb4e6f
User: Danila Sergeyev <danilasergeyev@netbeans.org>
Log: fix bug #256014 AssertionError: Should be called in EDT only!
Note: RequestProcessor was added to fix the bug #109432,
but several improvements since then were made, so now there's no need to use it
(transplanted from 652523722e77ae44c8c410b03d5ef825797af819)