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.
Product Version: NetBeans IDE Dev (Build 200807070002) Java: 1.6.0_10-rc; Java HotSpot(TM) Client VM 11.0-b13 System: Windows Vista version 6.0 running on x86; Cp1250; cs_CZ (nb) Observed: When inputting port number in attach debugger dialog I by mistake pressed 8 too many times - making the port number greater than 65535, consequently Illegal argument exception occurred. Expected: Either the "invalid value of parameter" dialog should pop up just as if non-number was inputted or the attach debugger dialog should warn that the port number is invalid or the "ok" button should be disabled unless user inputs valid port or the input. Steps to reproduce: invoke Run|Attach debugger -> select socket attach or socket listen from the combo -> input some number greater than 65535 into the Port: textfield java.lang.IllegalArgumentException: port out of range:88888 at java.net.InetSocketAddress.<init>(InetSocketAddress.java:83) at java.net.InetSocketAddress.<init>(InetSocketAddress.java:63) at com.sun.tools.jdi.SocketTransportService.startListening(SocketTransportService.java:232) at com.sun.tools.jdi.SocketTransportService.startListening(SocketTransportService.java:265) at com.sun.tools.jdi.GenericListeningConnector.startListening(GenericListeningConnector.java:96) at com.sun.tools.jdi.SocketListeningConnector.startListening(SocketListeningConnector.java:67) at com.sun.tools.jdi.GenericListeningConnector.accept(GenericListeningConnector.java:143) at org.netbeans.api.debugger.jpda.ListeningDICookie.getVirtualMachine(ListeningDICookie.java:232) at org.netbeans.modules.debugger.jpda.actions.StartActionProvider.doStartDebugger(StartActionProvider.java:189) at org.netbeans.modules.debugger.jpda.actions.StartActionProvider.access$100(StartActionProvider.java:75) at org.netbeans.modules.debugger.jpda.actions.StartActionProvider$1.run(StartActionProvider.java:165) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:572) [catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:997)
*** This issue has been marked as a duplicate of 135872 ***
verified duplicate