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 84607 - Two error messages when nonexistant ws installation directory is choosen.
Summary: Two error messages when nonexistant ws installation directory is choosen.
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: WebServer 7 (show other bugs)
Version: 5.x
Hardware: All Windows XP
: P3 blocker (vote)
Assignee: Mukesh Garg
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-11 14:10 UTC by prabushankar
Modified: 2006-09-14 16:36 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshot (1.18 MB, image/bmp)
2006-09-11 14:16 UTC, prabushankar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description prabushankar 2006-09-11 14:10:46 UTC
WS7.0 Build Sun Java System Web Server 7.0 B08/31/2006 08:14
NB 5.0 Build 2000601251500

Steps:
1) Start netbeans IDE and in run-time tab right-click servers and choose 'Add
servers'
2) Choose 'Sun Java System Web Server 7.0' in the 'Choose Server' Server type.
3) Click next to reach 'Server location and configuration'.
4) In the installation directory provide a non-existant directory.
5) Click in any other text box (say admin-port)
Look for two error alerts complaining about the absent directory.
Cause: There seems to be two checks, one for a invalid directory path and one
for non-existent directory path
Comment 1 prabushankar 2006-09-11 14:16:18 UTC
Created attachment 33763 [details]
Screenshot
Comment 2 Mukesh Garg 2006-09-14 16:35:59 UTC
The pop-up of the error message box is necessary only if the user is selecting
the Webserver directory using the FileChooser.

If user has entered a non-existent directory or a wrong directory manually, the
error should be shown at the bottom at the panel and Location fied should gain
the focus.

Changed file:
serverplugins/sun/webserver7/src/org/netbeans/modules/j2ee/sun/ws7/ui/WS70AddServerChoiceVisualPanel.java

The checkin is done on both trunk and release55 branch.