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 62550 - RasterFormatException in VM Telemetry graph
Summary: RasterFormatException in VM Telemetry graph
Status: CLOSED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 4.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jiri Sedlacek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-18 09:56 UTC by iformanek
Modified: 2007-02-12 22:11 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 iformanek 2005-08-18 09:56:36 UTC
Steps performed:
- attached to NetBeans, waited for it to start
- opened Threads window
- turned on Threads monitoring
- resized the output window or maximized the IDE window

this exception was thrown 3 times:

java.awt.image.RasterFormatException: (x + width) is outside raster
	at sun.awt.image.IntegerInterleavedRaster.createWritableChild
(IntegerInterleavedRaster.java:450)
	at 
com.sun.tools.profiler.ui.charts.SynchronousXYChart.drawChartFromOffset
(SynchronousXYChart.java:1080)
	at 
com.sun.tools.profiler.ui.charts.SynchronousXYChart.drawChartFromCurrentViewOffs
etX(SynchronousXYChart.java:1029)
	at com.sun.tools.profiler.ui.charts.SynchronousXYChart.drawChart
(SynchronousXYChart.java:980)
	at com.sun.tools.profiler.ui.charts.SynchronousXYChart.paintComponent
(SynchronousXYChart.java:950)
	at javax.swing.JComponent.paint(JComponent.java:1005)
	at javax.swing.JComponent.paintChildren(JComponent.java:842)
	at javax.swing.JComponent.paint(JComponent.java:1014)
	at javax.swing.JComponent.paintChildren(JComponent.java:842)
	at javax.swing.JComponent.paint(JComponent.java:1014)
	at javax.swing.JComponent.paintChildren(JComponent.java:842)
	at javax.swing.JComponent.paint(JComponent.java:1014)
	at javax.swing.JComponent.paintChildren(JComponent.java:842)
	at javax.swing.JComponent.paint(JComponent.java:1014)
	at javax.swing.JComponent.paintChildren(JComponent.java:842)
	at javax.swing.JComponent.paint(JComponent.java:1014)
	at javax.swing.JComponent.paintChildren(JComponent.java:842)
	at javax.swing.JComponent.paint(JComponent.java:1014)
	at javax.swing.JComponent.paintChildren(JComponent.java:842)
	at javax.swing.JComponent.paint(JComponent.java:1014)
	at javax.swing.JComponent.paintChildren(JComponent.java:842)
	at javax.swing.JSplitPane.paintChildren(JSplitPane.java:1021)
	at javax.swing.JComponent.paint(JComponent.java:1014)
	at javax.swing.JComponent.paintChildren(JComponent.java:842)
	at javax.swing.JComponent.paint(JComponent.java:1014)
	at javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4963)
	at javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4916)
	at javax.swing.JComponent._paintImmediately(JComponent.java:4859)
	at javax.swing.JComponent.paintImmediately(JComponent.java:4666)
	at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:451)
[catch] at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run
(SystemEventQueueUtilities.java:114)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
	at java.awt.EventDispatchThread.pumpOneEventForHierarchy
(EventDispatchThread.java:242)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy
(EventDispatchThread.java:163)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Comment 1 Jiri Sedlacek 2005-08-18 16:01:24 UTC
This exception can occur only for VM Telemetry graphs, SynchronousXYChart isn't 
used for displaying Threads Timeline.

Cannot reproduce but added a check on raster size to prevent this exception 
from occuring.

Fixed for M9.
Comment 2 ehucka 2006-10-09 12:11:11 UTC
Verification of old issues.
Comment 3 Alexander Kouznetsov 2007-02-12 22:11:55 UTC
Closing old issues.