I am wondering what we can do here; I can only assume that extensive tests are 
not being run except during the release process.

Options:
- move these modules back to unsupported; they have not been in a releasable 
state
- remove the extensive tests (see no evil)
- lean on hudson to run extensive tests (if performing them in a continuous 
fashion is not an option perhaps nightly prior to deploying the snapshot?)

Jody

On 18/07/2010, at 12:46 PM, Jody Garnett wrote:

> Tests in error: 
>  testCropLevel2(org.geotools.gce.imagepyramid.ImagePyramidReaderTest)
>  testCropLevel3(org.geotools.gce.imagepyramid.ImagePyramidReaderTest)
> 
> Using Java 1.5 on macosx....
> 
> 
> Error: One factory fails for the operation "Mosaic"
> Occurs in: javax.media.jai.ThreadSafeOperationRegistry
> java.lang.reflect.InvocationTargetException
>       at sun.reflect.GeneratedMethodAccessor38.invoke(Unknown Source)
>       at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>       at java.lang.reflect.Method.invoke(Method.java:592)
>       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.getSampleModel(RenderedOp.java:2233)
>       at 
> org.geotools.gce.imagemosaic.RasterLayerResponse.prepareCoverage(RasterLayerResponse.java:1069)
>       at 
> org.geotools.gce.imagemosaic.RasterLayerResponse.processRequest(RasterLayerResponse.java:684)
>       at 
> org.geotools.gce.imagemosaic.RasterLayerResponse.createResponse(RasterLayerResponse.java:636)
>       at 
> org.geotools.gce.imagemosaic.RasterManager.read(RasterManager.java:591)
>       at 
> org.geotools.gce.imagemosaic.ImageMosaicReader.read(ImageMosaicReader.java:569)
>       at 
> org.geotools.gce.imagepyramid.ImagePyramidReader.loadRequestedTiles(ImagePyramidReader.java:507)
>       at 
> org.geotools.gce.imagepyramid.ImagePyramidReader.loadTiles(ImagePyramidReader.java:434)
>       at 
> org.geotools.gce.imagepyramid.ImagePyramidReader.read(ImagePyramidReader.java:373)
>       at 
> org.geotools.gce.imagepyramid.ImagePyramidReaderTest.testCropLevel3(ImagePyramidReaderTest.java:726)
>       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:592)
>       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:592)
>       at 
> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
>       at 
> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
> Caused by: java.lang.IllegalArgumentException: Alpha images must have the 
> same data type as the sources.
>       at 
> com.sun.media.jai.opimage.MosaicOpImage.<init>(MosaicOpImage.java:223)
>       at com.sun.media.jai.opimage.MosaicRIF.create(MosaicRIF.java:39)
>       ... 45 more


------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Geotools-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to