JDK-6982206 : javax.imageio.IIOException thrown for 2D_ImageIO/PushbackFCIISTest
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.imageio
  • Affected Version: 1.4.2
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_xp
  • CPU: x86
  • Submitted: 2010-09-03
  • Updated: 2011-03-08
  • Resolved: 2011-01-26
Related Reports
Duplicate :  
Description
Testsuite name: 2D
Workspace: http://vice.russia.sun.com/newroot/tmp/Evergreen/1.4.2_2d_workspace.zip
JDK/JRE tested: 1.4.2_28b02-j4b(j2sdkfb-1_4_2_28-fcs-bin-b02-windows-i586-26_aug_2010.exe)

OS/architecture: winxppro-sp3-x86

Reproducible: Always

Is it a platform specific regression: N

Is it a Regression :N

 

#Steps to reproduce:

Run the case 2D_ImageIO/PushbackFCIISTest

1.In the Test Frame you would find 3 radio buttons, default being the FileInputStream button.

2.Select the FileInputStream,SequenceInputStream,BufferedInputStream radio button if it is not selected.

3.Click the Load button.

4.If you get 4 images sequencially and Textfield displaying 'Pass -FileInputStream', then press assertion pass.

5.If you see any Exception in the mesg window or if the image is not rendered properly,or if Textfield message is 'Testcase failed' press Assertion Fail.

 

#Actual behavior:

javax.imageio.IIOException thrown when loading the image. Please refer to the attachment file PushbackFCIISTest.JPG.

 
#Exception:

FAIL: Exception thrown: javax.imageio.IIOException: Unexpected block type 0!

Comments
EVALUATION This failure is caused by a gif image used in the test (image/TopLogo.gif) which seems to contain an application extension to support embedded color spaces. The problem with support of such kind of images was resolved as a part of fix for CR 6517427, so I am closing this CR as a duplicate. Note that this image has no relation to functionality, which this test is supposed to verify. So, this problem can be workarounded by replacing the image in question to anything else.
26-01-2011