Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [udig-devel] Problem with geotiff

Does anyone know why she could miss ImageTypeSpecifier?
There is a "Caused by: java.lang.NoClassDefFoundError: Could not
initialize class javax.imageio.ImageTypeSpecifier "
in the middle of the exceptions.

Andrea


Wed, May 7, 2008 at 3:13 PM, Silvia Franceschi
<silvia.franceschi@xxxxxxxxx> wrote:
> Hi udiggers!
>  trying to import a geotiff file I have this error in the console and in the
> GUI the error is Renderingnull.
>  Is this a known thing?
>
>  Is there somewhere a format specification of the supported geotiff and
> other image data so I can transform mine to that type? I have often images
> with problem in visualization.
>
>  Thanks in advance to all,
>
>  ciao
>
>  Silvia
>
>
>
>
>  Error: One factory fails for the operation "ImageRead"
>  Occurs in: javax.media.jai.ThreadSafeOperationRegistry
>  java.lang.reflect.InvocationTargetException
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>        at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>        at java.lang.reflect.Method.invoke(Method.java:597)
>        at javax.media.jai.FactoryCache.invoke(FactoryCache.java:122)
>        at
> javax.media.jai.OperationRegistry.invokeFactory(OperationRegistry.java:1674)
>        at
> javax.media.jai.ThreadSafeOperationRegistry.invokeFactory(ThreadSafeOperationRegistry.java:473)
>        at javax.media.jai.registry.RIFRegistry.create(RIFRegistry.java:332)
>        at javax.media.jai.RenderedOp.createInstance(RenderedOp.java:819)
>        at javax.media.jai.RenderedOp.createRendering(RenderedOp.java:867)
>        at javax.media.jai.RenderedOp.getRendering(RenderedOp.java:888)
>        at
> javax.media.jai.RenderedOp$1.getPropertyNames(RenderedOp.java:1791)
>        at
> javax.media.jai.PropertyEnvironment.mapDefaults(PropertyEnvironment.java:270)
>        at
> javax.media.jai.PropertyEnvironment.getPropertyNames(PropertyEnvironment.java:125)
>        at
> javax.media.jai.WritablePropertySourceImpl.addProperties(WritablePropertySourceImpl.java:298)
>        at
> javax.media.jai.RenderedOp.createPropertySource(RenderedOp.java:1817)
>        at javax.media.jai.RenderedOp.getProperty(RenderedOp.java:1968)
>        at
> net.refractions.udig.catalog.internal.geotiff.GeoTiffServiceExtension.geotiffFile(GeoTiffServiceExtension.java:184)
>        at
> net.refractions.udig.catalog.internal.geotiff.GeoTiffServiceExtension.reasonForFailure(GeoTiffServiceExtension.java:155)
>        at
> net.refractions.udig.catalog.internal.geotiff.GeoTiffServiceExtension.canProcess(GeoTiffServiceExtension.java:117)
>        at
> net.refractions.udig.catalog.internal.geotiff.GeoTiffServiceExtension.createParams(GeoTiffServiceExtension.java:123)
>        at
> net.refractions.udig.catalog.internal.ServiceFactoryImpl$2.process(ServiceFactoryImpl.java:132)
>        at
> net.refractions.udig.core.internal.ExtensionPointUtil.process(ExtensionPointUtil.java:82)
>        at
> net.refractions.udig.catalog.internal.ServiceFactoryImpl.createService(ServiceFactoryImpl.java:122)
>        at
> net.refractions.udig.catalog.ui.workflow.EndConnectionState.useServiceFactory(EndConnectionState.java:225)
>        at
> net.refractions.udig.catalog.ui.workflow.EndConnectionState.run(EndConnectionState.java:105)
>        at
> net.refractions.udig.catalog.ui.workflow.Workflow.next(Workflow.java:271)
>        at
> net.refractions.udig.catalog.ui.workflow.Workflow$Runner.run(Workflow.java:600)
>        at
> net.refractions.udig.catalog.ui.workflow.Workflow.run(Workflow.java:459)
>        at
> net.refractions.udig.catalog.ui.workflow.WorkflowWizardDialog.runHeadless(WorkflowWizardDialog.java:222)
>        at
> net.refractions.udig.catalog.internal.ui.CatalogImport.run(CatalogImport.java:112)
>        at
> net.refractions.udig.project.ui.internal.actions.MapDropAction.toResources(MapDropAction.java:131)
>        at
> net.refractions.udig.project.ui.internal.actions.MapDropAction.perform(MapDropAction.java:108)
>        at
> net.refractions.udig.internal.ui.UDIGDropHandler$DropActionRunnable.run(UDIGDropHandler.java:308)
>        at
> net.refractions.udig.internal.ui.UDIGDropHandler$CompositeDropActionJob.run(UDIGDropHandler.java:287)
>        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
>  Caused by: java.lang.NoClassDefFoundError: Could not initialize class
> javax.imageio.ImageTypeSpecifier
>        at
> com.sun.media.imageio.plugins.tiff.TIFFDecompressor.getRawImageTypeSpecifier(TIFFDecompressor.java:873)
>        at
> com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader.getImageTypes(TIFFImageReader.java:742)
>        at javax.imageio.ImageReader.getRawImageType(ImageReader.java:665)
>        at
> com.sun.media.jai.imageioimpl.ImageReadOpImage.layoutHelper(ImageReadOpImage.java:228)
>        at
> com.sun.media.jai.imageioimpl.ImageReadOpImage.<init>(ImageReadOpImage.java:473)
>        at
> com.sun.media.jai.imageioimpl.ImageReadCRIF.create(ImageReadCRIF.java:309)
>        ... 36 more
>  Error: One factory fails for the operation "ImageRead"
>  Occurs in: javax.media.jai.ThreadSafeOperationRegistry
>  java.lang.reflect.InvocationTargetException
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>        at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>        at java.lang.reflect.Method.invoke(Method.java:597)
>        at javax.media.jai.FactoryCache.invoke(FactoryCache.java:122)
>        at
> javax.media.jai.OperationRegistry.invokeFactory(OperationRegistry.java:1674)
>        at
> javax.media.jai.ThreadSafeOperationRegistry.invokeFactory(ThreadSafeOperationRegistry.java:473)
>        at javax.media.jai.registry.RIFRegistry.create(RIFRegistry.java:332)
>        at javax.media.jai.RenderedOp.createInstance(RenderedOp.java:819)
>        at javax.media.jai.RenderedOp.createRendering(RenderedOp.java:867)
>        at javax.media.jai.RenderedOp.getRendering(RenderedOp.java:888)
>        at
> javax.media.jai.RenderedOp$1.getPropertyNames(RenderedOp.java:1791)
>        at
> javax.media.jai.PropertyEnvironment.mapDefaults(PropertyEnvironment.java:270)
>        at
> javax.media.jai.PropertyEnvironment.getPropertyNames(PropertyEnvironment.java:125)
>        at
> javax.media.jai.WritablePropertySourceImpl.addProperties(WritablePropertySourceImpl.java:298)
>        at
> javax.media.jai.RenderedOp.createPropertySource(RenderedOp.java:1817)
>        at javax.media.jai.RenderedOp.getProperty(RenderedOp.java:1968)
>        at
> net.refractions.udig.catalog.internal.geotiff.GeoTiffServiceExtension.geotiffFile(GeoTiffServiceExtension.java:184)
>        at
> net.refractions.udig.catalog.internal.geotiff.GeoTiffServiceExtension.reasonForFailure(GeoTiffServiceExtension.java:155)
>        at
> net.refractions.udig.catalog.internal.geotiff.GeoTiffServiceExtension.canProcess(GeoTiffServiceExtension.java:117)
>        at
> net.refractions.udig.catalog.internal.geotiff.GeoTiffServiceExtension.createService(GeoTiffServiceExtension.java:69)
>        at
> net.refractions.udig.catalog.internal.ServiceFactoryImpl$1.process(ServiceFactoryImpl.java:96)
>        at
> net.refractions.udig.core.internal.ExtensionPointUtil.process(ExtensionPointUtil.java:82)
>        at
> net.refractions.udig.catalog.internal.ServiceFactoryImpl.acquire(ServiceFactoryImpl.java:79)
>        at
> net.refractions.udig.catalog.internal.ServiceFactoryImpl.createService(ServiceFactoryImpl.java:160)
>        at
> net.refractions.udig.catalog.internal.ServiceFactoryImpl.createService(ServiceFactoryImpl.java:147)
>        at
> net.refractions.udig.catalog.ui.workflow.EndConnectionState.useServiceFactory(EndConnectionState.java:225)
>        at
> net.refractions.udig.catalog.ui.workflow.EndConnectionState.run(EndConnectionState.java:105)
>        at
> net.refractions.udig.catalog.ui.workflow.Workflow.next(Workflow.java:271)
>        at
> net.refractions.udig.catalog.ui.workflow.Workflow$Runner.run(Workflow.java:600)
>        at
> net.refractions.udig.catalog.ui.workflow.Workflow.run(Workflow.java:459)
>        at
> net.refractions.udig.catalog.ui.workflow.WorkflowWizardDialog.runHeadless(WorkflowWizardDialog.java:222)
>        at
> net.refractions.udig.catalog.internal.ui.CatalogImport.run(CatalogImport.java:112)
>        at
> net.refractions.udig.project.ui.internal.actions.MapDropAction.toResources(MapDropAction.java:131)
>        at
> net.refractions.udig.project.ui.internal.actions.MapDropAction.perform(MapDropAction.java:108)
>        at
> net.refractions.udig.internal.ui.UDIGDropHandler$DropActionRunnable.run(UDIGDropHandler.java:308)
>        at
> net.refractions.udig.internal.ui.UDIGDropHandler$CompositeDropActionJob.run(UDIGDropHandler.java:287)
>        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
>  Caused by: java.lang.NoClassDefFoundError: Could not initialize class
> javax.imageio.ImageTypeSpecifier
>        at
> com.sun.media.imageio.plugins.tiff.TIFFDecompressor.getRawImageTypeSpecifier(TIFFDecompressor.java:873)
>        at
> com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader.getImageTypes(TIFFImageReader.java:742)
>        at javax.imageio.ImageReader.getRawImageType(ImageReader.java:665)
>        at
> com.sun.media.jai.imageioimpl.ImageReadOpImage.layoutHelper(ImageReadOpImage.java:228)
>        at
> com.sun.media.jai.imageioimpl.ImageReadOpImage.<init>(ImageReadOpImage.java:473)
>        at
> com.sun.media.jai.imageioimpl.ImageReadCRIF.create(ImageReadCRIF.java:309)
>        ... 38 more
>  java.lang.NullPointerException
>        at
> net.refractions.udig.render.internal.gridcoverage.basic.BasicGridCoverageRenderer.doRender(BasicGridCoverageRenderer.java:61)
>        at
> net.refractions.udig.render.internal.gridcoverage.basic.BasicGridCoverageRenderer.render(BasicGridCoverageRenderer.java:50)
>        at
> net.refractions.udig.render.internal.gridcoverage.basic.BasicGridCoverageRenderer.render(BasicGridCoverageRenderer.java:109)
>        at
> net.refractions.udig.project.internal.render.impl.RenderJob.startRendering(RenderJob.java:103)
>        at
> net.refractions.udig.project.internal.render.impl.RenderJob.run(RenderJob.java:203)
>        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
>  _______________________________________________
>  User-friendly Desktop Internet GIS (uDig)
>  http://udig.refractions.net
>  http://lists.refractions.net/mailman/listinfo/udig-devel
>


Back to the top