Details

    • Type: Bug
    • Status: Resolved
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      After doing several command line builds I have finally loaded things up in Eclipse.

      Testing Command Line Build

      1. Using the data 1.3 download (shape files and a world+image)

      • shape file displays
      • world + image is added to the map but does not render

      !MESSAGE javax.media.jai.util.ImagingException: All factories fail for the operation "ImageRead"
      !STACK 0
      org.locationtech.udig.project.render.RenderException: javax.media.jai.util.ImagingException: All factories fail for the operation "ImageRead"
      at org.locationtech.udig.render.internal.gridcoverage.basic.GridCoverageReaderRenderer.render(GridCoverageReaderRenderer.java:267)
      at org.locationtech.udig.render.internal.gridcoverage.basic.GridCoverageReaderRenderer.render(GridCoverageReaderRenderer.java:457)
      at org.locationtech.udig.project.internal.render.impl.RenderJob.startRendering(RenderJob.java:117)
      at org.locationtech.udig.project.internal.render.impl.RenderJob.run(RenderJob.java:222)
      at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
      Caused by: javax.media.jai.util.ImagingException: All factories fail for the operation "ImageRead"
      at javax.media.jai.OperationRegistry.invokeFactory(OperationRegistry.java:1687)
      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.getWidth(RenderedOp.java:2179)
      at org.geotools.gce.image.WorldImageReader.read(WorldImageReader.java:496)
      at org.locationtech.udig.render.internal.gridcoverage.basic.GridCoverageReaderRenderer.render(GridCoverageReaderRenderer.java:195)
      ... 4 more
      Caused by: 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)
      ... 11 more
      Caused by: java.lang.NoClassDefFoundError: com/sun/media/imageioimpl/common/BogusColorSpace
      at it.geosolutions.imageioimpl.plugins.tiff.TIFFImageReader.getImageTypes(TIFFImageReader.java:1105)
      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)
      ... 17 more
      Caused by: java.lang.ClassNotFoundException: com.sun.media.imageioimpl.common.BogusColorSpace
      at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:513)
      at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:429)
      at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:417)
      at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
      ... 22 more
      at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:513)
      at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:429)
      at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:417)
      at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
      ... 22 more

      Testing from Eclipse IDE

      1. Additional entries in the menu bar
      2. Also unable to display raster due to BogusColorSpace

        Attachments

        1. log.txt
          63 kB
        2. target.png
          97 kB
        3. Edit_JRE.png
          132 kB
        4. osx_testing.png
          233 kB
        5. empty_menu.png
          53 kB

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              harrison.grundy codehaus (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: