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

See <http://hudson.opengeo.org/hudson/job/geoserver-trunk/4755/&gt;

------------------------------------------
[...truncated 26791 lines...]
  at org.geoserver.wfs.GetFeature.buildResults(GetFeature.java:672)
  at org.geoserver.wfs.GetFeature.run(GetFeature.java:611)
  at org.geoserver.wfs.DefaultWebFeatureService20.getFeature(DefaultWebFeatureService20.java:97)
  at org.geoserver.wfs.DefaultWebFeatureService20.getFeatureWithLock(DefaultWebFeatureService20.java:102)
  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:597)
  at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
  at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
  at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
  at org.geoserver.ows.util.RequestObjectLogger.invoke(RequestObjectLogger.java:32)
  at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
  at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
  at $Proxy15.getFeatureWithLock(Unknown Source)
  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:597)
  at org.geoserver.ows.Dispatcher.execute(Dispatcher.java:763)
  at org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:273)
  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:790)
  at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)
  at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:644)
  at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:560)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
  at org.geoserver.test.GeoServerAbstractTestSupport$3.service(GeoServerAbstractTestSupport.java:1217)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
  at com.mockrunner.mock.web.MockFilterChain.doFilter(MockFilterChain.java:50)
  at org.geoserver.test.GeoServerAbstractTestSupport.dispatch(GeoServerAbstractTestSupport.java:1236)
  at org.geoserver.test.GeoServerAbstractTestSupport.dispatch(GeoServerAbstractTestSupport.java:1177)
  at org.geoserver.test.GeoServerAbstractTestSupport.dispatch(GeoServerAbstractTestSupport.java:1159)
  at org.geoserver.test.GeoServerAbstractTestSupport.postAsServletResponse(GeoServerAbstractTestSupport.java:778)
  at org.geoserver.test.GeoServerAbstractTestSupport.postAsServletResponse(GeoServerAbstractTestSupport.java:725)
  at org.geoserver.test.GeoServerAbstractTestSupport.post(GeoServerAbstractTestSupport.java:705)
  at org.geoserver.test.GeoServerAbstractTestSupport.postAsDOM(GeoServerAbstractTestSupport.java:912)
  at org.geoserver.test.GeoServerAbstractTestSupport.postAsDOM(GeoServerAbstractTestSupport.java:895)
  at org.geoserver.wfs.v2_0.GetFeatureWithLockTest.testUpdateLockedFeatureWithoutLockId(GetFeatureWithLockTest.java:126)
  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:597)
  at junit.framework.TestCase.runTest(TestCase.java:164)
  at org.geoserver.test.GeoServerAbstractTestSupport.runTest(GeoServerAbstractTestSupport.java:145)
  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 sun.reflect.GeneratedMethodAccessor217.invoke(Unknown Source)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  at java.lang.reflect.Method.invoke(Method.java:597)
  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:597)
  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.RuntimeException: Encode failed for version. Cause: Empty version union
  at org.geotools.xml.impl.AttributeEncodeExecutor.visit(AttributeEncodeExecutor.java:93)
  at org.geotools.xml.impl.BindingWalker$BindingExecutionChain.execute(BindingWalker.java:220)
  at org.geotools.xml.impl.BindingWalker.walk(BindingWalker.java:186)
  at org.geotools.xml.impl.BindingVisitorDispatch.walk(BindingVisitorDispatch.java:47)
  at org.geotools.xml.impl.ElementEncoder.encode(ElementEncoder.java:93)
  at org.geotools.xml.Encoder.encode(Encoder.java:1142)
  at org.geotools.xml.Encoder.encode(Encoder.java:1131)
  at org.geotools.xml.Encoder.encode(Encoder.java:887)
  at org.geotools.xml.Encoder.encode(Encoder.java:584)
  at org.geotools.xml.Encoder.encodeAsString(Encoder.java:1116)
  at org.geoserver.wfs.GetFeature.encodeQueryAsKvp(GetFeature.java:819)
  ... 68 more
Caused by: java.lang.IllegalArgumentException: Empty version union
  at org.geotools.filter.v2_0.bindings.VersionTypeBinding.encode(VersionTypeBinding.java:69)
  at org.geotools.xml.impl.AttributeEncodeExecutor.visit(AttributeEncodeExecutor.java:89)
  ... 78 more
09 Nov 16:38:16 ERROR [geoserver.global] -
----------------------------------
- GEOSERVER_DATA_DIR: <http://hudson.opengeo.org/hudson/job/geoserver-trunk/ws/geoserver/wfs/./target/mock972436847702539049data&gt;
----------------------------------
09 Nov 16:38:17 ERROR [geoserver.ows] -
java.lang.RuntimeException: Unable to encode filter [ Locks.0, Locks.1 ]
  at org.geoserver.wfs.GetFeature.encodeQueryAsKvp(GetFeature.java:822)
  at org.geoserver.wfs.GetFeature.buildKvpFromRequest(GetFeature.java:744)
  at org.geoserver.wfs.GetFeature.buildResults(GetFeature.java:672)
  at org.geoserver.wfs.GetFeature.run(GetFeature.java:611)
  at org.geoserver.wfs.DefaultWebFeatureService20.getFeature(DefaultWebFeatureService20.java:97)
  at org.geoserver.wfs.DefaultWebFeatureService20.getFeatureWithLock(DefaultWebFeatureService20.java:102)
  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:597)
  at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
  at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
  at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
  at org.geoserver.ows.util.RequestObjectLogger.invoke(RequestObjectLogger.java:32)
  at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
  at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
  at $Proxy15.getFeatureWithLock(Unknown Source)
  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:597)
  at org.geoserver.ows.Dispatcher.execute(Dispatcher.java:763)
  at org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:273)
  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:790)
  at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)
  at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:644)
  at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:560)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
  at org.geoserver.test.GeoServerAbstractTestSupport$3.service(GeoServerAbstractTestSupport.java:1217)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
  at com.mockrunner.mock.web.MockFilterChain.doFilter(MockFilterChain.java:50)
  at org.geoserver.test.GeoServerAbstractTestSupport.dispatch(GeoServerAbstractTestSupport.java:1236)
  at org.geoserver.test.GeoServerAbstractTestSupport.dispatch(GeoServerAbstractTestSupport.java:1177)
  at org.geoserver.test.GeoServerAbstractTestSupport.dispatch(GeoServerAbstractTestSupport.java:1159)
  at org.geoserver.test.GeoServerAbstractTestSupport.postAsServletResponse(GeoServerAbstractTestSupport.java:778)
  at org.geoserver.test.GeoServerAbstractTestSupport.postAsServletResponse(GeoServerAbstractTestSupport.java:725)
  at org.geoserver.test.GeoServerAbstractTestSupport.post(GeoServerAbstractTestSupport.java:705)
  at org.geoserver.test.GeoServerAbstractTestSupport.postAsDOM(GeoServerAbstractTestSupport.java:912)
  at org.geoserver.test.GeoServerAbstractTestSupport.postAsDOM(GeoServerAbstractTestSupport.java:895)
  at org.geoserver.wfs.v2_0.GetFeatureWithLockTest.testGetFeatureWithLockReleaseActionSome(GetFeatureWithLockTest.java:180)
  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:597)
  at junit.framework.TestCase.runTest(TestCase.java:164)
  at org.geoserver.test.GeoServerAbstractTestSupport.runTest(GeoServerAbstractTestSupport.java:145)
  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 sun.reflect.GeneratedMethodAccessor217.invoke(Unknown Source)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  at java.lang.reflect.Method.invoke(Method.java:597)
  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:597)
  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.RuntimeException: Encode failed for version. Cause: Empty version union
  at org.geotools.xml.impl.AttributeEncodeExecutor.visit(AttributeEncodeExecutor.java:93)
  at org.geotools.xml.impl.BindingWalker$BindingExecutionChain.execute(BindingWalker.java:220)
  at org.geotools.xml.impl.BindingWalker.walk(BindingWalker.java:186)
  at org.geotools.xml.impl.BindingVisitorDispatch.walk(BindingVisitorDispatch.java:47)
  at org.geotools.xml.impl.ElementEncoder.encode(ElementEncoder.java:93)
  at org.geotools.xml.Encoder.encode(Encoder.java:1142)
  at org.geotools.xml.Encoder.encode(Encoder.java:1131)
  at org.geotools.xml.Encoder.encode(Encoder.java:887)
  at org.geotools.xml.Encoder.encode(Encoder.java:584)
  at org.geotools.xml.Encoder.encodeAsString(Encoder.java:1116)
  at org.geoserver.wfs.GetFeature.encodeQueryAsKvp(GetFeature.java:819)
  ... 68 more
Caused by: java.lang.IllegalArgumentException: Empty version union
  at org.geotools.filter.v2_0.bindings.VersionTypeBinding.encode(VersionTypeBinding.java:69)
  at org.geotools.xml.impl.AttributeEncodeExecutor.visit(AttributeEncodeExecutor.java:89)
  ... 78 more
09 Nov 16:38:17 ERROR [geoserver.global] -
----------------------------------
- GEOSERVER_DATA_DIR: <http://hudson.opengeo.org/hudson/job/geoserver-trunk/ws/geoserver/wfs/./target/mock5009612954892660861data&gt;
----------------------------------
Tests run: 6, Failures: 5, Errors: 0, Skipped: 0, Time elapsed: 1.451 sec <<< FAILURE!
Running org.geoserver.wfs.ReprojectionWriteTest
09 Nov 16:38:17 ERROR [geoserver.global] -
----------------------------------
- GEOSERVER_DATA_DIR: <http://hudson.opengeo.org/hudson/job/geoserver-trunk/ws/geoserver/wfs/./target/mock2266076395417488813data&gt;
----------------------------------
09 Nov 16:38:17 ERROR [geoserver.global] -
----------------------------------
- GEOSERVER_DATA_DIR: <http://hudson.opengeo.org/hudson/job/geoserver-trunk/ws/geoserver/wfs/./target/mock6100539853651089650data&gt;
----------------------------------
09 Nov 16:38:17 ERROR [geoserver.global] -
----------------------------------
- GEOSERVER_DATA_DIR: <http://hudson.opengeo.org/hudson/job/geoserver-trunk/ws/geoserver/wfs/./target/mock6545733019712859500data&gt;
----------------------------------
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.737 sec
Running org.geoserver.wfs.AliasTest
09 Nov 16:38:17 ERROR [geoserver.global] -
----------------------------------
- GEOSERVER_DATA_DIR: <http://hudson.opengeo.org/hudson/job/geoserver-trunk/ws/geoserver/wfs/./target/mock3679421164102641867data&gt;
----------------------------------
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<xsd:schema xmlns:cdf="http://www.opengis.net/cite/data&quot; xmlns:gml="http://www.opengis.net/gml&quot; xmlns:gs="http://geoserver.org" xmlns:xsd="http://www.w3.org/2001/XMLSchema&quot; elementFormDefault="qualified" targetNamespace="http://www.opengis.net/cite/data&quot;&gt;
  <xsd:import namespace="http://www.opengis.net/gml&quot; schemaLocation="http://localhost:8080/geoserver/schemas/gml/2.1.2/feature.xsd&quot;/&gt;
  <xsd:complexType name="ft15Type">
    <xsd:complexContent>
      <xsd:extension base="gml:AbstractFeatureType">
        <xsd:sequence>
          <xsd:element maxOccurs="1" minOccurs="0" name="boundedBy" nillable="true" type="gml:PolygonPropertyType"/>
          <xsd:element maxOccurs="1" minOccurs="0" name="pointProperty" nillable="true" type="gml:PointPropertyType"/>
        </xsd:sequence>
      </xsd:extension>
    </xsd:complexContent>
  </xsd:complexType>
  <xsd:element name="ft15" substitutionGroup="gml:_Feature" type="cdf:ft15Type"/>
</xsd:schema>
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.137 sec
Running org.geoserver.wfs.xml.GMLOutputFormatTest
09 Nov 16:38:18 ERROR [geoserver.global] -
----------------------------------
- GEOSERVER_DATA_DIR: <http://hudson.opengeo.org/hudson/job/geoserver-trunk/ws/geoserver/wfs/./target/mock2269869110264357185data&gt;
----------------------------------
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.388 sec

Results :

Failed tests:
  testWithFilter(org.geoserver.wfs.v2_0.GetFeaturePagingTest)
  testNextPreviousLinksPOST(org.geoserver.wfs.v2_0.GetFeaturePagingTest)
  testWorkspaceQualified(org.geoserver.wfs.v2_0.GetFeatureWithLockTest)
  testLayerQualified(org.geoserver.wfs.v2_0.GetFeatureWithLockTest)
  testUpdateLockedFeatureWithLockId(org.geoserver.wfs.v2_0.GetFeatureWithLockTest)
  testUpdateLockedFeatureWithoutLockId(org.geoserver.wfs.v2_0.GetFeatureWithLockTest)
  testGetFeatureWithLockReleaseActionSome(org.geoserver.wfs.v2_0.GetFeatureWithLockTest)

Tests run: 401, Failures: 7, Errors: 0, Skipped: 0

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] There are test failures.

Please refer to <http://hudson.opengeo.org/hudson/job/geoserver-trunk/ws/geoserver/wfs/target/surefire-reports&gt; for the individual test results.
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3 minutes 58 seconds
[INFO] Finished at: Wed Nov 09 16:38:18 UTC 2011
[INFO] Final Memory: 55M/392M
[INFO] ------------------------------------------------------------------------

sorry for the breakage, failure given to some ResourceId changes in
geotools, working on it....

Gabriel

okay, waiting for the build server to build geotools which should fix
the geoserver build.

cross fingers,
Gabriel

On Wed, Nov 9, 2011 at 3:45 PM, Gabriel Roldan <groldan@anonymised.com> wrote:

sorry for the breakage, failure given to some ResourceId changes in
geotools, working on it....

Gabriel

--
Gabriel Roldan
OpenGeo - http://opengeo.org
Expert service straight from the developers.

See <http://hudson.opengeo.org/hudson/job/geoserver-trunk/4756/&gt;