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 209316

Summary: NumberFormatException: For input string: "ooo"
Product: versioncontrol Reporter: Jiri Skrivanek <jskrivanek>
Component: HistoryAssignee: Tomas Stupka <tstupka>
Status: VERIFIED FIXED    
Severity: normal    
Priority: P3    
Version: 7.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 185671
Attachments: stacktrace

Description Jiri Skrivanek 2012-03-08 12:11:47 UTC
Build: NetBeans IDE Dev (Build 201203071105)
VM: Java HotSpot(TM) Client VM, 22.1-b02, Java(TM) SE Runtime Environment, 1.7.0_03-b05
OS: Windows XP

User Comments:
jskrivanek: Number format not checked.




Stacktrace: 
java.lang.NumberFormatException: For input string: "ooo"
   at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
   at java.lang.Integer.parseInt(Integer.java:492)
   at java.lang.Integer.parseInt(Integer.java:527)
   at org.netbeans.modules.versioning.ui.options.HistoryOptionsController.applyChanges(HistoryOptionsController.java:107)
   at org.netbeans.modules.versioning.util.VcsAdvancedOptions.applyChanges(VcsAdvancedOptions.java:149)
   at org.netbeans.modules.options.advanced.Model$DelegatingController.applyChanges(Model.java:306)
Comment 1 Jiri Skrivanek 2012-03-08 12:11:49 UTC
Created attachment 116462 [details]
stacktrace
Comment 2 Tomas Stupka 2012-03-26 14:44:48 UTC
fixed in core-main #5cf175d6ed63