See <http://hudson.opengeo.org/hudson/job/geoserver-master/5522/changes>
Changes:
[David Winslow] Avoid unhandled exception in dimension handling
------------------------------------------
[...truncated 5508 lines...]
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 $Proxy25.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:597)
at org.geoserver.ows.Dispatcher.execute(Dispatcher.java:774)
at org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:272)
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:923)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:778)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.geoserver.test.GeoServerSystemTestSupport$2.service(GeoServerSystemTestSupport.java:1336)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at com.mockrunner.mock.web.MockFilterChain.doFilter(MockFilterChain.java:50)
at org.geoserver.test.GeoServerSystemTestSupport.dispatch(GeoServerSystemTestSupport.java:1355)
at org.geoserver.test.GeoServerSystemTestSupport.dispatch(GeoServerSystemTestSupport.java:1290)
at org.geoserver.test.GeoServerSystemTestSupport.getAsServletResponse(GeoServerSystemTestSupport.java:914)
at org.geoserver.test.GeoServerSystemTestSupport.getAsServletResponse(GeoServerSystemTestSupport.java:897)
at org.geoserver.test.GeoServerSystemTestSupport.get(GeoServerSystemTestSupport.java:882)
at org.geoserver.test.GeoServerSystemTestSupport.getAsDOM(GeoServerSystemTestSupport.java:1167)
at org.geoserver.test.GeoServerSystemTestSupport.getAsDOM(GeoServerSystemTestSupport.java:1131)
at org.geoserver.wfs.v2_0.DescribeFeatureTypeTest.testCiteCompliance(DescribeFeatureTypeTest.java:232)
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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)
at org.junit.rules.RunRules.evaluate(RunRules.java:18)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)
at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
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.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.202 sec
Running org.geoserver.wfs.v2_0.GetCapabilitiesTest
Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.419 sec
Running org.geoserver.wfs.v2_0.SrsNameTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.49 sec
Running org.geoserver.wfs.RetypingTransactionTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.851 sec
Running org.geoserver.wfs.response.ShapeZipTest
Tests run: 20, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.735 sec
Running org.geoserver.wfs.response.WfsXmlWriterTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.341 sec
Running org.geoserver.wfs.response.CSVOutputFormatTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.351 sec
Running org.geoserver.wfs.response.GeoJSONBuilderTest
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
Running org.geoserver.wfs.response.GeoJSONTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.622 sec
Running org.geoserver.wfs.SrsNameTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.455 sec
Results :
Tests run: 451, Failures: 0, Errors: 0, Skipped: 0
[INFO] [jar:jar {execution: default-jar}]
[INFO] Building jar: <http://hudson.opengeo.org/hudson/job/geoserver-master/ws/src/wfs/target/wfs-2.3-SNAPSHOT.jar>
[INFO] [jar:test-jar {execution: default}]
[INFO] Building jar: <http://hudson.opengeo.org/hudson/job/geoserver-master/ws/src/wfs/target/wfs-2.3-SNAPSHOT-tests.jar>
[INFO] Preparing source:jar
[WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
[INFO] [git-commit-id:revision {execution: default}]
[INFO] [GitCommitIdMojo] .git directory could not be found, skipping execution
[INFO] [source:jar {execution: attach-sources}]
[INFO] Building jar: <http://hudson.opengeo.org/hudson/job/geoserver-master/ws/src/wfs/target/wfs-2.3-SNAPSHOT-sources.jar>
[INFO] Preparing source:test-jar
[WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
[WARNING] Removing: test-jar from forked lifecycle, to prevent recursive invocation.
[INFO] [git-commit-id:revision {execution: default}]
[INFO] [GitCommitIdMojo] .git directory could not be found, skipping execution
[INFO] [source:test-jar {execution: attach-sources}]
[INFO] Building jar: <http://hudson.opengeo.org/hudson/job/geoserver-master/ws/src/wfs/target/wfs-2.3-SNAPSHOT-test-sources.jar>
[INFO] [install:install {execution: default-install}]
[INFO] Installing <http://hudson.opengeo.org/hudson/job/geoserver-master/ws/src/wfs/target/wfs-2.3-SNAPSHOT.jar> to /usr/share/jetty/.m2/repository/org/geoserver/wfs/2.3-SNAPSHOT/wfs-2.3-SNAPSHOT.jar
[INFO] Installing <http://hudson.opengeo.org/hudson/job/geoserver-master/ws/src/wfs/target/wfs-2.3-SNAPSHOT-tests.jar> to /usr/share/jetty/.m2/repository/org/geoserver/wfs/2.3-SNAPSHOT/wfs-2.3-SNAPSHOT-tests.jar
[INFO] Installing <http://hudson.opengeo.org/hudson/job/geoserver-master/ws/src/wfs/target/wfs-2.3-SNAPSHOT-sources.jar> to /usr/share/jetty/.m2/repository/org/geoserver/wfs/2.3-SNAPSHOT/wfs-2.3-SNAPSHOT-sources.jar
[INFO] Installing <http://hudson.opengeo.org/hudson/job/geoserver-master/ws/src/wfs/target/wfs-2.3-SNAPSHOT-test-sources.jar> to /usr/share/jetty/.m2/repository/org/geoserver/wfs/2.3-SNAPSHOT/wfs-2.3-SNAPSHOT-test-sources.jar
[INFO] ------------------------------------------------------------------------
[INFO] Building Web Coverage Service Module
[INFO] task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting directory <http://hudson.opengeo.org/hudson/job/geoserver-master/ws/src/wcs/target>
[INFO] [cobertura:clean {execution: default}]
[INFO] [git-commit-id:revision {execution: default}]
[INFO] [GitCommitIdMojo] Running on '<http://hudson.opengeo.org/hudson/job/geoserver-master/ws/.git’> repository...
[INFO] [GitCommitIdMojo] Initializing properties...
[INFO] [GitCommitIdMojo] Using maven project properties...
[INFO] [GitCommitIdMojo] Loading data from git repository...
[INFO] [GitCommitIdMojo] ------------------git properties loaded------------------
[INFO] [GitCommitIdMojo] build.branch = 11bf6d5d3e702ddd03f85db901e051e887dc0e1a
[INFO] [GitCommitIdMojo] build.commit.id = 11bf6d5d3e702ddd03f85db901e051e887dc0e1a
[INFO] [GitCommitIdMojo] build.build.user.name = Unknown
[INFO] [GitCommitIdMojo] build.commit.message.short = Avoid unhandled exception in dimension handling
[INFO] [GitCommitIdMojo] build.commit.time = 19.10.2012 @ 13:49:47 UTC
[INFO] [GitCommitIdMojo] build.commit.id.abbrev = 11bf6d5
[INFO] [GitCommitIdMojo] build.commit.message.full = Avoid unhandled exception in dimension handling
In particular, making a request with TIME=CURRENT would prompt GeoServer
to try to evaluate the maximum time of an empty layer. The fix is
simple - just check whether the MaxVisitor has a result before asking it
for one. A similar fix is applied for finding the minimum elevation of
an elevation-enabled layer.
[INFO] [GitCommitIdMojo] build.commit.user.email = dwinslow@anonymised.com
[INFO] [GitCommitIdMojo] build.commit.user.name = David Winslow
[INFO] [GitCommitIdMojo] build.build.user.email = Unknown
[INFO] [GitCommitIdMojo] build.timestamp = 19-Oct-2012 15:11
[INFO] [GitCommitIdMojo] build.hudsonId = -1
[INFO] [GitCommitIdMojo] build.build.time = 19.10.2012 @ 15:15:35 UTC
[INFO] [GitCommitIdMojo] ---------------------------------------------------------
[INFO] [GitCommitIdMojo] Finished running.
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 3 resources
[INFO] skip non existing resourceDirectory <http://hudson.opengeo.org/hudson/job/geoserver-master/ws/src/wcs/src/main/resources>
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 14 source files to <http://hudson.opengeo.org/hudson/job/geoserver-master/ws/src/wcs/target/classes>
[INFO] [resources:testResources {execution: default-testResources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory <http://hudson.opengeo.org/hudson/job/geoserver-master/ws/src/wcs/src/test/java>
[INFO] skip non existing resourceDirectory <http://hudson.opengeo.org/hudson/job/geoserver-master/ws/src/wcs/src/test/resources>
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] No sources to compile
[INFO] [surefire:test {execution: default-test}]
[INFO] No tests to run.
[INFO] [jar:jar {execution: default-jar}]
[INFO] Building jar: <http://hudson.opengeo.org/hudson/job/geoserver-master/ws/src/wcs/target/wcs-2.3-SNAPSHOT.jar>
[INFO] [jar:test-jar {execution: default}]
[WARNING] JAR will be empty - no content was marked for inclusion!
[INFO] Building jar: <http://hudson.opengeo.org/hudson/job/geoserver-master/ws/src/wcs/target/wcs-2.3-SNAPSHOT-tests.jar>
[INFO] Preparing source:jar
[WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
[INFO] [git-commit-id:revision {execution: default}]
[INFO] [GitCommitIdMojo] .git directory could not be found, skipping execution
[INFO] [source:jar {execution: attach-sources}]
[INFO] Building jar: <http://hudson.opengeo.org/hudson/job/geoserver-master/ws/src/wcs/target/wcs-2.3-SNAPSHOT-sources.jar>
[INFO] Preparing source:test-jar
[WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
[WARNING] Removing: test-jar from forked lifecycle, to prevent recursive invocation.
[INFO] [git-commit-id:revision {execution: default}]
[INFO] [GitCommitIdMojo] .git directory could not be found, skipping execution
[INFO] [source:test-jar {execution: attach-sources}]
[INFO] Building jar: <http://hudson.opengeo.org/hudson/job/geoserver-master/ws/src/wcs/target/wcs-2.3-SNAPSHOT-test-sources.jar>
[INFO] [install:install {execution: default-install}]
[INFO] Installing <http://hudson.opengeo.org/hudson/job/geoserver-master/ws/src/wcs/target/wcs-2.3-SNAPSHOT.jar> to /usr/share/jetty/.m2/repository/org/geoserver/wcs/2.3-SNAPSHOT/wcs-2.3-SNAPSHOT.jar
[INFO] Installing <http://hudson.opengeo.org/hudson/job/geoserver-master/ws/src/wcs/target/wcs-2.3-SNAPSHOT-tests.jar> to /usr/share/jetty/.m2/repository/org/geoserver/wcs/2.3-SNAPSHOT/wcs-2.3-SNAPSHOT-tests.jar
[INFO] Installing <http://hudson.opengeo.org/hudson/job/geoserver-master/ws/src/wcs/target/wcs-2.3-SNAPSHOT-sources.jar> to /usr/share/jetty/.m2/repository/org/geoserver/wcs/2.3-SNAPSHOT/wcs-2.3-SNAPSHOT-sources.jar
[INFO] Installing <http://hudson.opengeo.org/hudson/job/geoserver-master/ws/src/wcs/target/wcs-2.3-SNAPSHOT-test-sources.jar> to /usr/share/jetty/.m2/repository/org/geoserver/wcs/2.3-SNAPSHOT/wcs-2.3-SNAPSHOT-test-sources.jar
[INFO] ------------------------------------------------------------------------
[INFO] Building Web Map Service Module
[INFO] task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting directory <http://hudson.opengeo.org/hudson/job/geoserver-master/ws/src/wms/target>
[INFO] [cobertura:clean {execution: default}]
[INFO] [git-commit-id:revision {execution: default}]
[INFO] [GitCommitIdMojo] Running on '<http://hudson.opengeo.org/hudson/job/geoserver-master/ws/.git’> repository...
[INFO] [GitCommitIdMojo] Initializing properties...
[INFO] [GitCommitIdMojo] Using maven project properties...
[INFO] [GitCommitIdMojo] Loading data from git repository...
[INFO] [GitCommitIdMojo] ------------------git properties loaded------------------
[INFO] [GitCommitIdMojo] build.branch = 11bf6d5d3e702ddd03f85db901e051e887dc0e1a
[INFO] [GitCommitIdMojo] build.commit.id = 11bf6d5d3e702ddd03f85db901e051e887dc0e1a
[INFO] [GitCommitIdMojo] build.build.user.name = Unknown
[INFO] [GitCommitIdMojo] build.commit.message.short = Avoid unhandled exception in dimension handling
[INFO] [GitCommitIdMojo] build.commit.time = 19.10.2012 @ 13:49:47 UTC
[INFO] [GitCommitIdMojo] build.commit.id.abbrev = 11bf6d5
[INFO] [GitCommitIdMojo] build.commit.message.full = Avoid unhandled exception in dimension handling
In particular, making a request with TIME=CURRENT would prompt GeoServer
to try to evaluate the maximum time of an empty layer. The fix is
simple - just check whether the MaxVisitor has a result before asking it
for one. A similar fix is applied for finding the minimum elevation of
an elevation-enabled layer.
[INFO] [GitCommitIdMojo] build.commit.user.email = dwinslow@anonymised.com
[INFO] [GitCommitIdMojo] build.commit.user.name = David Winslow
[INFO] [GitCommitIdMojo] build.build.user.email = Unknown
[INFO] [GitCommitIdMojo] build.timestamp = 19-Oct-2012 15:11
[INFO] [GitCommitIdMojo] build.hudsonId = -1
[INFO] [GitCommitIdMojo] build.build.time = 19.10.2012 @ 15:15:37 UTC
[INFO] [GitCommitIdMojo] ---------------------------------------------------------
[INFO] [GitCommitIdMojo] Finished running.
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 64 resources
[INFO] snapshot org.geotools:gt-svg:9-SNAPSHOT: checking for updates from opengeo
[INFO] snapshot org.geotools:gt-svg:9-SNAPSHOT: checking for updates from osgeo
[INFO] snapshot org.geotools:gt-shapefile-renderer:9-SNAPSHOT: checking for updates from opengeo
[INFO] snapshot org.geotools:gt-shapefile-renderer:9-SNAPSHOT: checking for updates from osgeo
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 191 source files to <http://hudson.opengeo.org/hudson/job/geoserver-master/ws/src/wms/target/classes>
[INFO] [resources:testResources {execution: default-testResources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 60 resources
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] Compiling 81 source files to <http://hudson.opengeo.org/hudson/job/geoserver-master/ws/src/wms/target/test-classes>
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure
<http://hudson.opengeo.org/hudson/job/geoserver-master/ws/src/wms/src/test/java/org/geoserver/wms/wms_1_1_1/DimensionsVectorGetMapTest.java>:\[162,8\] cannot find symbol
symbol : method setupVectorDimension(java.lang.String,java.lang.String,java.lang.String,org.geoserver.catalog.DimensionPresentation,<nulltype>)
location: class org.geoserver.wms.wms_1_1_1.DimensionsVectorGetMapTest
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4 minutes 19 seconds
[INFO] Finished at: Fri Oct 19 15:15:48 UTC 2012
[INFO] Final Memory: 60M/386M
[INFO] ------------------------------------------------------------------------
--
This message is automatically generated by Hudson.
For more information on Hudson, see: http://hudson-ci.org/