on solaris 5.7:
tested using latest Mantis promoted build.
When reading a PNG image via http, sometimes IIOException is thrown, sometimes it doesn't.
The following testcase is attached.
/java/re/jdk/1.4.2/promoted/latest/binaries/solaris-sparc/bin/java -Xmx500m -Xms100m -jar CinPrint.jar http://javaweb.sfbay/~ngthomas/kolotyluk/stefan_full_rgba.png
Constructing CinPrintFrame...
raw image source = http://javaweb.sfbay/~ngthomas/kolotyluk/stefan_full_rgba.png
loading image...
javax.imageio.IIOException: Unknown row filter type (= 14)!
at com.sun.imageio.plugins.png.PNGImageReader.decodePass(PNGImageReader.java:1196)
at com.sun.imageio.plugins.png.PNGImageReader.decodeImage(PNGImageReader.java:1287)
at com.sun.imageio.plugins.png.PNGImageReader.readImage(PNGImageReader.java:1362)
at com.sun.imageio.plugins.png.PNGImageReader.read(PNGImageReader.java:1530)
at javax.imageio.ImageReader.read(ImageReader.java:919)
at CinPrintFrame.getBufferedImage(CinPrintFrame.java:310)
at CinPrintFrame.<init>(CinPrintFrame.java:75)
at CinPrint.main(CinPrint.java:116)
Error reading PNG image data: Retrying image loading!
loading image...
image loaded.
raw image width = 162
raw image height = 150
drawing screen image...
CinPrintFrame constructed...
scale = 0.4046875
exiting...
I tried on WinNT and XP home, cannot reproduce the problem.
###@###.### 2003-02-19
tried without the -Xmx500m -Xms100m arguments, same problem. customer used the specific heap sizes because they said they need it for their application. they need to load PNG images that are 40+mb in sizes.
###@###.### 2003-02-19