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 5590 - If you set service port number greated than FFFFh, exception is throwed.
Summary: If you set service port number greated than FFFFh, exception is throwed.
Status: CLOSED INVALID
Alias: None
Product: javaee
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: All All
: P4 normal (vote)
Assignee: Marek Fukala
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-01-29 00:43 UTC by Marek Fukala
Modified: 2002-07-19 15:28 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 Marek Fukala 2000-01-29 00:43:08 UTC
For example type to internal browser adress field following:

http://localhost:80888880/somethink

Following exception should be throwed:

java.lang.IllegalArgumentException: port out range:80888880
        at java.net.Socket.<init>(Socket.java:253)
        at java.net.Socket.<init>(Socket.java:100)
        at sun.net.NetworkClient.doConnect(NetworkClient.java:50)
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:331)
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:517)
        at sun.net.www.http.HttpClient.<init>(HttpClient.java:267)
        at sun.net.www.http.HttpClient.<init>(HttpClient.java:277)
        at sun.net.www.http.HttpClient.New(HttpClient.java:289)
        at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection
.java:379)
        at ice.iblite.BrowserURLLoader.connect(ice/iblite/BrowserURLLoader)
        at ice.iblite.BrowserURLLoader.getInputStream(ice/iblite/BrowserURLLoade
r)

        at ice.iblite.BrowserURLLoader.getContentType(ice/iblite/BrowserURLLoade
r)
        at ice.iblite.ProcessURL.run(ice/iblite/ProcessURL)
        at java.lang.Thread.run(Thread.java:484)

[Hanz] We can not catch this Exception...
Comment 1 Marek Grummich 2000-07-25 09:23:59 UTC
Priority is changed to P4 (normal).