I've been plugging along with pretty good success so far, but I have a 
problem that I'm really confused by.

I'm using the WorldImageExtension to construct jpeg layers.  Sometimes, 
the layers show up just fine.  Other times, the exact same files will 
not render.  Digging down deeper, it turns out that an 
IllegalArgumentException is thrown.  It's actually inside the geotools
WorldImageReader readSourceImage()... line 208, at:

ParameterBlockJAI readParams = new ParameterBlockJAI("ImageRead",
                "rendered");

That call actually throws the IllegalArgumentException.  Does anyone 
have any idea why this would work some times, and other times it won't?

I have JAI installed, and it does work some of the time as the images 
actually are properly rendered and no exception is thrown.

Thanks,

-cnh
-- 
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel

Reply via email to