-
Bug
-
Resolution: Fixed
-
P3
-
1.4.2, 6, 6u15, 6u23
-
b10
-
generic, x86
-
generic, windows_xp
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2208806 | 6u27 | Vikram Aroskar | P2 | Closed | Fixed | b01 |
JDK-2208657 | 6u26-rev | Vikram Aroskar | P2 | Resolved | Fixed | b21 |
JDK-2208637 | 6u25-rev | Vikram Aroskar | P2 | Resolved | Fixed | b21 |
JDK-2205280 | 6u24-rev | Vikram Aroskar | P2 | Closed | Fixed | b25 |
Exception in thread "main" javax.imageio.IIOException: Unexpected block type 0!
at com.sun.imageio.plugins.gif.GIFImageReader.readMetadata(GIFImageReader.java:722)
at com.sun.imageio.plugins.gif.GIFImageReader.read(GIFImageReader.java:794)
at javax.imageio.ImageReader.readAll(ImageReader.java:1050)
at MetadataViewer.main(MetadataViewer.java:82)
The attached image is a GIF image having an embedded color profile. This is reproducible on JDK6/7 on all platforms. Toolkit API is able to read the image properly.
Run the attached tests as follows -
java KannanImageIOTest <img>
java MetadataViewer <img>
- backported by
-
JDK-2208637 GIF Reader throws IIOException when reading a Indexed GIF image with an embedded color profile
- Resolved
-
JDK-2208657 GIF Reader throws IIOException when reading a Indexed GIF image with an embedded color profile
- Resolved
-
JDK-2205280 GIF Reader throws IIOException when reading a Indexed GIF image with an embedded color profile
- Closed
-
JDK-2208806 GIF Reader throws IIOException when reading a Indexed GIF image with an embedded color profile
- Closed
- duplicates
-
JDK-6358674 Get IIOException: Unexpected block type 0! on GIF file
- Closed
-
JDK-6982206 javax.imageio.IIOException thrown for 2D_ImageIO/PushbackFCIISTest
- Closed
- relates to
-
JDK-6359303 ImageReader throws an exception on certain GIF files
- Closed