Fixed.

Moved over to testing a build with a space in the path ... XSD built
for me; but imagemosic is failing.

Tests in error:
  testDefaultParameterValue(org.geotools.gce.imagemosaic.ImageMosaicReaderTest)
  testInputAlpha(org.geotools.gce.imagemosaic.ImageMosaicReaderTest)
  testInputImageROI(org.geotools.gce.imagemosaic.ImageMosaicReaderTest)
  testCrop(org.geotools.gce.imagemosaic.ImageMosaicReaderTest)
  testErrors(org.geotools.gce.imagemosaic.ImageMosaicReaderTest)
  testUpdateBand(org.geotools.gce.imagemosaic.ImageMosaicReaderTest)

Looking at the errors:

testInputAlpha(org.geotools.gce.imagemosaic.ImageMosaicReaderTest)
Time elapsed: 0.015 sec  <<< ERROR!
java.io.FileNotFoundException: Can not locate test-data for "bands/mosaic.shp"
        at org.geotools.test.TestData.url(TestData.java:246)
        at 
org.geotools.gce.imagemosaic.ImageMosaicReaderTest.setUp(ImageMosaicReaderTest.java:666)
        at junit.framework.TestCase.runBare(TestCase.java:132)
        at junit.framework.TestResult$1.protect(TestResult.java:110)

It appears as if thetestData.url isnot really ready.

Jody


On Mon, Aug 31, 2009 at 10:57 PM, Andrea Aime<[email protected]> wrote:
> Jody Garnett ha scritto:
>>
>> Morning Andrea - I noticed you were working on shapefile file locking
>> recently (http://jira.codehaus.org/browse/GEOT-2680).
>> I have recently been unable to build on windows ....
>
> Bah... the quicker we get a clean build on Windows, the quicker we'll
> be able to get promptly notified of these regressions. I also noticed
> now GS is failing to build on Windows in the WFS module. Bah!
>
>
>
>> 31/08/2009 12:30:14 org.geotools.data.DefaultTransaction finalize
>> SEVERE: There's code leaving transaction unclosed. Call
>> Transaction.close() after using them to ensure they do not hold state
>> such as JDCB connections or file handles
>> 31/08/2009 12:30:14 org.geotools.data.DefaultTransaction finalize
>> SEVERE: Unclosed transaction handle is
>> 'org.geotools.data.shapefile.ShapefileDataStoreTest.testWrite
>> Transaction'
>> 31/08/2009 12:30:14 org.geotools.data.shapefile.ShpFiles logCurrentLockers
>> SEVERE: The following locker still has a lock? read on
>> file:/C:/Users/Jody/AppData/Local/Temp/test-+()shp5749.shp by
>> org.geotools.data.shapefile.shp.ShapefileReader  it was created with
>> the following stack trace
>> org.geotools.data.shapefile.ShpFilesLocker$Trace: Locking
>> file:/C:/Users/Jody/AppData/Local/Temp/test-+()shp5749.shp for read by
>> org.geotools.data.shapefile.shp.ShapefileReader in thread main
>>        at
>> org.geotools.data.shapefile.ShpFilesLocker.setTraceException(ShpFilesLocker.java:54)
>>        at
>> org.geotools.data.shapefile.ShpFilesLocker.<init>(ShpFilesLocker.java:33)
>>        at
>> org.geotools.data.shapefile.ShpFiles.acquireRead(ShpFiles.java:366)
>>        at
>> org.geotools.data.shapefile.ShpFiles.getReadChannel(ShpFiles.java:814)
>>        at
>> org.geotools.data.shapefile.shp.ShapefileReader.<init>(ShapefileReader.java:157)
>>        at
>> org.geotools.data.shapefile.ShapefileDataStore.openShapeReader(ShapefileDataStore.java:425)
>>        at
>> org.geotools.data.shapefile.ShapefileDataStore.getAttributesReader(ShapefileDataStore.java:411)
>>        at
>> org.geotools.data.shapefile.ShapefileDataStore.getFeatureReader(ShapefileDataStore.java:331)
>>        at
>> org.geotools.data.shapefile.ShapefileDataStore.getFeatureReader(ShapefileDataStore.java:326)
>>        at
>> org.geotools.data.AbstractDataStore.getFeatureReader(AbstractDataStore.java:419)
>>        at
>> org.geotools.data.shapefile.ShapefileDataStore.getFeatureReader(ShapefileDataStore.java:376)
>>        at
>> org.geotools.data.TransactionStateDiff.writer(TransactionStateDiff.java:334)
>>        at
>> org.geotools.data.AbstractDataStore.getFeatureWriter(AbstractDataStore.java:499)
>>        at
>> org.geotools.data.AbstractDataStore.getFeatureWriter(AbstractDataStore.java:525)
>>        at
>> org.geotools.data.shapefile.ShapefileDataStoreTest.testWrite(ShapefileDataStoreTest.java:773)
>>        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:168)
>>        at junit.framework.TestCase.runBare(TestCase.java:134)
>>        at junit.framework.TestResult$1.protect(TestResult.java:110)
>>        at junit.framework.TestResult.runProtected(TestResult.java:128)
>>        at junit.framework.TestResult.run(TestResult.java:113)
>>        at junit.framework.TestCase.run(TestCase.java:124)
>>        at junit.framework.TestSuite.runTest(TestSuite.java:232)
>>        at junit.framework.TestSuite.run(TestSuite.java:227)
>>        at
>> org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:81)
>>        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)
>
> Jody, the above error may or may not be the cause of the failure.
> Next time please add the surefire report of the failing test
>
> Cheers
> Andrea
>
> --
> Andrea Aime
> OpenGeo - http://opengeo.org
> Expert service straight from the developers.
>

------------------------------------------------------------------------------
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