-
Bug
-
Resolution: Duplicate
-
P3
-
None
-
1.4.0
-
None
-
x86, sparc
-
solaris_2.5, solaris_8
While writing an image to ImageOutStream, the ImageWriter is throwing the Exception java.lan.IllegalArgumentException: raster==null!. The same exception is thrown by the ImageIO.Write() method while writing an image to a destination object. This is occurring for the PNG Images.
This failure is occuring on the Merlin beta build 43.
How to reproduce bug?
Run the attached code. This will show a frame with 2 buttons. Click on the "Writer" button. Two images will be loaded adjacent to each other. If any of the images is not rendering or if an exception is thrown in the prompt, then the bug is reproduced for ImageWriter.
Then click on the button"Non-Writer". Two images will be loaded adjacently. If any of the images is not rendering or if an exception thrown, then the bug is reproduced for the ImageIO.Write() method.
This failure is occuring on the Merlin beta build 43.
How to reproduce bug?
Run the attached code. This will show a frame with 2 buttons. Click on the "Writer" button. Two images will be loaded adjacent to each other. If any of the images is not rendering or if an exception is thrown in the prompt, then the bug is reproduced for ImageWriter.
Then click on the button"Non-Writer". Two images will be loaded adjacently. If any of the images is not rendering or if an exception thrown, then the bug is reproduced for the ImageIO.Write() method.
- duplicates
-
JDK-4392024 IIOImage constructor throws an incorrect IllegalArgumentException
-
- Closed
-