[Geoserver-devel] [Hudson] Build failed in Hudson: geoserver-master #5462

See <http://hudson.opengeo.org/hudson/job/geoserver-master/5462/changes&gt;

Changes:

[alessio] - CSW: getDomain.propertyName

------------------------------------------
[...truncated 84665 lines...]
    </ows:Exception>
</ows:ExceptionReport>

16 Sep 19:16:48 ERROR [geoserver.ows] -
java.lang.ClassCastException: java.lang.String cannot be cast to java.util.List
  at org.geoserver.wfs.kvp.GetFeatureKvpRequestReader.read(GetFeatureKvpRequestReader.java:265)
  at org.geoserver.ows.Dispatcher.parseRequestKVP(Dispatcher.java:1412)
  at org.geoserver.ows.Dispatcher.dispatch(Dispatcher.java:622)
  at org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:263)
  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.GeoServerAbstractTestSupport$3.service(GeoServerAbstractTestSupport.java:1236)
  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:1255)
  at org.geoserver.test.GeoServerAbstractTestSupport.dispatch(GeoServerAbstractTestSupport.java:1190)
  at org.geoserver.test.GeoServerAbstractTestSupport.getAsServletResponse(GeoServerAbstractTestSupport.java:606)
  at org.geoserver.test.GeoServerAbstractTestSupport.getAsServletResponse(GeoServerAbstractTestSupport.java:589)
  at org.geoserver.test.GeoServerAbstractTestSupport.get(GeoServerAbstractTestSupport.java:574)
  at org.geoserver.test.AbstractAppSchemaWfsTestSupport.get(AbstractAppSchemaWfsTestSupport.java:185)
  at org.geoserver.test.GeoServerAbstractTestSupport.getAsDOM(GeoServerAbstractTestSupport.java:859)
  at org.geoserver.test.GeoServerAbstractTestSupport.getAsDOM(GeoServerAbstractTestSupport.java:823)
  at org.geoserver.test.AbstractAppSchemaWfsTestSupport.getAsDOM(AbstractAppSchemaWfsTestSupport.java:211)
  at org.geoserver.test.PropertySelectionTest.testSameNameDiffNamespace2(PropertySelectionTest.java:205)
  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:147)
  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.GeneratedMethodAccessor185.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)
Sep 16, 2012 7:16:48 PM org.geoserver.test.PropertySelectionTest testSameNameDiffNamespace2
INFO: wfs?request=GetFeature&typeName=ex:MyTestFeature&propertyname=gml:name response:
<?xml version="1.0" encoding="UTF-8"?>
<ows:ExceptionReport version="1.0.0" xmlns:ows="http://www.opengis.net/ows&quot; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance&quot; xsi:schemaLocation="http://www.opengis.net/ows http://localhost:8080/geoserver/schemas/ows/1.0.0/owsExceptionReport.xsd&quot;&gt;
    <ows:Exception exceptionCode="NoApplicableCode">
        <ows:ExceptionText>java.lang.ClassCastException: java.lang.String cannot be cast to java.util.List
java.lang.String cannot be cast to java.util.List</ows:ExceptionText>
    </ows:Exception>
</ows:ExceptionReport>

