← Back to team overview

openjdk team mailing list archive

Bug#564512: openjdk: NullPointerException thrown at ImageIO.read()

 

Le jeudi 15 avril 2010 14:41:18, David Paleino a écrit :
> On Wednesday 14 April 2010 22:42:08, Damien Raude-Morvan wrote:
> > Hi,
> 
> Hello Damien,

Hi David,

> > 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/WM
> > SS
> 
>                                       ^^^^^^^^^^^^^^^^^^^^^^^^
> They changed the URL: just prepend "WGS84_F33/" to
> "OrtofotoATA_20072008_f33".

Okay, I've updated your testcase with this new URL but haven't been able to 
reproduce your IOException :

/usr/lib/jvm/java-6-openjdk/bin/java -cacao -cp . Main 
/usr/lib/jvm/java-6-openjdk/bin/java -zero -cp . Main 
/usr/lib/jvm/java-6-openjdk/bin/java -client -cp . Main 
/usr/lib/jvm/java-6-sun/bin/java -cp . Main 
all worked fine

Could you please check JOSM with latest OpenJDK ?

Cheers,
-- 
Damien

Attachment: signature.asc
Description: This is a digitally signed message part.


References