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 217389

Summary: IOOBE in Edit Projects dialog
Product: profiler Reporter: Jiri Sedlacek <jis>
Component: BaseAssignee: Jiri Sedlacek <jis>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 7.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Jiri Sedlacek 2012-08-24 16:11:51 UTC
CPU Profiling, From "Edit Projects" dialog
1. From the "Available Projects" listbox, selected a Project + <space>
2. From the "Selected Projects" listbox, selected a Project + <space><space>

java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
  j.util.ArrayList.rangeCheck(ArrayList.java:604)
  j.util.ArrayList.get(ArrayList.java:382)
  org.netbeans.modules.profiler.ui.panels.ProjectSelectorPanel$1.getElementAt(ProjectSelectorPanel.java:78)
Comment 1 Jiri Sedlacek 2012-08-24 16:42:14 UTC
Fixed by http://hg.netbeans.org/profiler-main/rev/a5e19c6fdbba.
Comment 2 Quality Engineering 2012-08-28 02:37:49 UTC
Integrated into 'main-golden', will be available in build *201208280001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/a5e19c6fdbba
User: Jiri Sedlacek <jis@netbeans.org>
Log: Bugfix #217389 - do not read selection in an empty list