[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [udig-devel] tif render error.
|
We seem to have resolved this by using -Dosgi.parentClassloader=ext
Somehow that piece of information was not readily accessible by
googling for errors related to jai.
There may well still be some projection issues perhaps. We'll have
to try to pick the right projection, I suppose for best results with rasters.
Vince.
At 16:21 25/02/2008, Vince Darley wrote:
We've continued to dig a bit deeper into this, and it's clearly
caused by our own product build and product runtime
configuration. If I take the standalone build of udig rc14, I can
load our tiff images into it. I can also replace the jre in it with
the one we use (based on java 1.6) and it still works just fine.
But, our product whether built and exported from eclipse or run from
within eclipse just can't find the JAI stuff. Any pointers to how
this should be configured?
regards,
Vince.
At 16:42 22/02/2008, Vince Darley wrote:
We get the following error (with both RC13 and latest RC14 nightly
build) when trying to render a tiff image that has been added to the map.
net.refractions.udig.project.render.RenderException: An error
occurred while drawing. Likely it is a problem reprojecting. Try
zooming closer to panning to another part of the map.
at
net.refractions.udig.render.internal.gridcoverage.basic.BasicGridCoverageRenderer.doRender(Unknown
Source)
at
net.refractions.udig.render.internal.gridcoverage.basic.BasicGridCoverageRenderer.render(Unknown
Source)
at
net.refractions.udig.render.internal.gridcoverage.basic.BasicGridCoverageRenderer.render(Unknown
Source)
at
net.refractions.udig.project.internal.render.impl.RenderJob.startRendering(Unknown
Source)
at
net.refractions.udig.project.internal.render.impl.RenderJob.run(Unknown Source)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: java.lang.NoClassDefFoundError: javax/media/jai/JAI
at
net.refractions.udig.render.gridcoverage.basic.GridCoverageRendererUtils.paintGraphic(Unknown
Source)
... 6 more
This is running with a JRE that has JAI installed, so I'm a bit
confused by the "java.lang.NoClassDefFoundError:
javax/media/jai/JAI" part of this. (If we run with a jre that
doesn't have JAI, then we don't get any map to display at all).
The files import just fine. We typically have files like this:
TF70NE.TAB (1 kb)
TF70NE.TFW (1 kb)
TF70NE.tif (60Mb)
Any ideas?
regards,
Vince.
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel
--
No virus found in this incoming message.
Checked by AVG Free Edition. Version: 7.5.516 / Virus Database:
269.20.9/1292 - Release Date: 21/02/2008 16:09
Vince Darley
CEO, Eurobios UK Ltd
Tel: +44 207 921 0445
Mobile: +44 794 154 8527
www.eurobios.com
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel
--
No virus found in this incoming message.
Checked by AVG Free Edition. Version: 7.5.516 / Virus Database:
269.21.1/1303 - Release Date: 28/02/2008 12:14