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 119359 - [ProfilingPoints] AIOOB exception at close profiling project
Summary: [ProfilingPoints] AIOOB exception at close profiling project
Status: VERIFIED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: issues@profiler
URL:
Keywords: RANDOM
Depends on:
Blocks:
 
Reported: 2007-10-18 14:30 UTC by Maksim Khramov
Modified: 2007-10-31 13:32 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 Maksim Khramov 2007-10-18 14:30:07 UTC
Product Version: NetBeans IDE 6.0 Beta 2 (Build 200710160000)
Java: 1.6.0_02; Java HotSpot(TM) Client VM 1.6.0_02-b05
System: Windows XP version 5.1 running on x86; Cp1251; ru_RU (nb)

Steps to reproduce:
Create GUIFormExamples project
Open Profiling points window and add Triggered snapshot with Loaded Classes exceeds some value (I set 1000)
Run Memory profiling (Record both object creation and GC; Record stack trace)
Switch to Profiling Points window and wait some results available.
Close profiled project.
The exception is thrown:
java.lang.ArrayIndexOutOfBoundsException: 0 
	at org.netbeans.modules.profiler.ppoints.ui.ProfilingPointsWindowUI$1.getValueAt(ProfilingPointsWindowUI.java:518)
	at org.netbeans.lib.profiler.ui.components.table.ExtendedTableModel.getValueAt(ExtendedTableModel.java:132)
	at javax.swing.JTable.getValueAt(JTable.java:2638)
	at javax.swing.JTable.prepareRenderer(JTable.java:5652)
	at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:2072)
	at javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:1974)
	at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:1770)
	at javax.swing.plaf.ComponentUI.update(ComponentUI.java:143)
	at javax.swing.JComponent.paintComponent(JComponent.java:763)
	at javax.swing.JComponent.paint(JComponent.java:1027)
	at javax.swing.JComponent.paintToOffscreen(JComponent.java:5122)
	at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:1382)
	at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1313)
	at javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:301)
	at javax.swing.RepaintManager.paint(RepaintManager.java:1128)
	at javax.swing.JComponent._paintImmediately(JComponent.java:5070)
	at javax.swing.JComponent.paintImmediately(JComponent.java:4880)
	at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:723)
	at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:679)
	at javax.swing.RepaintManager.seqPaintDirtyRegions(RepaintManager.java:659)
[catch] at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:128)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
Comment 1 Jiri Sedlacek 2007-10-22 16:25:42 UTC
Cannot reliably reproduce. Hopefully fixed in trunk by performing UI code (not listed in the above stacktrace) in EDT,
please reopen if it happens again.
Comment 2 Maksim Khramov 2007-10-31 13:32:44 UTC
Verified in build 200710301200