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 145743 - [65cat] IllegalArgumentException: port out of range:888888
Summary: [65cat] IllegalArgumentException: port out of range:888888
Status: CLOSED DUPLICATE of bug 135872
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: issues@debugger
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-31 23:15 UTC by sunbiz
Modified: 2010-04-29 09:43 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 102597


Attachments
stacktrace (1.01 KB, text/plain)
2008-08-31 23:15 UTC, sunbiz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sunbiz 2008-08-31 23:15:15 UTC
Build: NetBeans IDE Dev (Build 200808281401)
VM: Java HotSpot(TM) Client VM, 10.0-b22, Java(TM) SE Runtime Environment, 1.6.0_06-b02
OS: Linux, 2.6.24-19-generic, i386

User Comments: 
Entered port out of range (say: 888888) when doing Attach Debugger and got this exception. Ideally, Netbeans should not accept port input above 65535

Stacktrace: 
java.lang.IllegalArgumentException: port out of range:888888
        at java.net.InetSocketAddress.<init>(InetSocketAddress.java:118)
        at com.sun.tools.jdi.SocketTransportService.attach(SocketTransportService.java:201)
        at com.sun.tools.jdi.GenericAttachingConnector.attach(GenericAttachingConnector.java:98)
        at com.sun.tools.jdi.SocketAttachingConnector.attach(SocketAttachingConnector.java:72)
        at org.netbeans.api.debugger.jpda.AttachingDICookie.getVirtualMachine(AttachingDICookie.java:220)
        at org.netbeans.modules.debugger.jpda.actions.StartActionProvider.doStartDebugger(StartActionProvider.java:189)
Comment 1 sunbiz 2008-08-31 23:15:21 UTC
Created attachment 68752 [details]
stacktrace
Comment 2 sunbiz 2008-08-31 23:16:39 UTC
Lowering priority... A rare use-case and user input mistake 
Comment 3 Petr Cyhelsky 2008-09-01 00:08:45 UTC
duplicate of Issue #135872

*** This issue has been marked as a duplicate of 135872 ***
Comment 4 Quality Engineering 2010-04-29 09:43:31 UTC
Verified ... and Closing all issues resolved into NetBeans 6.7 and earlier.