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 - IOOBE in Edit Projects dialog
Summary: IOOBE in Edit Projects dialog
Status: RESOLVED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 7.2
Hardware: All All
: P3 normal (vote)
Assignee: Jiri Sedlacek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-24 16:11 UTC by Jiri Sedlacek
Modified: 2012-08-28 02:37 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

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