See http://gridlock.openplans.org:8080/hudson/job/geoserver-trunk/185/changes
Changes:
[aaime] GEOS-1659, WFS Maxfeatures refinement
[dwinslow] Avoid NPE in FeatureTypeResource
------------------------------------------
[...truncated 1505 lines...]
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:334)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:980)
Caused by: org.geotools.data.FeatureLockException: Transaction does not have authorization for Locks:Locks.0
at org.geotools.data.InProcessLockingManager.assertAccess(InProcessLockingManager.java:284)
at org.geotools.data.InProcessLockingManager$1.write(InProcessLockingManager.java:327)
at org.geotools.data.FilteringFeatureWriter.write(FilteringFeatureWriter.java:105)
at org.geotools.data.AbstractFeatureStore.modifyFeatures(AbstractFeatureStore.java:155)
at org.geotools.data.AbstractFeatureStore.modifyFeatures(AbstractFeatureStore.java:97)
at org.vfny.geoserver.global.GeoServerFeatureStore.modifyFeatures(GeoServerFeatureStore.java:124)
at org.geoserver.wfs.UpdateElementHandler.execute(UpdateElementHandler.java:225)
... 53 more
28 Jan 10:33:31 ERROR [geotools.data] - 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
28 Jan 10:33:31 ERROR [geotools.data] - Unclosed transaction handle is 'org.geoserver.wfs.LockFeature.lockFeature Transaction'
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.844 sec
Running org.geoserver.wfs.ReprojectingFilterVisitorTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.02 sec
Running org.geoserver.wfs.kvp.FilterKvpParserTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec
Running org.geoserver.wfs.v1_1.GetFeatureTest
28 Jan 10:33:35 ERROR [geoserver.ows] -
org.geoserver.wfs.WFSException: Could not locate {http://cite.opengeospatial.org/gmlsf\}new in catalog.
at org.geoserver.wfs.GetFeature.featureTypeInfo(GetFeature.java:595)
at org.geoserver.wfs.GetFeature.run(GetFeature.java:161)
at org.geoserver.wfs.DefaultWebFeatureService.getFeature(DefaultWebFeatureService.java:109)
at sun.reflect.GeneratedMethodAccessor88.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:292)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:155)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:122)
at org.geoserver.ows.util.EMFLogger.invoke(EMFLogger.java:51)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:174)
at $Proxy6.getFeature(Unknown Source)
at sun.reflect.GeneratedMethodAccessor87.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.geoserver.security.OperationSecurityInterceptor.invoke(OperationSecurityInterceptor.java:41)
at org.geoserver.ows.Dispatcher.execute(Dispatcher.java:495)
at org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:188)
at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:139)
at org.geoserver.test.GeoServerAbstractTestSupport.dispatch(GeoServerAbstractTestSupport.java:599)
at org.geoserver.test.GeoServerAbstractTestSupport.getAsServletResponse(GeoServerAbstractTestSupport.java:277)
at org.geoserver.test.GeoServerAbstractTestSupport.get(GeoServerAbstractTestSupport.java:258)
at org.geoserver.test.GeoServerAbstractTestSupport.getAsDOM(GeoServerAbstractTestSupport.java:352)
at org.geoserver.test.GeoServerAbstractTestSupport.getAsDOM(GeoServerAbstractTestSupport.java:334)
at org.geoserver.wfs.v1_1.GetFeatureTest.testAfterFeatureTypeAdded(GetFeatureTest.java:331)
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: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:334)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:980)
Tests run: 17, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.409 sec
Running org.geoserver.wfs.v1_1.TransactionTest
28 Jan 10:33:38 ERROR [geoserver.ows] -
org.geoserver.wfs.WFSException: No such property: {http://www.opengis.net/wfs\}INVALID
at org.geoserver.wfs.UpdateElementHandler.checkValidity(UpdateElementHandler.java:110)
at org.geoserver.wfs.Transaction.execute(Transaction.java:225)
at org.geoserver.wfs.Transaction.transaction(Transaction.java:104)
at org.geoserver.wfs.DefaultWebFeatureService.transaction(DefaultWebFeatureService.java:157)
at sun.reflect.GeneratedMethodAccessor93.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:292)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:155)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:122)
at org.geoserver.ows.util.EMFLogger.invoke(EMFLogger.java:51)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:174)
at $Proxy6.transaction(Unknown Source)
at sun.reflect.GeneratedMethodAccessor92.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.geoserver.security.OperationSecurityInterceptor.invoke(OperationSecurityInterceptor.java:41)
at org.geoserver.ows.Dispatcher.execute(Dispatcher.java:495)
at org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:188)
at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:139)
at org.geoserver.test.GeoServerAbstractTestSupport.dispatch(GeoServerAbstractTestSupport.java:599)
at org.geoserver.test.GeoServerAbstractTestSupport.post(GeoServerAbstractTestSupport.java:318)
at org.geoserver.test.GeoServerAbstractTestSupport.postAsDOM(GeoServerAbstractTestSupport.java:419)
at org.geoserver.test.GeoServerAbstractTestSupport.postAsDOM(GeoServerAbstractTestSupport.java:402)
at org.geoserver.wfs.v1_1.TransactionTest.testUpdateWithInvalidProperty(TransactionTest.java:532)
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: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:334)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:980)
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.364 sec
Running org.geoserver.wfs.v1_1.GetFeatureWithLockTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.224 sec
Running org.geoserver.wfs.xml.GML3FeatureProducerTest
28 Jan 10:33:38 ERROR [geotools.data] - 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
28 Jan 10:33:38 ERROR [geotools.data] - Unclosed transaction handle is 'org.geoserver.wfs.LockFeature.lockFeature Transaction'
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.644 sec
Running org.geoserver.wfs.response.WfsXmlWriterTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.1 sec
Running org.geoserver.wfs.TransactionTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.796 sec
Running org.geoserver.wfs.xml.GMLOutputFormatTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.536 sec
Running org.geoserver.wfs.v1_1.WFSReprojectionTest
28 Jan 10:33:43 ERROR [geotools.data] - 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
28 Jan 10:33:43 ERROR [geotools.data] - Unclosed transaction handle is 'org.geoserver.wfs.LockFeature.lockFeature Transaction'
Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.116 sec
Running org.geoserver.wfs.ReprojectionTest
28 Jan 10:33:43 ERROR [geotools.data] - 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
28 Jan 10:33:43 ERROR [geotools.data] - Unclosed transaction handle is 'org.geoserver.wfs.LockFeature.lockFeature Transaction'
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.304 sec
Running org.geoserver.wfs.TransactionListenerTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.584 sec
Running org.geoserver.wfs.MaxFeaturesTest
Tests run: 6, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 0.6 sec <<< FAILURE!
Running org.geoserver.wfs.DescribeFeatureTest
28 Jan 10:33:46 ERROR [geoserver.ows] -
org.geoserver.wfs.WFSException: Could not find type: {http://www.opengis.net/cite/geometry\}DummyFeature
at org.geoserver.wfs.DescribeFeatureType.run(DescribeFeatureType.java:97)
at org.geoserver.wfs.DefaultWebFeatureService.describeFeatureType(DefaultWebFeatureService.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 org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:292)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:155)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:122)
at org.geoserver.ows.util.EMFLogger.invoke(EMFLogger.java:51)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:174)
at $Proxy6.describeFeatureType(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:585)
at org.geoserver.security.OperationSecurityInterceptor.invoke(OperationSecurityInterceptor.java:41)
at org.geoserver.ows.Dispatcher.execute(Dispatcher.java:495)
at org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:188)
at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:139)
at org.geoserver.test.GeoServerAbstractTestSupport.dispatch(GeoServerAbstractTestSupport.java:599)
at org.geoserver.test.GeoServerAbstractTestSupport.post(GeoServerAbstractTestSupport.java:318)
at org.geoserver.test.GeoServerAbstractTestSupport.postAsDOM(GeoServerAbstractTestSupport.java:419)
at org.geoserver.test.GeoServerAbstractTestSupport.postAsDOM(GeoServerAbstractTestSupport.java:402)
at org.geoserver.wfs.DescribeFeatureTest.testPostDummyFeature(DescribeFeatureTest.java:29)
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.GeneratedMethodAccessor95.invoke(Unknown Source)
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:334)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:980)
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.448 sec
Running org.geoserver.wfs.v1_1.DescribeFeatureTypeTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.38 sec
Running org.geoserver.wfs.xml.FeatureTypeInfoSchemaBuilderTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.104 sec
Running org.geoserver.wfs.v1_1.CapabilitiesTransformerTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.461 sec
Running org.geoserver.wfs.response.ShapeZipTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.18 sec
Running org.geoserver.wfs.GetCapabilitiesTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.436 sec
Results :
Failed tests:
testCombinedLocalMaxes(org.geoserver.wfs.MaxFeaturesTest)
testCombinedLocalMaxesBigger(org.geoserver.wfs.MaxFeaturesTest)
testCombinedLocalMaxesBiggerRequestOverride(org.geoserver.wfs.MaxFeaturesTest)
Tests run: 132, Failures: 3, Errors: 0, Skipped: 0
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] There are test failures.
Please refer to http://gridlock.openplans.org:8080/hudson/job/geoserver-trunk/ws/geoserver/wfs/target/surefire-reports for the individual test results.
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1 minute 56 seconds
[INFO] Finished at: Mon Jan 28 10:33:55 EST 2008
[INFO] Final Memory: 32M/63M
[INFO] ------------------------------------------------------------------------
Updating GEOS-1659