-
Bug
-
Resolution: Duplicate
-
P2
-
None
-
1.4.0
-
generic
-
solaris_7
The ImageReader.readAll method takes an Iterator containing ImageReadParam objects, which may be interspersed with null values indicating a default value. The code to retrieve these ImageReadParam objects incorrectly calls Iterator.next() twice per iteration, resulting in a NoSuchElementException. The second call to next() should reuse the object retrieved from the first call.
al.smith@eng 2001-04-17
Regression test javax/imageio/ReadAllTest.java fails with Merlin build build60 on sol2.7, host tiggr. The previous build this test passed with was b57
For test hardware config's, see http://sqesvr.eng/st3/jdk1.4/docs/Merlin-hw.html
#Test Results (version 2)
#Mon Apr 16 22:04:06 PDT 2001
#checksum:475d0fe4c31178da
#-----testdescription-----
$file=/export1/regression/merlin/jdk1.4Tests/b60/javax/imageio/ReadAllTest.java
$root=/export1/regression/merlin/jdk1.4Tests/b60
keywords=bug4396529
run=USER_SPECIFIED main ReadAllTest\n
source=ReadAllTest.java
title=Checks if ImageReader.readAll retrieves ImageReadParams properly
#-----environment-----
#-----testresult-----
description=file:///export1/regression/merlin/jdk1.4Tests/b60/javax/imageio/ReadAllTest.java
end=Mon Apr 16 22:04:06 PDT 2001
environment=regtest
execStatus=Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Unexpected IOException: javax.imageio.IIOException: Unexpected block type 59!
javatestOS=SunOS 5.7 (sparc)
javatestVersion=2.1.5
script=com.sun.javatest.regtest.RegressionScript
sections=script_messages build compile main
start=Mon Apr 16 22:04:02 PDT 2001
status=Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Unexpected IOException: javax.imageio.IIOException: Unexpected block type 59!
test=javax/imageio/ReadAllTest.java
work=/export0/results/regression/merlin/b60/tiggr5.7-jthb60-jdk14b60.04-16.19.50-noAwt2-64/javax/imageio
#section:script_messages
----------messages:(4/201)----------
JDK under test: (/export1/java/jdk14b60)
java version "1.4.0-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta-b60)
Java HotSpot(TM) Client VM (build 1.4.0-beta-b60, mixed mode)
#section:build
----------messages:(3/97)----------
command: build ReadAllTest
reason: Named class compiled on demand
elapsed time (seconds): 2.764
result: Passed. Compilation successful
#section:compile
----------messages:(3/172)----------
command: compile /export1/regression/merlin/jdk1.4Tests/b60/javax/imageio/ReadAllTest.java
reason: .class file out of date or does not exist
elapsed time (seconds): 2.762
----------System.out:(0/0)----------
----------System.err:(0/0)----------
result: Passed. Compilation successful
#section:main
----------messages:(3/109)----------
command: main ReadAllTest
reason: User specified action: run main ReadAllTest
elapsed time (seconds): 1.306
----------System.out:(0/0)----------
----------System.err:(13/885)----------
java.lang.RuntimeException: Unexpected IOException: javax.imageio.IIOException: Unexpected block type 59!
at ReadAllTest.main(ReadAllTest.java:44)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:30)
at sun.reflect.InflatableMethodAccessorImpl.invoke(InflatableMethodAccessorImpl.java:48)
at java.lang.reflect.Method.invoke(Method.java:306)
at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
at java.lang.Thread.run(Thread.java:579)
JavaTest Message: Test threw exception: java.lang.RuntimeException: Unexpected IOException: javax.imageio.IIOException: Unexpected block type 59!
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Unexpected IOException: javax.imageio.IIOException: Unexpected block type 59!
result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Unexpected IOException: javax.imageio.IIOException: Unexpected block type 59!
test result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Unexpected IOException: javax.imageio.IIOException: Unexpected block type 59!
al.smith@eng 2001-04-17
Regression test javax/imageio/ReadAllTest.java fails with Merlin build build60 on sol2.7, host tiggr. The previous build this test passed with was b57
For test hardware config's, see http://sqesvr.eng/st3/jdk1.4/docs/Merlin-hw.html
#Test Results (version 2)
#Mon Apr 16 22:04:06 PDT 2001
#checksum:475d0fe4c31178da
#-----testdescription-----
$file=/export1/regression/merlin/jdk1.4Tests/b60/javax/imageio/ReadAllTest.java
$root=/export1/regression/merlin/jdk1.4Tests/b60
keywords=bug4396529
run=USER_SPECIFIED main ReadAllTest\n
source=ReadAllTest.java
title=Checks if ImageReader.readAll retrieves ImageReadParams properly
#-----environment-----
#-----testresult-----
description=file:///export1/regression/merlin/jdk1.4Tests/b60/javax/imageio/ReadAllTest.java
end=Mon Apr 16 22:04:06 PDT 2001
environment=regtest
execStatus=Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Unexpected IOException: javax.imageio.IIOException: Unexpected block type 59!
javatestOS=SunOS 5.7 (sparc)
javatestVersion=2.1.5
script=com.sun.javatest.regtest.RegressionScript
sections=script_messages build compile main
start=Mon Apr 16 22:04:02 PDT 2001
status=Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Unexpected IOException: javax.imageio.IIOException: Unexpected block type 59!
test=javax/imageio/ReadAllTest.java
work=/export0/results/regression/merlin/b60/tiggr5.7-jthb60-jdk14b60.04-16.19.50-noAwt2-64/javax/imageio
#section:script_messages
----------messages:(4/201)----------
JDK under test: (/export1/java/jdk14b60)
java version "1.4.0-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta-b60)
Java HotSpot(TM) Client VM (build 1.4.0-beta-b60, mixed mode)
#section:build
----------messages:(3/97)----------
command: build ReadAllTest
reason: Named class compiled on demand
elapsed time (seconds): 2.764
result: Passed. Compilation successful
#section:compile
----------messages:(3/172)----------
command: compile /export1/regression/merlin/jdk1.4Tests/b60/javax/imageio/ReadAllTest.java
reason: .class file out of date or does not exist
elapsed time (seconds): 2.762
----------System.out:(0/0)----------
----------System.err:(0/0)----------
result: Passed. Compilation successful
#section:main
----------messages:(3/109)----------
command: main ReadAllTest
reason: User specified action: run main ReadAllTest
elapsed time (seconds): 1.306
----------System.out:(0/0)----------
----------System.err:(13/885)----------
java.lang.RuntimeException: Unexpected IOException: javax.imageio.IIOException: Unexpected block type 59!
at ReadAllTest.main(ReadAllTest.java:44)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:30)
at sun.reflect.InflatableMethodAccessorImpl.invoke(InflatableMethodAccessorImpl.java:48)
at java.lang.reflect.Method.invoke(Method.java:306)
at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
at java.lang.Thread.run(Thread.java:579)
JavaTest Message: Test threw exception: java.lang.RuntimeException: Unexpected IOException: javax.imageio.IIOException: Unexpected block type 59!
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Unexpected IOException: javax.imageio.IIOException: Unexpected block type 59!
result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Unexpected IOException: javax.imageio.IIOException: Unexpected block type 59!
test result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Unexpected IOException: javax.imageio.IIOException: Unexpected block type 59!
- duplicates
-
JDK-4435425 readAll() method of GIF reader throws IIOException from merlin build-58 onwards
-
- Closed
-