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 - IndexOutOfBoundsException: Index: 22, Size: 22
Summary: IndexOutOfBoundsException: Index: 22, Size: 22
Status: RESOLVED WONTFIX
Alias: None
Product: java
Classification: Unclassified
Component: Freeform (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-13 07:06 UTC by dathyrius
Modified: 2016-07-07 07:17 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 212694


Attachments
stacktrace (3.70 KB, text/plain)
2015-01-13 07:06 UTC, dathyrius
Details

Note You need to log in before you can comment on or make changes to this bug.
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