-
Bug
-
Resolution: Fixed
-
P4
-
1.2.0, 1.2.1, 1.2.2, 1.3.1, 1.3.1_01
-
merlin
-
generic, x86, sparc
-
generic, solaris_2.6, solaris_7, solaris_8, windows_nt
-
Verified
The attached ClipAnim sample throws this exception under win32 (NT & 95) 24 bit only :
Exception occurred during event dispatching:
java.lang.IllegalArgumentException: Width (95) and height (0) must be > 0
at java.awt.image.Raster.createPackedRaster(Compiled Code)
at sun.java2d.loops.RasterOutputManager.renderImage(RasterOutputManager.
java:472)
at sun.java2d.SunGraphics2D.renderingPipeImage(Compiled Code)
at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:1769)
at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:1657)
at sun.awt.image.BufferedImageGraphics2D.drawImage(BufferedImageGraphics
2D.java:400)
at sun.awt.image.ImageRepresentation.drawToBufImage(ImageRepresentation.
java:708)
at sun.awt.image.BufferedImageGraphics2D.drawImage(BufferedImageGraphics
2D.java:361)
at ClipAnim.drawDemo(Compiled Code)
at ClipAnim.paint(ClipAnim.java:169)
at javax.swing.JComponent.paintWithBuffer(Compiled Code)
at javax.swing.JComponent._paintImmediately(Compiled Code)
at javax.swing.JComponent.paintImmediately(Compiled Code)
at javax.swing.RepaintManager.paintDirtyRegions(Compiled Code)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(System
EventQueueUtilities.java:185)
at javax.swing.SystemEventQueueUtilities.processRunnableEvent(SystemEven
tQueueUtilities.java:354)
at javax.swing.SystemEventQueueUtilities.access$0(SystemEventQueueUtilit
ies.java:350)
at javax.swing.SystemEventQueueUtilities$RunnableTarget.processEvent(Sys
temEventQueueUtilities.java:391)
at java.awt.Component.dispatchEventImpl(Component.java:2376)
at java.awt.Component.dispatchEvent(Component.java:2289)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:258)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:68)
jdk1.2-S
===================
Getting the same backtrace from the Clipping tab of the Java2Demo on Solaris 2.7
using JDK 1.2.2 build Q.
Only see it when turn AlphaCompositing ON using the 2D demo's user controls.
phil.race@eng 1999-04-29
===================
Name: tb29552 Date: 01/18/2000
When in the java2Demo using a local display that is TrueColor. I
The following output with exception would occured.
(Note: this error was not easy to reproduce, seemed to occur less
then 50% of time when starting demo. And to get it you really had
to stress the Java2Demo application.) This error is similiar to the
Javasoft bug 4189244 which applied to win32 systems.
Output follows:
at DemoSurface.paint(DemoSurface.java:308)
at javax.swing.JComponent.paintWithBuffer(JComponent.java:3701)
at javax.swing.JComponent._paintImmediately(JComponent.java:3646)
at javax.swing.JComponent.paintImmediately(JComponent.java:3496)
at DemoSurface.paintImmediately(DemoSurface.java:280)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:365)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:191)
at javax.swing.SystemEventQueueUtilities.processRunnableEvent(SystemEventQueueUtilities.java:366)
at javax.swing.SystemEventQueueUtilities.access$0(SystemEventQueueUtilities.java:362)
at javax.swing.SystemEventQueueUtilities$RunnableTarget.processEvent(Sys
temEventQueueUtilities.java:403)
at java.awt.Component.dispatchEventImpl(Component.java:2394)
at java.awt.Component.dispatchEvent(Component.java:2307)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:287)
at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:92)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:83)
Exception occurred during event dispatching:
java.lang.IllegalArgumentException: Width (269) and height (0) must be > 0
at java.awt.image.SampleModel.<init>(SampleModel.java:100)
at java.awt.image.SinglePixelPackedSampleModel.<init>(SinglePixelPackedSampleModel.java:109)
at java.awt.image.Raster.createPackedRaster(Raster.java:598)
at java.awt.image.Raster.createPackedRaster(Raster.java:412)
at java.awt.image.DirectColorModel.createCompatibleWritableRaster(DirectColorModel.java:637)
at sun.java2d.loops.LockableRaster.<init>(LockableRaster.java:135)
at sun.java2d.loops.RasterOutputManager.convertFrom(RasterOutputManager.java:1473)
at sun.java2d.loops.RasterOutputManager.performBinaryComposite(RasterOutputManager.java:1387)
at sun.java2d.loops.RasterOutputManager.compositeSrcDst(RasterOutputManager.java:720)
at sun.java2d.loops.RasterOutputManager.renderImage(RasterOutputManager.java:494)
at sun.java2d.SunGraphics2D.renderingPipeImage(SunGraphics2D.java:2184)
at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:1768)
at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:1656)
at sun.awt.image.BufferedImageGraphics2D.drawImage(BufferedImageGraphics2D.java:412)
at sun.awt.image.ImageRepresentation.drawToBufImage(ImageRepresentation.java:708)
at sun.awt.image.BufferedImageGraphics2D.drawImage(BufferedImageGraphics2D.java:373)
at demos.Clipping.ClipAnim.drawDemo(ClipAnim.java:155)
at DemoSurface.paint(DemoSurface.java:308)
at javax.swing.JComponent.paintWithBuffer(JComponent.java:3701)
at javax.swing.JComponent._paintImmediately(JComponent.java:3646)
at javax.swing.JComponent.paintImmediately(JComponent.java:3496)
at DemoSurface.paintImmediately(DemoSurface.java:280)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:365)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:191)
at javax.swing.SystemEventQueueUtilities.processRunnableEvent(SystemEventQueueUtilities.java:366)
at javax.swing.SystemEventQueueUtilities.access$0(SystemEventQueueUtilities.java:362)
at javax.swing.SystemEventQueueUtilities$RunnableTarget.processEvent(SystemEventQueueUtilities.java:403)
at java.awt.Component.dispatchEventImpl(Component.java:2394)
at java.awt.Component.dispatchEvent(Component.java:2307)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:287)
at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:92)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:83)
Exception occurred during event dispatching:
java.lang.IllegalArgumentException: Width (255) and height (0) must be > 0
at java.awt.image.SampleModel.<init>(SampleModel.java:100)
at java.awt.image.SinglePixelPackedSampleModel.<init>(SinglePixelPackedSampleModel.java:109)
at java.awt.image.Raster.createPackedRaster(Raster.java:598)
at java.awt.image.Raster.createPackedRaster(Raster.java:412)
at java.awt.image.DirectColorModel.createCompatibleWritableRaster(DirectColorModel.java:637)
at sun.java2d.loops.LockableRaster.<init>(LockableRaster.java:135)
at sun.java2d.loops.RasterOutputManager.convertFrom(RasterOutputManager.java:1473)
at sun.java2d.loops.RasterOutputManager.performBinaryComposite(RasterOutputManager.java:1387)
at sun.java2d.loops.RasterOutputManager.compositeSrcDst(RasterOutputManager.java:720)
at sun.java2d.loops.RasterOutputManager.renderImage(RasterOutputManager.java:494)
at sun.java2d.SunGraphics2D.renderingPipeImage(SunGraphics2D.java:2184)
at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:1768)
at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:1656)
at sun.awt.image.BufferedImageGraphics2D.drawImage(BufferedImageGraphics2D.java:412)
at sun.awt.image.ImageRepresentation.drawToBufImage(ImageRepresentation.java:708)
at sun.awt.image.BufferedImageGraphics2D.drawImage(BufferedImageGraphics2D.java:373)
at demos.Clipping.ClipAnim.drawDemo(ClipAnim.java:155)
at DemoSurface.paint(DemoSurface.java:308)
at javax.swing.JComponent.paintWithBuffer(JComponent.java:3701)
at javax.swing.JComponent._paintImmediately(JComponent.java:3646)
at javax.swing.JComponent.paintImmediately(JComponent.java:3496)
at DemoSurface.paintImmediately(DemoSurface.java:280)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:365)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:191)
at javax.swing.SystemEventQueueUtilities.processRunnableEvent(SystemEventQueueUtilities.java:366)
at javax.swing.SystemEventQueueUtilities.access$0(SystemEventQueueUtilities.java:362)
at javax.swing.SystemEventQueueUtilities$RunnableTarget.processEvent(SystemEventQueueUtilities.java:403)
at java.awt.Component.dispatchEventImpl(Component.java:2394)
at java.awt.Component.dispatchEvent(Component.java:2307)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:287)
at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:92)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:83)
#
(Review ID: 96503)
======================================================================
Exception occurred during event dispatching:
java.lang.IllegalArgumentException: Width (95) and height (0) must be > 0
at java.awt.image.Raster.createPackedRaster(Compiled Code)
at sun.java2d.loops.RasterOutputManager.renderImage(RasterOutputManager.
java:472)
at sun.java2d.SunGraphics2D.renderingPipeImage(Compiled Code)
at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:1769)
at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:1657)
at sun.awt.image.BufferedImageGraphics2D.drawImage(BufferedImageGraphics
2D.java:400)
at sun.awt.image.ImageRepresentation.drawToBufImage(ImageRepresentation.
java:708)
at sun.awt.image.BufferedImageGraphics2D.drawImage(BufferedImageGraphics
2D.java:361)
at ClipAnim.drawDemo(Compiled Code)
at ClipAnim.paint(ClipAnim.java:169)
at javax.swing.JComponent.paintWithBuffer(Compiled Code)
at javax.swing.JComponent._paintImmediately(Compiled Code)
at javax.swing.JComponent.paintImmediately(Compiled Code)
at javax.swing.RepaintManager.paintDirtyRegions(Compiled Code)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(System
EventQueueUtilities.java:185)
at javax.swing.SystemEventQueueUtilities.processRunnableEvent(SystemEven
tQueueUtilities.java:354)
at javax.swing.SystemEventQueueUtilities.access$0(SystemEventQueueUtilit
ies.java:350)
at javax.swing.SystemEventQueueUtilities$RunnableTarget.processEvent(Sys
temEventQueueUtilities.java:391)
at java.awt.Component.dispatchEventImpl(Component.java:2376)
at java.awt.Component.dispatchEvent(Component.java:2289)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:258)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:68)
jdk1.2-S
===================
Getting the same backtrace from the Clipping tab of the Java2Demo on Solaris 2.7
using JDK 1.2.2 build Q.
Only see it when turn AlphaCompositing ON using the 2D demo's user controls.
phil.race@eng 1999-04-29
===================
Name: tb29552 Date: 01/18/2000
When in the java2Demo using a local display that is TrueColor. I
The following output with exception would occured.
(Note: this error was not easy to reproduce, seemed to occur less
then 50% of time when starting demo. And to get it you really had
to stress the Java2Demo application.) This error is similiar to the
Javasoft bug 4189244 which applied to win32 systems.
Output follows:
at DemoSurface.paint(DemoSurface.java:308)
at javax.swing.JComponent.paintWithBuffer(JComponent.java:3701)
at javax.swing.JComponent._paintImmediately(JComponent.java:3646)
at javax.swing.JComponent.paintImmediately(JComponent.java:3496)
at DemoSurface.paintImmediately(DemoSurface.java:280)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:365)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:191)
at javax.swing.SystemEventQueueUtilities.processRunnableEvent(SystemEventQueueUtilities.java:366)
at javax.swing.SystemEventQueueUtilities.access$0(SystemEventQueueUtilities.java:362)
at javax.swing.SystemEventQueueUtilities$RunnableTarget.processEvent(Sys
temEventQueueUtilities.java:403)
at java.awt.Component.dispatchEventImpl(Component.java:2394)
at java.awt.Component.dispatchEvent(Component.java:2307)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:287)
at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:92)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:83)
Exception occurred during event dispatching:
java.lang.IllegalArgumentException: Width (269) and height (0) must be > 0
at java.awt.image.SampleModel.<init>(SampleModel.java:100)
at java.awt.image.SinglePixelPackedSampleModel.<init>(SinglePixelPackedSampleModel.java:109)
at java.awt.image.Raster.createPackedRaster(Raster.java:598)
at java.awt.image.Raster.createPackedRaster(Raster.java:412)
at java.awt.image.DirectColorModel.createCompatibleWritableRaster(DirectColorModel.java:637)
at sun.java2d.loops.LockableRaster.<init>(LockableRaster.java:135)
at sun.java2d.loops.RasterOutputManager.convertFrom(RasterOutputManager.java:1473)
at sun.java2d.loops.RasterOutputManager.performBinaryComposite(RasterOutputManager.java:1387)
at sun.java2d.loops.RasterOutputManager.compositeSrcDst(RasterOutputManager.java:720)
at sun.java2d.loops.RasterOutputManager.renderImage(RasterOutputManager.java:494)
at sun.java2d.SunGraphics2D.renderingPipeImage(SunGraphics2D.java:2184)
at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:1768)
at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:1656)
at sun.awt.image.BufferedImageGraphics2D.drawImage(BufferedImageGraphics2D.java:412)
at sun.awt.image.ImageRepresentation.drawToBufImage(ImageRepresentation.java:708)
at sun.awt.image.BufferedImageGraphics2D.drawImage(BufferedImageGraphics2D.java:373)
at demos.Clipping.ClipAnim.drawDemo(ClipAnim.java:155)
at DemoSurface.paint(DemoSurface.java:308)
at javax.swing.JComponent.paintWithBuffer(JComponent.java:3701)
at javax.swing.JComponent._paintImmediately(JComponent.java:3646)
at javax.swing.JComponent.paintImmediately(JComponent.java:3496)
at DemoSurface.paintImmediately(DemoSurface.java:280)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:365)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:191)
at javax.swing.SystemEventQueueUtilities.processRunnableEvent(SystemEventQueueUtilities.java:366)
at javax.swing.SystemEventQueueUtilities.access$0(SystemEventQueueUtilities.java:362)
at javax.swing.SystemEventQueueUtilities$RunnableTarget.processEvent(SystemEventQueueUtilities.java:403)
at java.awt.Component.dispatchEventImpl(Component.java:2394)
at java.awt.Component.dispatchEvent(Component.java:2307)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:287)
at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:92)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:83)
Exception occurred during event dispatching:
java.lang.IllegalArgumentException: Width (255) and height (0) must be > 0
at java.awt.image.SampleModel.<init>(SampleModel.java:100)
at java.awt.image.SinglePixelPackedSampleModel.<init>(SinglePixelPackedSampleModel.java:109)
at java.awt.image.Raster.createPackedRaster(Raster.java:598)
at java.awt.image.Raster.createPackedRaster(Raster.java:412)
at java.awt.image.DirectColorModel.createCompatibleWritableRaster(DirectColorModel.java:637)
at sun.java2d.loops.LockableRaster.<init>(LockableRaster.java:135)
at sun.java2d.loops.RasterOutputManager.convertFrom(RasterOutputManager.java:1473)
at sun.java2d.loops.RasterOutputManager.performBinaryComposite(RasterOutputManager.java:1387)
at sun.java2d.loops.RasterOutputManager.compositeSrcDst(RasterOutputManager.java:720)
at sun.java2d.loops.RasterOutputManager.renderImage(RasterOutputManager.java:494)
at sun.java2d.SunGraphics2D.renderingPipeImage(SunGraphics2D.java:2184)
at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:1768)
at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:1656)
at sun.awt.image.BufferedImageGraphics2D.drawImage(BufferedImageGraphics2D.java:412)
at sun.awt.image.ImageRepresentation.drawToBufImage(ImageRepresentation.java:708)
at sun.awt.image.BufferedImageGraphics2D.drawImage(BufferedImageGraphics2D.java:373)
at demos.Clipping.ClipAnim.drawDemo(ClipAnim.java:155)
at DemoSurface.paint(DemoSurface.java:308)
at javax.swing.JComponent.paintWithBuffer(JComponent.java:3701)
at javax.swing.JComponent._paintImmediately(JComponent.java:3646)
at javax.swing.JComponent.paintImmediately(JComponent.java:3496)
at DemoSurface.paintImmediately(DemoSurface.java:280)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:365)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:191)
at javax.swing.SystemEventQueueUtilities.processRunnableEvent(SystemEventQueueUtilities.java:366)
at javax.swing.SystemEventQueueUtilities.access$0(SystemEventQueueUtilities.java:362)
at javax.swing.SystemEventQueueUtilities$RunnableTarget.processEvent(SystemEventQueueUtilities.java:403)
at java.awt.Component.dispatchEventImpl(Component.java:2394)
at java.awt.Component.dispatchEvent(Component.java:2307)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:287)
at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:92)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:83)
#
(Review ID: 96503)
======================================================================
- duplicates
-
JDK-4378160 Java2Demo throws Exception for clip animations when run with Alpha Composite
-
- Closed
-
-
JDK-4381632 Java2Demo throws IllegalArgumentException on ladybird
-
- Closed
-
-
JDK-4222853 Java 2D demo makes up an IllegalArgumentException
-
- Closed
-
-
JDK-4294752 Exception while running Java2D demo
-
- Closed
-