Please use the Apache issue tracking system for new NetBeans issues ( !!
Bug 226782 - org.netbeans.modules.glassfish.common.wizards.AddServerLocationPanel.isValid: LowPerformance took 38514 ms.
Product: serverplugins
Classification: Unclassified
Component: GlassFish
PC Windows 7
: P3 (vote)
: 7.4
Assigned To: TomasKraus
Depends on:
  Show dependency treegraph
Reported: 2013-02-27 12:59 UTC by jbalaz
Modified: 2015-09-17 13:10 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT

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

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.
Comment 3 Martin Balin 2015-09-17 13:10:12 UTC
Report from old NetBeans version. Due to code changes since it was reported likely not reproducible now. Feel free to reopen if happens in 8.0.2 or 8.1.

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