-
Bug
-
Resolution: Duplicate
-
P4
-
None
-
1.2.1
-
x86
-
windows_nt
Name: vi73552 Date: 03/22/99
At JDK 1.2.1 Early-Access,
Java 2D demo ( \demo\jfc\java2D\Java2Demo )
makes up an IllegalArgumentException
at "Clipping" page.
Exception occurred during event dispatching:
java.lang.IllegalArgumentException: Width (0) and height (0) must be > 0
at java.awt.image.Raster.createPackedRaster(Raster.java, Compiled Code)
at java.awt.image.SinglePixelPackedSampleModel.<init>(SinglePixelPackedSampleModel.java, Compiled Code)
at java.awt.image.Raster.createPackedRaster(Raster.java, Compiled Code)
at java.awt.image.Raster.createPackedRaster(Raster.java, Compiled Code)
at java.awt.image.DirectColorModel.createCompatibleWritableRaster(DirectColorModel.java, Compiled Code)
at sun.java2d.loops.LockableRaster.<init>(LockableRaster.java, Compiled Code)
at sun.java2d.loops.RasterOutputManager.convertFrom(RasterOutputManager.java, Compiled Code)
at sun.java2d.loops.RasterOutputManager.performBinaryComposite(RasterOutputManager.java, Compiled Code)
at sun.java2d.loops.RasterOutputManager.compositeSrcDst(RasterOutputManager.java, Compiled Code)
at sun.java2d.loops.RasterOutputManager.renderImage(RasterOutputManager.java, Compiled Code)
at sun.java2d.SunGraphics2D.renderingPipeImage(SunGraphics2D.java, Compiled Code)
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, Compiled Code)
at DemoSurface.paint(DemoSurface.java, Compiled Code)
at javax.swing.JComponent.paintWithBuffer(JComponent.java, Compiled Code)
at javax.swing.JComponent._paintImmediately(JComponent.java, Compiled Code)
at javax.swing.JComponent.paintImmediately(JComponent.java, Compiled Code)
at DemoSurface.paintImmediately(DemoSurface.java, Compiled Code)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java, Compiled Code)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java, Compiled Code)
at javax.swing.SystemEventQueueUtilities.processRunnableEvent(SystemEventQueueUtilities.java, Compiled Code)
at javax.swing.SystemEventQueueUtilities$RunnableTarget.processEvent(SystemEventQueueUtilities.java, Compiled Code)
at java.awt.Component.dispatchEventImpl(Component.java, Compiled Code)
at java.awt.Component.dispatchEvent(Component.java, Compiled Code)
at java.awt.EventQueue.dispatchEvent(EventQueue.java, Compiled Code)
at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java, Compiled Code)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:87)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:78)
This error ocuurs at Windows NT4.0 + ServicePak4 Japanese version.
I do not know this happens at English environment.
(Review ID: 55607)
======================================================================
- duplicates
-
JDK-4191004 ClipAnim sample throws IllegalArgumentException on win32 24 bit
-
- Closed
-