MrSID imageio-ext test fails on JDK 1.5 + gdal on Linux 
--------------------------------------------------------

                 Key: GEOT-2675
                 URL: http://jira.codehaus.org/browse/GEOT-2675
             Project: GeoTools
          Issue Type: Bug
          Components: gc imageio ext gdal
    Affects Versions: 2.5.7
            Reporter: Andrea Aime
            Assignee: Simone Giannecchini
             Fix For: 2.5.8


Yesterday I've added the linux 32bit binaries to the jdk 1.5 to test a JVM 
crashing issues with various JVMs, and today I've noticed the build fails on 
trunk in the imageio-ext module with the following error:

{code}
Running org.geotools.coverageio.gdal.mrsid.MrSIDTest
25-ago-2009 9.45.58 org.geotools.coverageio.BaseGridCoverage2DReader <init>
GRAVE: Provided file does not exist or is a directory or is not readable!
org.geotools.data.DataSourceException: Provided file does not exist or is a 
directory or is not readable!
        at 
org.geotools.coverageio.BaseGridCoverage2DReader.checkSource(BaseGridCoverage2DReader.java:331)
        at 
org.geotools.coverageio.BaseGridCoverage2DReader.<init>(BaseGridCoverage2DReader.java:187)
        at 
org.geotools.coverageio.gdal.BaseGDALGridCoverage2DReader.<init>(BaseGDALGridCoverage2DReader.java:81)
        at 
org.geotools.coverageio.gdal.mrsid.MrSIDReader.<init>(MrSIDReader.java:76)
        at 
org.geotools.coverageio.gdal.mrsid.MrSIDFormat.getReader(MrSIDFormat.java:92)
        at 
org.geotools.coverageio.gdal.BaseGDALGridFormat.getReader(BaseGDALGridFormat.java:110)
        at 
org.geotools.coverageio.gdal.mrsid.MrSIDTest.test2(MrSIDTest.java:273)
        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:585)
        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:127)
        at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
        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:585)
        at 
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
        at 
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
Tests run: 3, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.678 sec <<< 
FAILURE!
Running org.geotools.coverageio.gdal.jp2mrsid.JP2MrSIDTest
25-ago-2009 9.45.58 org.geotools.coverageio.gdal.BaseGDALGridCoverage2DReader 
setCoverageProperties
INFO: crs not found, proceeding with EPSG:4326
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.056 sec

Results :

Tests in error: 
  test2(org.geotools.coverageio.gdal.mrsid.MrSIDTest)
{code}

Mind, the same module builds fine in 2.5.x. For the moment I'll just remove 
imageio-ext libraries from the JDK.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to