Bug 226782 - org.netbeans.modules.glassfish.common.wizards.AddServerLocationPanel.isValid: LowPerformance took 38514 ms.
org.netbeans.modules.glassfish.common.wizards.AddServerLocationPanel.isValid:...
Status: NEW
Product: serverplugins
Classification: Unclassified
Component: GlassFish
7.3
PC Windows 7
: P3 (vote)
: 7.4
Assigned To: TomasKraus
issues@serverplugins
EXCEPTIONS_REPORT perf-profileme NB_ONLY
: PERFORMANCE
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-02-27 12:59 UTC by jbalaz
Modified: 2013-07-19 23:05 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
:


Attachments
nps snapshot (33.19 KB, application/nps)
2013-02-27 13:00 UTC, jbalaz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jbalaz 2013-02-27 12:59:58 UTC
Build: NetBeans IDE 7.3 (Build 201302132200)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.6-b04, Java(TM) SE Runtime Environment, 1.7.0_10-b18
OS: Windows 7

User Comments:
GUEST: 1. Add new Servers
2. Choose Glassfish
3. Enter remote path e.g. \\10.10.
4. System hangs after \\1

jbalaz: Add new remote instance
1. right click to Servers 
2. select glassfish 
3. write path to server begin with \\1
 resut NB hangs



Maximum slowness yet reported was 52059 ms, average is 45286
Comment 1 jbalaz 2013-02-27 13:00:00 UTC
Created attachment 131963 [details]
nps snapshot
Comment 2 TomasKraus 2013-03-25 11:44:38 UTC
This may be related to an attempt to check folder content after every single character is typed.

There are at least 2 points where directory content is being checked:
1) ServerWizardIterator.isValid(...)
2) AddServerLocationVisualPanel.AddServerLocationVisualPanel(...)

An attempt to read non existent remote content will cause remote read timeout and cause slowness in AWT EventQueue.

Fixing this would require all file system access code in wizard to be rewritten.


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo