[Geoserver-devel] Build failed in Hudson: geoserver-trunk #364

See http://gridlock.openplans.org:8080/hudson/job/geoserver-trunk/364/changes

Changes:

[dwinslow] Tweak to make trunk compile with the new FeatureCollection API.

------------------------------------------
[...truncated 1557 lines...]
  at org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:198)
  at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
  at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
  at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875)
  at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:809)
  at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
  at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:511)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
  at org.geoserver.test.GeoServerAbstractTestSupport.dispatch(GeoServerAbstractTestSupport.java:924)
  at org.geoserver.test.GeoServerAbstractTestSupport.dispatch(GeoServerAbstractTestSupport.java:891)
  at org.geoserver.test.GeoServerAbstractTestSupport.postAsServletResponse(GeoServerAbstractTestSupport.java:566)
  at org.geoserver.test.GeoServerAbstractTestSupport.post(GeoServerAbstractTestSupport.java:541)
  at org.geoserver.test.GeoServerAbstractTestSupport.postAsDOM(GeoServerAbstractTestSupport.java:700)
  at org.geoserver.test.GeoServerAbstractTestSupport.postAsDOM(GeoServerAbstractTestSupport.java:683)
  at org.geoserver.wcs.GetCapabilitiesTest.testUpdateSequenceSuperiorPost(GetCapabilitiesTest.java:166)
  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:164)
  at org.geoserver.test.GeoServerAbstractTestSupport.runTest(GeoServerAbstractTestSupport.java:124)
  at junit.framework.TestCase.runBare(TestCase.java:130)
  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:120)
  at junit.framework.TestSuite.runTest(TestSuite.java:230)
  at junit.framework.TestSuite.run(TestSuite.java:225)
  at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
  at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
  at junit.framework.TestResult.runProtected(TestResult.java:124)
  at junit.extensions.TestSetup.run(TestSetup.java:25)
  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:213)
  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:338)
  at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)
Caused by: javax.xml.transform.TransformerException: Translator error
  at org.geotools.xml.transform.TransformerBase.transform(TransformerBase.java:133)
  at org.geotools.xml.transform.TransformerBase.transform(TransformerBase.java:108)
  at org.geoserver.wcs.response.GetCapabilitiesResponse.write(GetCapabilitiesResponse.java:69)
  ... 48 more
Caused by: org.vfny.geoserver.wcs.WcsException: Invalid update sequence value, it's higher than the current value, 0
  at org.geoserver.wcs.response.WCSCapsTransformer$WCS111CapsTranslator.encode(WCSCapsTransformer.java:125)
  at org.geotools.xml.transform.TransformerBase$XMLReaderSupport.parse(TransformerBase.java:703)
  at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:484)
  at org.geotools.xml.transform.TransformerBase$Task.run(TransformerBase.java:296)
  at org.geotools.xml.transform.TransformerBase.transform(TransformerBase.java:129)
  ... 50 more
21 Jul 17:37:51 INFO [geoserver.wcs] -
Request: getCapabilities
  acceptVersions = null
  sections:
    section = [Bogus]
  acceptFormats = null
  updateSequence = null
  baseUrl = http://localhost:80/geoserver/
  service = WCS
21 Jul 17:37:51 ERROR [geoserver.ows] -
java.io.IOException
  at org.geoserver.wcs.response.GetCapabilitiesResponse.write(GetCapabilitiesResponse.java:71)
  at org.geoserver.ows.Dispatcher.response(Dispatcher.java:637)
  at org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:198)
  at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
  at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
  at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875)
  at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:809)
  at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
  at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:501)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
  at org.geoserver.test.GeoServerAbstractTestSupport.dispatch(GeoServerAbstractTestSupport.java:924)
  at org.geoserver.test.GeoServerAbstractTestSupport.dispatch(GeoServerAbstractTestSupport.java:891)
  at org.geoserver.test.GeoServerAbstractTestSupport.getAsServletResponse(GeoServerAbstractTestSupport.java:439)
  at org.geoserver.test.GeoServerAbstractTestSupport.get(GeoServerAbstractTestSupport.java:420)
  at org.geoserver.test.GeoServerAbstractTestSupport.getAsDOM(GeoServerAbstractTestSupport.java:633)
  at org.geoserver.wcs.GetCapabilitiesTest.testSectionsBogus(GetCapabilitiesTest.java:173)
  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:164)
  at org.geoserver.test.GeoServerAbstractTestSupport.runTest(GeoServerAbstractTestSupport.java:124)
  at junit.framework.TestCase.runBare(TestCase.java:130)
  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:120)
  at junit.framework.TestSuite.runTest(TestSuite.java:230)
  at junit.framework.TestSuite.run(TestSuite.java:225)
  at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
  at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
  at junit.framework.TestResult.runProtected(TestResult.java:124)
  at junit.extensions.TestSetup.run(TestSetup.java:25)
  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:213)
  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:338)
  at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)
Caused by: javax.xml.transform.TransformerException: Translator error
  at org.geotools.xml.transform.TransformerBase.transform(TransformerBase.java:133)
  at org.geotools.xml.transform.TransformerBase.transform(TransformerBase.java:108)
  at org.geoserver.wcs.response.GetCapabilitiesResponse.write(GetCapabilitiesResponse.java:69)
  ... 47 more
Caused by: org.vfny.geoserver.wcs.WcsException: Unknown section Bogus
  at org.geoserver.wcs.response.WCSCapsTransformer$WCS111CapsTranslator.encode(WCSCapsTransformer.java:172)
  at org.geotools.xml.transform.TransformerBase$XMLReaderSupport.parse(TransformerBase.java:703)
  at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:484)
  at org.geotools.xml.transform.TransformerBase$Task.run(TransformerBase.java:296)
  at org.geotools.xml.transform.TransformerBase.transform(TransformerBase.java:129)
  ... 49 more
21 Jul 17:37:51 INFO [geoserver.wcs] -
Request: getCapabilities
  acceptVersions = null
  sections:
    section = [All]
  acceptFormats = null
  updateSequence = null
  baseUrl = http://localhost:80/geoserver/
  service = WCS
21 Jul 17:37:51 INFO [geoserver.wcs] -
Request: getCapabilities
  acceptVersions = null
  sections:
    section = [ServiceProvider]
  acceptFormats = null
  updateSequence = null
  baseUrl = http://localhost:80/geoserver/
  service = WCS
21 Jul 17:37:51 INFO [geoserver.wcs] -
Request: getCapabilities
  acceptVersions = null
  sections:
    section = [ServiceProvider, Contents]
  acceptFormats = null
  updateSequence = null
  baseUrl = http://localhost:80/geoserver/
  service = WCS
21 Jul 17:37:51 INFO [test.GeoServerTestApplicationContext] - Closing org.geoserver.test.GeoServerTestApplicationContext@anonymised.com: display name [org.geoserver.test.GeoServerTestApplicationContext@anonymised.com]; startup date [Mon Jul 21 17:37:50 EDT 2008]; root of context hierarchy
21 Jul 17:37:51 INFO [geoserver.global] - Disposing DataStores at GeoServer shutdown...
21 Jul 17:37:51 INFO [geoserver.global] - Done disposing datastores.
21 Jul 17:37:51 INFO [geoserver.global] - Disposing DataStores at GeoServer shutdown...
21 Jul 17:37:51 INFO [geoserver.global] - Done disposing datastores.
Tests run: 17, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.325 sec

Results :

Tests run: 76, Failures: 0, Errors: 0, Skipped: 0

[INFO] [jar:jar]
[INFO] Building jar: http://gridlock.openplans.org:8080/hudson/job/geoserver-trunk/ws/geoserver/wcs1_1/target/wcs1_1-1.8.0-SNAPSHOT.jar
[INFO] [jar:test-jar {execution: default}]
[INFO] Building jar: http://gridlock.openplans.org:8080/hudson/job/geoserver-trunk/ws/geoserver/wcs1_1/target/wcs1_1-1.8.0-SNAPSHOT-tests.jar
[INFO] Preparing source:jar
[WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
[INFO] [javacc:jjtree {execution: jjtree}]
[INFO] Nothing to process - all grammars in http://gridlock.openplans.org:8080/hudson/job/geoserver-trunk/ws/geoserver/wcs1_1/src/main/java/org/geoserver/wcs/kvp/rangesubset are up to date.
[INFO] [javacc:javacc {execution: javacc}]
[INFO] Nothing to process - all grammars in http://gridlock.openplans.org:8080/hudson/job/geoserver-trunk/ws/geoserver/wcs1_1/target/generated-sources/jjtree are up to date.
[INFO] [source:jar {execution: attach-sources}]
[INFO] Building jar: http://gridlock.openplans.org:8080/hudson/job/geoserver-trunk/ws/geoserver/wcs1_1/target/wcs1_1-1.8.0-SNAPSHOT-sources.jar
[INFO] [install:install]
[INFO] Installing http://gridlock.openplans.org:8080/hudson/job/geoserver-trunk/ws/geoserver/wcs1_1/target/wcs1_1-1.8.0-SNAPSHOT.jar to /home/tomcat/.m2/repository/org/geoserver/wcs1_1/1.8.0-SNAPSHOT/wcs1_1-1.8.0-SNAPSHOT.jar
[INFO] Installing http://gridlock.openplans.org:8080/hudson/job/geoserver-trunk/ws/geoserver/wcs1_1/target/wcs1_1-1.8.0-SNAPSHOT-tests.jar to /home/tomcat/.m2/repository/org/geoserver/wcs1_1/1.8.0-SNAPSHOT/wcs1_1-1.8.0-SNAPSHOT-tests.jar
[INFO] Installing http://gridlock.openplans.org:8080/hudson/job/geoserver-trunk/ws/geoserver/wcs1_1/target/wcs1_1-1.8.0-SNAPSHOT-sources.jar to /home/tomcat/.m2/repository/org/geoserver/wcs1_1/1.8.0-SNAPSHOT/wcs1_1-1.8.0-SNAPSHOT-sources.jar
[INFO] ------------------------------------------------------------------------
[INFO] Building Validation Module
[INFO] task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting directory http://gridlock.openplans.org:8080/hudson/job/geoserver-trunk/ws/geoserver/validation/target
[INFO] [cobertura:clean {execution: default}]
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Compiling 6 source files to http://gridlock.openplans.org:8080/hudson/job/geoserver-trunk/ws/geoserver/validation/target/classes
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] No sources to compile
[INFO] [surefire:test]
[INFO] No tests to run.
[INFO] [jar:jar]
[INFO] Building jar: http://gridlock.openplans.org:8080/hudson/job/geoserver-trunk/ws/geoserver/validation/target/validation-1.8.0-SNAPSHOT.jar
[INFO] [jar:test-jar {execution: default}]
[WARNING] JAR will be empty - no content was marked for inclusion!
[INFO] Building jar: http://gridlock.openplans.org:8080/hudson/job/geoserver-trunk/ws/geoserver/validation/target/validation-1.8.0-SNAPSHOT-tests.jar
[INFO] Preparing source:jar
[WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
[INFO] No goals needed for project - skipping
[INFO] [source:jar {execution: attach-sources}]
[INFO] Building jar: http://gridlock.openplans.org:8080/hudson/job/geoserver-trunk/ws/geoserver/validation/target/validation-1.8.0-SNAPSHOT-sources.jar
[INFO] [install:install]
[INFO] Installing http://gridlock.openplans.org:8080/hudson/job/geoserver-trunk/ws/geoserver/validation/target/validation-1.8.0-SNAPSHOT.jar to /home/tomcat/.m2/repository/org/geoserver/validation/1.8.0-SNAPSHOT/validation-1.8.0-SNAPSHOT.jar
[INFO] Installing http://gridlock.openplans.org:8080/hudson/job/geoserver-trunk/ws/geoserver/validation/target/validation-1.8.0-SNAPSHOT-tests.jar to /home/tomcat/.m2/repository/org/geoserver/validation/1.8.0-SNAPSHOT/validation-1.8.0-SNAPSHOT-tests.jar
[INFO] Installing http://gridlock.openplans.org:8080/hudson/job/geoserver-trunk/ws/geoserver/validation/target/validation-1.8.0-SNAPSHOT-sources.jar to /home/tomcat/.m2/repository/org/geoserver/validation/1.8.0-SNAPSHOT/validation-1.8.0-SNAPSHOT-sources.jar
[INFO] ------------------------------------------------------------------------
[INFO] Building Web Feature Service Module
[INFO] task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting directory http://gridlock.openplans.org:8080/hudson/job/geoserver-trunk/ws/geoserver/wfs/target
[INFO] [cobertura:clean {execution: default}]
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] snapshot org.geotools.ogc:net.opengis.wfs:2.5-SNAPSHOT: checking for updates from refractions
[INFO] [compiler:compile]
[INFO] Compiling 164 source files to http://gridlock.openplans.org:8080/hudson/job/geoserver-trunk/ws/geoserver/wfs/target/classes
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure
http://gridlock.openplans.org:8080/hudson/job/geoserver-trunk/ws/geoserver/wfs/src/main/java/org/geoserver/wfs/xml/v1_1_0/InsertElementTypeBinding.java :[183,36] cannot find symbol
symbol : method addAll(org.geotools.feature.FeatureCollection<org.opengis.feature.simple.SimpleFeatureType,org.opengis.feature.simple.SimpleFeature>)
location: interface org.eclipse.emf.common.util.EList

http://gridlock.openplans.org:8080/hudson/job/geoserver-trunk/ws/geoserver/wfs/src/main/java/org/geoserver/wfs/xml/v1_1_0/InsertElementTypeBinding.java :[183,36] cannot find symbol
symbol : method addAll(org.geotools.feature.FeatureCollection<org.opengis.feature.simple.SimpleFeatureType,org.opengis.feature.simple.SimpleFeature>)
location: interface org.eclipse.emf.common.util.EList

[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1 minute 17 seconds
[INFO] Finished at: Mon Jul 21 17:37:57 EDT 2008
[INFO] Final Memory: 34M/63M
[INFO] ------------------------------------------------------------------------

See http://gridlock.openplans.org:8080/hudson/job/geoserver-trunk/365/changes