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 66569 - UI Issues on Proxy Configuration Dialog
Summary: UI Issues on Proxy Configuration Dialog
Status: RESOLVED FIXED
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: CVS (show other bugs)
Version: 5.x
Hardware: PC Solaris
: P3 blocker (vote)
Assignee: issues@versioncontrol
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-12 09:24 UTC by Masaki Katakai
Modified: 2007-01-04 17:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Masaki Katakai 2005-10-12 09:24:42 UTC
I'm seeing UI issues on Proxy Configuration Dialog. Netbeans does not complains
wrong setting - blank fields for proxy host and port.

Here is my environment:
  Solaris 10 x86
  JDK 1.5.0_01
  NetBeans 5.0 Beta

Step:
1. CVS Menu -> Checkout
2. Enter CVS Root
3. Click "Proxy Configuration..."
   The default is set to "Use System Proxy Settings"
   I wanted to use HTTP proxy... so
4. Select "HTTP Proxy"
    The text fields of "Proxy Host" and "Port" are activated, it's OK.
    However, "OK" button is still active without any input values for Host and Port.
5. Click "OK" button with blank Host and Port field,  there is no error dialog.
    Netbeans should bring up error dialog.
6. When back to the dialog, click "Next" will generate the following exception,
   which will come from wrong setting.

java.lang.IllegalArgumentException: Illegal proxy port number: -1
	at
org.netbeans.modules.proxy.ConnectivitySettings.setProxy(ConnectivitySettings.java:109)
	at
org.netbeans.modules.versioning.system.cvss.ClientRuntime.toConnectivitySettings(ClientRuntime.java:296)
	at
org.netbeans.modules.versioning.system.cvss.ui.wizards.RepositoryStep.validateBeforeNext(RepositoryStep.java:222)
	at
org.netbeans.modules.versioning.system.cvss.ui.wizards.AbstractStep.validate(AbstractStep.java:114)
	at org.openide.WizardDescriptor$4.run(WizardDescriptor.java:1105)
	at org.openide.util.Task.run(Task.java:207)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:469)
[catch] at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:870)
Comment 1 Maros Sandor 2005-10-14 13:10:06 UTC
OK button is now disabled if host/port fields contain invalid values.

/shared/data/ccvs/repository/javacvs/cvsmodule/src/org/netbeans/modules/versioning/system/cvss/ui/selectors/ProxySelector.java,v
 <--  ProxySelector.java
new revision: 1.9; previous revision: 1.7
Comment 2 Maros Sandor 2005-10-14 13:15:12 UTC
.