Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[udig-devel] Re: Patch for UDIG Manifest

Tried falling back to Java 5, ImageIO 1.1 and JAI 1.1.3 - the same error.
I have started the deploy of GeoTools (so moovida and others can try this out) and will stop back in an hour to check on it.

Jody


On Tue, Jan 27, 2009 at 8:02 PM, Jody Garnett <jody.garnett@xxxxxxxxx> wrote:
Nope that does not fix it; I need to turn the question back to you guys. Do I need a new JRE for imageioext 1.0.1 to work?
Jody

On Tue, Jan 27, 2009 at 7:47 PM, Jody Garnett <jody.garnett@xxxxxxxxx> wrote:
Hi Daniele:

I built the local geotools; and your change went through - it now uses imageioext 1.0.1. However I had to knock back one thing ... the libs plugin cannot have a J2SE-1.5 execution environment set (if so it does not pick up the jai plugin resulting in the following stack trace).
java.lang.ExceptionInInitializerError
   at net.refractions.udig.render.internal.gridcoverage.basic.BasicGridCoverageRenderer.render(BasicGridCoverageRenderer.java:147)
   at net.refractions.udig.render.internal.gridcoverage.basic.BasicGridCoverageRenderer.render(BasicGridCoverageRenderer.java:371)
   at net.refractions.udig.project.internal.render.impl.RenderJob.startRendering(RenderJob.java:108)
   at net.refractions.udig.project.internal.render.impl.RenderJob.run(RenderJob.java:213)
   at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: java.lang.ClassCastException: com.sun.media.jai.imageioimpl.ImageReadWriteSpi cannot be cast to javax.media.jai.OperationRegistrySpi
   at javax.media.jai.OperationRegistry.registerServices(OperationRegistry.java:2047)
   at javax.media.jai.ThreadSafeOperationRegistry.registerServices(ThreadSafeOperationRegistry.java:612)
   at javax.media.jai.OperationRegistry.initializeRegistry(OperationRegistry.java:365)
   at javax.media.jai.JAI.<clinit>(JAI.java:560)
   ... 5 more
I have done a complete clean; and reset the list of jars in the runtime tab. I will let you know when I am able to commit.
Jody


Daniele Romagnoli wrote:
Hi Jody,
I have written a patch for MANIFEST.MF (Not sure if this leverages on refresh.xml or if is it hardcoded).
Apply it from:
trunk/plugins/net.refractions.udig.libs/META-INF

--
-------------------------------------------------------
Eng. Daniele Romagnoli
Software Engineer



Back to the top