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 239936 - AIOOBE in Threads view
Summary: AIOOBE in Threads view
Status: RESOLVED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal (vote)
Assignee: Jiri Sedlacek
URL:
Keywords: VISUALVM
Depends on:
Blocks:
 
Reported: 2014-01-02 18:56 UTC by Jiri Sedlacek
Modified: 2014-06-23 12:26 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 2014-01-02 18:56:14 UTC
Steps - finish threads monitoring session, select a thread, restart the session.

java.lang.ArrayIndexOutOfBoundsException: 1
 at org.netbeans.lib.profiler.results.threads.ThreadsDataManager.getThreadData(ThreadsDataManager.java:109)
 at org.netbeans.lib.profiler.ui.threads.ThreadsPanel$2.getData(ThreadsPanel.java:220)
 at org.netbeans.lib.profiler.ui.threads.ThreadsPanel$2.getValueAt(ThreadsPanel.java:191)
 at javax.swing.JTable.getValueAt(JTable.java:2717)
 at org.netbeans.lib.profiler.ui.swing.ProfilerTable.getSelectedValue(ProfilerTable.java:327)
 at org.netbeans.lib.profiler.ui.swing.ProfilerTable.tableChanged(ProfilerTable.java:331)
 at javax.swing.table.AbstractTableModel.fireTableChanged(AbstractTableModel.java:296)
 at javax.swing.table.AbstractTableModel.fireTableDataChanged(AbstractTableModel.java:198)
 at org.netbeans.lib.profiler.ui.threads.ThreadsPanel$9$2.run(ThreadsPanel.java:430)
Comment 1 Jiri Sedlacek 2014-01-02 18:59:02 UTC
Fixed by http://hg.netbeans.org/profiler-main/rev/2a15356ab40a.
Comment 2 Quality Engineering 2014-01-08 02:51:26 UTC
Integrated into 'main-silver', will be available in build *201401080002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/2a15356ab40a
User: Jiri Sedlacek <jis@netbeans.org>
Log: Bugfix #239936 - prevent AIOOBE when resolving selected value while resetting the model