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 214284 - IndexOutOfBoundsException: Index: 0, Size: 0
Summary: IndexOutOfBoundsException: Index: 0, Size: 0
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-06-15 13:35 UTC by Petr Cyhelsky
Modified: 2012-10-12 02:03 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 189574


Attachments
stacktrace (6.53 KB, text/plain)
2012-06-15 13:35 UTC, Petr Cyhelsky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Cyhelsky 2012-06-15 13:35:21 UTC
Build: NetBeans IDE 7.2 RC1 (Build 201206141830)
VM: Java HotSpot(TM) Client VM, 23.0-b21, Java(TM) SE Runtime Environment, 1.7.0_04-b20
OS: Linux

User Comments:
cyhelsky: profiled app on jboss -> stop -> invoked profile on JBossTestApp again -> select task panel was empty and this exception was thrown




Stacktrace: 
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
   at java.util.ArrayList.RangeCheck(ArrayList.java:604)
   at java.util.ArrayList.get(ArrayList.java:382)
   at org.netbeans.modules.profiler.stp.TaskPresenter$LargeTaskPresenter.createCustomSettings(TaskPresenter.java:216)
   at org.netbeans.modules.profiler.stp.TaskPresenter$LargeTaskPresenter.access$600(TaskPresenter.java:146)
   at org.netbeans.modules.profiler.stp.TaskPresenter$LargeTaskPresenter$3.mouseClicked(TaskPresenter.java:315)
   at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:270)
Comment 1 Petr Cyhelsky 2012-06-15 13:35:26 UTC
Created attachment 120911 [details]
stacktrace
Comment 2 Jiri Sedlacek 2012-10-04 17:38:45 UTC
Actually duplicate of Bug 212239 which has not been fixed properly.

Fixed by http://hg.netbeans.org/profiler-main/rev/ba8353db7bc5.
Comment 3 Quality Engineering 2012-10-06 02:01:06 UTC
Integrated into 'main-golden', will be available in build *201210060002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/ba8353db7bc5
User: Jiri Sedlacek <jis@netbeans.org>
Log: Bugfix #214284 - Let the STP UI wait while loading profiling settings
Comment 4 Quality Engineering 2012-10-12 02:03:38 UTC
Integrated into 'main-golden', will be available in build *201210120002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/72a32594cca3
User: Jiri Sedlacek <jis@netbeans.org>
Log: Final bugfix #214284 - do not synchronize access to profiling settings in ProfilerRequestProcessor