openjdk team mailing list archive
-
openjdk team
-
Mailing list archive
-
Message #03548
Bug#564512: openjdk: NullPointerException thrown at ImageIO.read()
tag 564512 + moreinfo
thanks
Hi,
I've looked at your test case to try to reproduce your NPE.
I'm blocked by another issue : your URL doesn't seems to work anymore.
I always get :
Exception in thread "main" javax.imageio.IIOException: Can't get input stream
from URL!
at javax.imageio.ImageIO.read(ImageIO.java:1385)
at Main.main(Main.java:10)
Caused by: java.io.FileNotFoundException:
http://88.53.214.52/arcgis/services/OrtofotoATA_20072008_f33/MapServer/WMSServer?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&CRS=CRS:84&LAYERS=0&STYLES=default&FORMAT=image/jpeg&bbox=12.5999326,37.6768932,12.6014299,37.6780783&srs=EPSG:4326&width=500&height=499
at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1267)
at java.net.URL.openStream(URL.java:1029)
at javax.imageio.ImageIO.read(ImageIO.java:1383)
... 1 more
Could you provide an offline version of crashing JPEG or update your testcase ?
Cheers,
--
Damien
Attachment:
signature.asc
Description: This is a digitally signed message part.