Sep 16, 2012 7:16:48 PM org.geoserver.test.PropertySelectionTest testSameNameDiffNamespace3
INFO: WFS GetFeature response:
<?xml version="1.0" encoding="UTF-8"?>
<wfs:FeatureCollection numberMatched="unknown" numberReturned="2" timeStamp="2012-09-16T19:16:48.982Z" xmlns:cv="http://www.opengis.net/cv/0.2.1&quot; xmlns:ex="http://example.com"
    xmlns:gml="http://www.opengis.net/gml&quot; xmlns:gsml="urn:cgi:xmlns:CGI:GeoSciML:2.0" xmlns:om="http://www.opengis.net/om/1.0&quot; xmlns:sa="http://www.opengis.net/sampling/1.0&quot;
    xmlns:sml="http://www.opengis.net/sensorML/1.0.1&quot; xmlns:swe="http://www.opengis.net/swe/1.0.1&quot; xmlns:wfs="http://www.opengis.net/wfs/2.0&quot; xmlns:xlink="http://www.w3.org/1999/xlink&quot;
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance&quot; xsi:schemaLocation="http://www.opengis.net/gml/3.2 http://schemas.opengis.net/gml/3.2.1/gml.xsd http://www.opengis.net/wfs/2.0 http://schemas.opengis.net/wfs/2.0/wfs.xsd http://example.com <http://hudson.opengeo.org/hudson/job/geoserver-master/ws/src/extension/app-schema/app-schema-test/target/app-schema-mock6662891600454753149data/featureTypes/ex_MyTestFeature/SameNameDiffNamespace.xsd&quot;&gt;&gt;
    <wfs:member>
        <ex:MyTestFeature id="f1">
            <gml:name>Feature 1</gml:name>
            <ex:name>First Feature</ex:name>
        </ex:MyTestFeature>
    </wfs:member>
    <wfs:member>
        <ex:MyTestFeature id="f2">
            <gml:name>Feature 2</gml:name>
            <ex:name>Second Feature</ex:name>
        </ex:MyTestFeature>
    </wfs:member>
</wfs:FeatureCollection>

Tests run: 8, Failures: 6, Errors: 0, Skipped: 0, Time elapsed: 1.818 sec <<< FAILURE!
Running org.geoserver.test.IdNotEncodedTest
16 Sep 19:16:49 ERROR [geoserver.global] -
----------------------------------
- GEOSERVER_DATA_DIR: <http://hudson.opengeo.org/hudson/job/geoserver-master/ws/src/extension/app-schema/app-schema-test/target/app-schema-mock703350294229333432data&gt;
----------------------------------
Sep 16, 2012 7:16:51 PM org.geoserver.test.IdNotEncodedTest testGetFeature
INFO: WFS GetFeature response:
<?xml version="1.0" encoding="UTF-8"?>
<wfs:FeatureCollection numberOfFeatures="4" timeStamp="2012-09-16T19:16:50.979Z" xmlns:cv="http://www.opengis.net/cv/0.2.1&quot; xmlns:gml="http://www.opengis.net/gml&quot;
    xmlns:gsml="urn:cgi:xmlns:CGI:GeoSciML:2.0" xmlns:gwml="http://www.nrcan.gc.ca/xml/gwml/1&quot; xmlns:ogc="http://www.opengis.net/ogc&quot; xmlns:om="http://www.opengis.net/om/1.0&quot;
    xmlns:ows="http://www.opengis.net/ows&quot; xmlns:sa="http://www.opengis.net/sampling/1.0&quot; xmlns:sml="http://www.opengis.net/sensorML/1.0.1&quot; xmlns:swe="http://www.opengis.net/swe/1.0.1&quot;
    xmlns:wfs="http://www.opengis.net/wfs&quot; xmlns:xlink="http://www.w3.org/1999/xlink&quot; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance&quot; xsi:schemaLocation="http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.xsd http://www.nrcan.gc.ca/xml/gwml/1 <http://hudson.opengeo.org/hudson/job/geoserver-master/ws/src/extension/app-schema/app-schema-test/target/app-schema-mock703350294229333432data/featureTypes/gsml_MappedInterval/HydrogeologicUnit.xsd&quot;&gt;&gt;
    <gml:featureMember>
        <gsml:MappedInterval gml:id="123">
            <gml:description>aquifer</gml:description>
            <gml:name codeSpace="borehole.codespace1">mappedinterval.uri.123</gml:name>
            <gsml:observationMethod>
                <gsml:CGI_TermValue>
                    <gsml:value codeSpace="borehole.codespace1">http://www.opengis.net/def/nil/OGC/0/unknown&lt;/gsml:value&gt;
                </gsml:CGI_TermValue>
            </gsml:observationMethod>
            <gsml:positionalAccuracy>
                <gsml:CGI_TermValue>
                    <gsml:value codeSpace="borehole.codespace1">http://www.opengis.net/def/nil/OGC/0/unknown&lt;/gsml:value&gt;
                </gsml:CGI_TermValue>
            </gsml:positionalAccuracy>
            <gsml:specification>
                <gwml:HydrostratigraphicUnit gml:id="ubspatial.hydrostratigraphicunit.123">
                    <gml:description> blah</gml:description>
                    <gml:name codeSpace="borehole.codespace1">http://maps.ubspatial.com.au/resource/hydrostratigraphicunit/hydrostratigraphicunit.123&lt;/gml:name&gt;
                    <gsml:observationMethod>
                        <gsml:CGI_TermValue>
                            <gsml:value codeSpace="borehole.codespace1">http://www.opengis.net/def/nil/OGC/0/unknown&lt;/gsml:value&gt;
                        </gsml:CGI_TermValue>
                    </gsml:observationMethod>
                    <gsml:purpose>instance</gsml:purpose>
                    <gsml:occurrence xlink:href="#123"/>
                </gwml:HydrostratigraphicUnit>
            </gsml:specification>
        </gsml:MappedInterval>
    </gml:featureMember>
    <gml:featureMember>
        <gsml:MappedInterval gml:id="456">
            <gml:description>aquifer</gml:description>
            <gml:name codeSpace="borehole.codespace1">mappedinterval.uri.456</gml:name>
            <gsml:observationMethod>
                <gsml:CGI_TermValue>
                    <gsml:value codeSpace="borehole.codespace1">http://www.opengis.net/def/nil/OGC/0/unknown&lt;/gsml:value&gt;
                </gsml:CGI_TermValue>
            </gsml:observationMethod>
            <gsml:positionalAccuracy>
                <gsml:CGI_TermValue>
                    <gsml:value codeSpace="borehole.codespace1">http://www.opengis.net/def/nil/OGC/0/unknown&lt;/gsml:value&gt;
                </gsml:CGI_TermValue>
            </gsml:positionalAccuracy>
            <gsml:specification>
                <gwml:HydrostratigraphicUnit gml:id="ubspatial.hydrostratigraphicunit.456">
                    <gml:description> blah blah</gml:description>
                    <gml:name codeSpace="borehole.codespace1">http://maps.ubspatial.com.au/resource/hydrostratigraphicunit/hydrostratigraphicunit.456&lt;/gml:name&gt;
                    <gsml:observationMethod>
                        <gsml:CGI_TermValue>
                            <gsml:value codeSpace="borehole.codespace1">http://www.opengis.net/def/nil/OGC/0/unknown&lt;/gsml:value&gt;
                        </gsml:CGI_TermValue>
                    </gsml:observationMethod>
                    <gsml:purpose>instance</gsml:purpose>
                    <gsml:occurrence xlink:href="#456"/>
                </gwml:HydrostratigraphicUnit>
            </gsml:specification>
        </gsml:MappedInterval>
    </gml:featureMember>
    <gml:featureMember>
        <gsml:MappedInterval gml:id="789">
            <gml:description>lithology</gml:description>
            <gml:name codeSpace="borehole.codespace1">mappedinterval.uri.789</gml:name>
            <gsml:observationMethod>
                <gsml:CGI_TermValue>
                    <gsml:value codeSpace="borehole.codespace1">http://www.opengis.net/def/nil/OGC/0/unknown&lt;/gsml:value&gt;
                </gsml:CGI_TermValue>
            </gsml:observationMethod>
            <gsml:positionalAccuracy>
                <gsml:CGI_TermValue>
                    <gsml:value codeSpace="borehole.codespace1">http://www.opengis.net/def/nil/OGC/0/unknown&lt;/gsml:value&gt;
                </gsml:CGI_TermValue>
            </gsml:positionalAccuracy>
            <gsml:specification>
                <gwml:HydrostratigraphicUnit gml:id="ubspatial.hydrostratigraphicunit.789">
                    <gml:description> bleh</gml:description>
                    <gml:name codeSpace="borehole.codespace1">http://maps.ubspatial.com.au/resource/hydrostratigraphicunit/hydrostratigraphicunit.789&lt;/gml:name&gt;
                    <gsml:observationMethod>
                        <gsml:CGI_TermValue>
                            <gsml:value codeSpace="borehole.codespace1">http://www.opengis.net/def/nil/OGC/0/unknown&lt;/gsml:value&gt;
                        </gsml:CGI_TermValue>
                    </gsml:observationMethod>
                    <gsml:purpose>instance</gsml:purpose>
                    <gsml:occurrence xlink:href="#789"/>
                </gwml:HydrostratigraphicUnit>
            </gsml:specification>
        </gsml:MappedInterval>
    </gml:featureMember>
    <gml:featureMember>
        <gsml:MappedInterval gml:id="012">
            <gml:description>lithology</gml:description>
            <gml:name codeSpace="borehole.codespace1">mappedinterval.uri.012</gml:name>
            <gsml:observationMethod>
                <gsml:CGI_TermValue>
                    <gsml:value codeSpace="borehole.codespace1">http://www.opengis.net/def/nil/OGC/0/unknown&lt;/gsml:value&gt;
                </gsml:CGI_TermValue>
            </gsml:observationMethod>
            <gsml:positionalAccuracy>
                <gsml:CGI_TermValue>
                    <gsml:value codeSpace="borehole.codespace1">http://www.opengis.net/def/nil/OGC/0/unknown&lt;/gsml:value&gt;
                </gsml:CGI_TermValue>
            </gsml:positionalAccuracy>
            <gsml:specification>
                <gwml:HydrostratigraphicUnit gml:id="ubspatial.hydrostratigraphicunit.012">
                    <gml:description> bleh bleh</gml:description>
                    <gml:name codeSpace="borehole.codespace1">http://maps.ubspatial.com.au/resource/hydrostratigraphicunit/hydrostratigraphicunit.012&lt;/gml:name&gt;
                    <gsml:observationMethod>
                        <gsml:CGI_TermValue>
                            <gsml:value codeSpace="borehole.codespace1">http://www.opengis.net/def/nil/OGC/0/unknown&lt;/gsml:value&gt;
                        </gsml:CGI_TermValue>
                    </gsml:observationMethod>
                    <gsml:purpose>instance</gsml:purpose>
                    <gsml:occurrence xlink:href="#012"/>
                </gwml:HydrostratigraphicUnit>
            </gsml:specification>
        </gsml:MappedInterval>
    </gml:featureMember>
</wfs:FeatureCollection>

Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.025 sec

Results :

Failed tests:
  testGetFeature(org.geoserver.test.PropertySelectionTest)
  testGetFeatureFeatureChaining(org.geoserver.test.PropertySelectionTest)
  testGetFeatureClientProperty(org.geoserver.test.PropertySelectionTest)
  testGetFeatureInvalidName(org.geoserver.test.PropertySelectionTest)
  testSameNameDiffNamespace1(org.geoserver.test.PropertySelectionTest)
  testSameNameDiffNamespace2(org.geoserver.test.PropertySelectionTest)

Tests run: 118, Failures: 6, Errors: 0, Skipped: 0

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

Please refer to <http://hudson.opengeo.org/hudson/job/geoserver-master/ws/src/extension/app-schema/app-schema-test/target/surefire-reports&gt; for the individual test results.
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 29 minutes 14 seconds
[INFO] Finished at: Sun Sep 16 19:16:51 UTC 2012
[INFO] Final Memory: 67M/282M
[INFO] ------------------------------------------------------------------------

--
This message is automatically generated by Hudson.
For more information on Hudson, see: http://hudson-ci.org/