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.
Build: NetBeans IDE 6.5 RC2 (Build 20081031212129) VM: Java HotSpot(TM) Client VM, 11.0-b15, Java(TM) SE Runtime Environment, 1.6.0_10-rc2-b32 OS: Windows Vista, 6.0, x86 User Comments: sunbiz: Port number for Python debugger in Options needs validation Stacktrace: java.lang.NumberFormatException: For input string: "565213215652132132161213" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48) at java.lang.Integer.parseInt(Integer.java:459) at java.lang.Integer.parseInt(Integer.java:497) at org.netbeans.modules.python.options.OptionsPanel.store(OptionsPanel.java:80) at org.netbeans.modules.python.options.OptionsOptionsPanelController.applyChanges(OptionsOptionsPanelController.java:26) at org.netbeans.modules.options.CategoryModel$Category.applyChanges(CategoryModel.java:387)
Created attachment 73052 [details] stacktrace
Build: NetBeans IDE Dev (Build 200905190201) VM: Java HotSpot(TM) Client VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03 OS: Windows XP, 5.1, x86 User Comments: incorrect port value in Options-Python-Debuger Stacktrace: java.lang.NumberFormatException: For input string: "fdgdfgd" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48) at java.lang.Integer.parseInt(Integer.java:447) at java.lang.Integer.parseInt(Integer.java:497) at org.netbeans.modules.python.options.OptionsPanel.store(OptionsPanel.java:70) at org.netbeans.modules.python.options.OptionsOptionsPanelController.applyChanges(OptionsOptionsPanelController.java:26) at org.netbeans.modules.options.CategoryModel$Category.applyChanges(CategoryModel.java:389)
Created attachment 82667 [details] stacktrace
In Tools->Options->Python->Debugger, the listening port entry field must be validated as follows: Must be numeric only, >1023 && <65535 > 1023 because less than that requires Admin auth on some systems. < 65535 because the system creates a second port at 'yours'+1
Validation only needs to be numeric, >0 && < 65535 Nicer validation can be covered under Bug 152103
Correction: Nicer validation can be covered under Bug 256003
Fixed. Should be available in next release after 20-Oct-2015.