GeoTools
  1. GeoTools
  2. GEOT-3200

Image Moasic fails extensive tests

    Details

    • Type: Bug Bug
    • Status: Open Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 2.7-M2
    • Fix Version/s: None
    • Component/s: imagemosaic plugin
    • Labels:
      None
    • Environment:
      java 6 this time, mac osx

      Description

      Thought the previous failure may just be a Java 5 vs Java 6 difference. Turns out that Java 6 fails extensive tests a bit earlier...

      Failed tests:

      • testLoadRaster(org.geotools.gce.imagemosaic.GranuleTest)

      org.geotools.data.DataSourceException
      at org.geotools.gce.imagemosaic.ImageMosaicReader.initReaderFromURL(ImageMosaicReader.java:329)
      at org.geotools.gce.imagemosaic.ImageMosaicReader.<init>(ImageMosaicReader.java:169)
      at org.geotools.gce.imagemosaic.ImageMosaicFormat.getReader(ImageMosaicFormat.java:441)
      at org.geotools.gce.imagemosaic.GranuleTest.testLoadRaster(GranuleTest.java:154)
      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 org.junit.internal.runners.TestMethod.invoke(TestMethod.java:59)
      at org.junit.internal.runners.MethodRoadie.runTestMethod(MethodRoadie.java:98)
      at org.junit.internal.runners.MethodRoadie$2.run(MethodRoadie.java:79)
      at org.junit.internal.runners.MethodRoadie.runBeforesThenTestThenAfters(MethodRoadie.java:87)
      at org.junit.internal.runners.MethodRoadie.runTest(MethodRoadie.java:77)
      at org.junit.internal.runners.MethodRoadie.run(MethodRoadie.java:42)
      at org.junit.internal.runners.JUnit4ClassRunner.invokeTestMethod(JUnit4ClassRunner.java:88)
      at org.junit.internal.runners.JUnit4ClassRunner.runMethods(JUnit4ClassRunner.java:51)
      at org.junit.internal.runners.JUnit4ClassRunner$1.run(JUnit4ClassRunner.java:44)
      at org.junit.internal.runners.ClassRoadie.runUnprotected(ClassRoadie.java:27)
      at org.junit.internal.runners.ClassRoadie.runProtected(ClassRoadie.java:37)
      at org.junit.internal.runners.JUnit4ClassRunner.run(JUnit4ClassRunner.java:42)
      at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
      at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
      at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:165)
      at org.apache.maven.surefire.Surefire.run(Surefire.java:107)
      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 org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:289)
      at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1005)
      Caused by: java.lang.NullPointerException
      at org.geotools.gce.imagemosaic.RasterManager$SpatialDomainManager.prepareCoverageSpatialElements(RasterManager.java:390)
      at org.geotools.gce.imagemosaic.RasterManager$SpatialDomainManager.<init>(RasterManager.java:372)
      at org.geotools.gce.imagemosaic.RasterManager.<init>(RasterManager.java:475)
      at org.geotools.gce.imagemosaic.ImageMosaicReader.initReaderFromURL(ImageMosaicReader.java:303)
      ... 29 more
      Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 2.026 sec <<<

        Activity

        Hide
        Emiliano added a comment -
        Hello Jody Garnett,

        I'm using Java 1.6.0_20 on Mac Os X and I experienced the same issue with org.geotools.gce.imagemosaic.GranuleTest, but it's all ok if I use Java 1.5.0_24.



        Show
        Emiliano added a comment - Hello Jody Garnett, I'm using Java 1.6.0_20 on Mac Os X and I experienced the same issue with org.geotools.gce.imagemosaic.GranuleTest, but it's all ok if I use Java 1.5.0_24.

          People

          • Assignee:
            Unassigned
            Reporter:
            Jody Garnett
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: