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 249772

Summary: IndexOutOfBoundsException: Index: 22, Size: 22
Product: java Reporter: dathyrius
Component: FreeformAssignee: Tomas Zezula <tzezula>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: P3    
Version: 8.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 212694
Attachments: stacktrace

Description dathyrius 2015-01-13 07:06:47 UTC
This issue was reported manually by dathyrius.
It already has 2 duplicates 


Build: NetBeans IDE 8.0.1 (Build 201408251540)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.25-b02, Java(TM) SE Runtime Environment, 1.8.0_25-b18
OS: Windows 7

User Comments:
GUEST: While opening Free-From-Project-Properites.

dathyrius: Added a Source-Folder to my free form project an tried to configure the source class path




Stacktrace: 
java.lang.IndexOutOfBoundsException: Index: 22, Size: 22
   at java.util.ArrayList.RangeCheck(ArrayList.java:653)
   at java.util.ArrayList.get(ArrayList.java:429)
   at org.netbeans.modules.java.freeform.ui.ProjectModel.getSourceFolder(ProjectModel.java:381)
   at org.netbeans.modules.java.freeform.ui.ProjectModel.isTestSourceFolder(ProjectModel.java:718)
   at org.netbeans.modules.java.freeform.ui.ClasspathPanel.saveClasspath(ClasspathPanel.java:583)
   at org.netbeans.modules.java.freeform.ui.ClasspathPanel.sourceFolderItemStateChanged(ClasspathPanel.java:562)
Comment 1 dathyrius 2015-01-13 07:06:48 UTC
Created attachment 151476 [details]
stacktrace
Comment 2 Martin Balin 2016-07-07 07:17:08 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss