Martin Desruisseaux wrote:
> Cory Horner a écrit :
> 
>>So what *are* the requirements for building trunk? Our build box is 
>>running JDK-1.5.0_10 with JAI-1.1.3 and ImageIO-1.0_01 on linux.  Am I 
>>doing something wrong, or is hsql just being flakey?
> 
> 
> Applied a fix on trunk as of revision 24578. Could you let us know if it work
> please?

Thanks Martin,

We made it a little bit further this time...

Can anyone confirm the correct version of ImageIO? The wiki says 1.1, 
but i'm skeptical.  If I recall correctly, 1.1 won't work with geotools 2.2.

Cory.

----

[INFO] 
----------------------------------------------------------------------------
[INFO] Building WorldImage datasource module
[INFO]    task-segment: [clean, install]
[INFO] 
----------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting directory 
/opt/continuum-1.0.3/apps/continuum/working-directory/11/modules/plugin/image/target
[INFO] Deleting directory 
/opt/continuum-1.0.3/apps/continuum/working-directory/11/modules/plugin/image/target/classes
[INFO] Deleting directory 
/opt/continuum-1.0.3/apps/continuum/working-directory/11/modules/plugin/image/target/test-classes
[INFO] Deleting directory 
/opt/continuum-1.0.3/apps/continuum/working-directory/11/modules/plugin/image/target/site
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
Compiling 4 source files to 
/opt/continuum-1.0.3/apps/continuum/working-directory/11/modules/plugin/image/target/classes
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
Compiling 5 source files to 
/opt/continuum-1.0.3/apps/continuum/working-directory/11/modules/plugin/image/target/test-classes
[INFO] [surefire:test]
[INFO] Surefire report directory: 
/opt/continuum-1.0.3/apps/continuum/working-directory/11/modules/plugin/image/target/surefire-reports

-------------------------------------------------------
  T E S T S
-------------------------------------------------------
Running org.geotools.gce.image.WorldImageWriterTest
Feb 26, 2007 11:06:36 PM org.geotools.gce.image.WorldImageReader readCRS
INFO: Unable to find crs, continuing with default WGS4 CRS
GEOGCS["WGS84",
   DATUM["WGS84",
     SPHEROID["WGS84", 6378137.0, 298.257223563]],
   PRIMEM["Greenwich", 0.0],
   UNIT["degree", 0.017453292519943295],
   AXIS["Geodetic longitude", EAST],
   AXIS["Geodetic latitude", NORTH]]
Feb 26, 2007 11:06:36 PM org.geotools.gce.image.WorldImageReader readCRS
INFO: Unable to find crs, continuing with default WGS4 CRS
GEOGCS["WGS84",
   DATUM["WGS84",
     SPHEROID["WGS84", 6378137.0, 298.257223563]],
   PRIMEM["Greenwich", 0.0],
   UNIT["degree", 0.017453292519943295],
   AXIS["Geodetic longitude", EAST],
   AXIS["Geodetic latitude", NORTH]]
Feb 26, 2007 11:06:36 PM org.geotools.gce.image.WorldImageWriterTest 
testWrite
INFO: Format is tiff
  file is etopo.tif
  file is Pk50095.tif
  file is usa.tif

Error: One factory fails for the operation "ImageWrite"
Occurs in: javax.media.jai.ThreadSafeOperationRegistry
java.lang.reflect.InvocationTargetException
        at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        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.JAI.createNS(JAI.java:1099)
        at javax.media.jai.JAI.create(JAI.java:973)
        at javax.media.jai.JAI.create(JAI.java:1395)
        at 
org.geotools.gce.image.WorldImageWriter.encode(WorldImageWriter.java:429)
        at 
org.geotools.gce.image.WorldImageWriter.write(WorldImageWriter.java:209)
        at 
org.geotools.gce.image.WorldImageWriterTest.write(WorldImageWriterTest.java:155)
        at 
org.geotools.gce.image.WorldImageWriterTest.testWrite(WorldImageWriterTest.java:92)
        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 junit.framework.TestCase.runTest(TestCase.java:154)
        at junit.framework.TestCase.runBare(TestCase.java:127)
        at junit.framework.TestResult$1.protect(TestResult.java:106)
        at junit.framework.TestResult.runProtected(TestResult.java:124)
        at junit.framework.TestResult.run(TestResult.java:109)
        at junit.framework.TestCase.run(TestCase.java:118)
        at junit.framework.TestSuite.runTest(TestSuite.java:208)
        at junit.framework.TestSuite.run(TestSuite.java:203)
        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.junit.JUnitTestSet.execute(JUnitTestSet.java:210)
        at 
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135)
        at 
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:122)
        at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
        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:225)
        at 
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:747)
Caused by: java.lang.IllegalArgumentException: Bad value 254!
        at 
com.sun.media.imageioimpl.plugins.gif.GIFImageWriter.getNumBits(GIFImageWriter.java:144)
        at 
com.sun.media.imageioimpl.plugins.gif.GIFImageWriter.write(GIFImageWriter.java:605)
        at 
com.sun.media.imageioimpl.plugins.gif.GIFImageWriter.write(GIFImageWriter.java:460)
        at 
com.sun.media.jai.imageioimpl.ImageWriteCRIF.create(ImageWriteCRIF.java:555)
        at 
com.sun.media.jai.imageioimpl.ImageWriteCRIF.create(ImageWriteCRIF.java:205)
        ... 43 more
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 3.697 
sec <<< FAILURE!
Running org.geotools.gce.image.WorldImageFormatTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.014 sec
Running org.geotools.gce.image.ServiceTest
Feb 26, 2007 11:06:36 PM org.geotools.gce.image.WorldImageReaderTest 
testRead
INFO: etopo.tif
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.019 sec
Running org.geotools.gce.image.WorldImageReaderTest
Feb 26, 2007 11:06:36 PM org.geotools.gce.image.WorldImageReaderTest 
testRead
INFO: Pk50095.tif
Feb 26, 2007 11:06:36 PM org.geotools.gce.image.WorldImageReaderTest 
testRead
INFO: usa.tif
Feb 26, 2007 11:06:36 PM org.geotools.gce.image.WorldImageReader readCRS
INFO: Unable to find crs, continuing with default WGS4 CRS
GEOGCS["WGS84",
   DATUM["WGS84",
     SPHEROID["WGS84", 6378137.0, 298.257223563]],
   PRIMEM["Greenwich", 0.0],
   UNIT["degree", 0.017453292519943295],
   AXIS["Geodetic longitude", EAST],
   AXIS["Geodetic latitude", NORTH]]
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.245 sec

Results :
Tests run: 4, Failures: 0, Errors: 1, Skipped: 0

[INFO] 
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] 
------------------------------------------------------------------------
[INFO] There are test failures.
[INFO] 
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] 
------------------------------------------------------------------------
[INFO] Total time: 5 minutes 4 seconds
[INFO] Finished at: Mon Feb 26 23:06:36 PST 2007
[INFO] Final Memory: 27M/63M
[INFO] 
------------------------------------------------------------------------

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to