Hmmm I did make the (roll-back) changes to both geoserver and geotools
right after each other, but this build still uses the new geoserver
revision with the old geotools revision. The problem should be resolved
with next build.
On 20/10/10 11:51, Hudson wrote:
See<http://hudson.opengeo.org/hudson/job/geoserver-2.0.x/705/changes>
Changes:
[NielsCharlier] Reverse back to revision 14992
------------------------------------------
[...truncated 24990 lines...]
</gsml:shape>
</gsml:MappedFeature>
</gml:featureMember>
<gml:featureMember>
<gsml:MappedFeature gml:id="gsml.mappedfeature.mf3">
<gsml:shape>
<gml:Point srsDimension="2"
srsName="urn:x-ogc:def:crs:EPSG:4326">
<gml:pos>-12.1883 96.8339</gml:pos>
</gml:Point>
</gsml:shape>
</gsml:MappedFeature>
</gml:featureMember>
<gml:featureMember>
<gsml:MappedFeature gml:id="gsml.mappedfeature.mf4">
<gsml:shape>
<gml:Point srsDimension="2"
srsName="urn:x-ogc:def:crs:EPSG:4326">
<gml:pos>-34.9502 117.8102</gml:pos>
</gml:Point>
</gsml:shape>
</gsml:MappedFeature>
</gml:featureMember>
</wfs:FeatureCollection>
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.328 sec
Running org.geoserver.test.PropertyEncodingOrderTest
Oct 20, 2010 3:51:58 AM org.geoserver.test.PropertyEncodingOrderTest
testPropertyEncodingOrder_Borehole
INFO: WFS GetFeature&gsml:Borehole:
<?xml version="1.0" encoding="UTF-8"?>
<wfs:FeatureCollection numberOfFeatures="1" timeStamp="2010-10-20T03:51:58.572Z"
xmlns:cv="http://www.opengis.net/cv/0.2.1" xmlns:er="urn:cgi:xmlns:GGIC:EarthResource:1.1"
xmlns:gml="http://www.opengis.net/gml" xmlns:gsml="urn:cgi:xmlns:CGI:GeoSciML:2.0"
xmlns:ogc="http://www.opengis.net/ogc" xmlns:om="http://www.opengis.net/om/1.0"
xmlns:ows="http://www.opengis.net/ows" xmlns:sa="http://www.opengis.net/sampling/1.0"
xmlns:sml="http://www.opengis.net/sensorML/1.0.1" xmlns:swe="http://www.opengis.net/swe/1.0.1"
xmlns:wfs="http://www.opengis.net/wfs" xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:cgi:xmlns:CGI:GeoSciML:2.0
http://www.geosciml.org/geosciml/2.0/xsd/geosciml.xsd http://www.opengis.net/wfs
http://schemas.opengis.net/wfs/1.1.0/wfs.xsd">
<gml:featureMember>
<gsml:Borehole gml:id="BOREHOLE.WTB5">
<gml:name>WTB5 TEST</gml:name>
<sa:sampledFeature xlink:href="http://www.opengis.net/def/nil/OGC/0/unknown"
xlink:role="http://www.geosciml.org/geosciml/2.0/doc/GeoSciML/GeologicUnit/GeologicUnit.html"
xlink:title="unknown"/>
<sa:shape>
<gml:LineString>
<gml:posList>-28.4139 121.142 -28.4139
121.142</gml:posList>
</gml:LineString>
</sa:shape>
<gsml:collarLocation>
<gsml:BoreholeCollar gml:id="BOREHOLE.COLLAR.WTB5">
<gsml:location>
<gml:Point>
<gml:pos>-28.4139 121.142</gml:pos>
</gml:Point>
</gsml:location>
<gsml:elevation axisLabels="Gravity-related height" srsDimension="1"
srsName="http://www.opengis.net/gml/srs/epsg.xml#5711" uomLabels="m">1.0</gsml:elevation>
</gsml:BoreholeCollar>
</gsml:collarLocation>
<gsml:indexData>
<gsml:BoreholeDetails>
<gsml:operator xlink:href="http://www.opengis.net/def/nil/OGC/0/unknown"
xlink:role="http://www.geosciml.org/geosciml/2.0/doc/GeoSciML/Borehole/BoreholeDetails.html#operator"
xlink:title="GSWA"/>
<gsml:dateOfDrilling>2004-09-17</gsml:dateOfDrilling>
<gsml:drillingMethod>diamond core</gsml:drillingMethod>
<gsml:startPoint>natural ground surface</gsml:startPoint>
<gsml:inclinationType>vertical</gsml:inclinationType>
<gsml:coredInterval>
<gml:Envelope axisLabels="core envelope" srsDimension="1"
srsName="#BOREHOLE.WTB5.LINESTRING" uomLabels="m">
<gml:lowerCorner>106.0</gml:lowerCorner>
<gml:upperCorner>249.0</gml:upperCorner>
</gml:Envelope>
</gsml:coredInterval>
<gsml:coreCustodian
xlink:href="http://www.opengis.net/def/nil/OGC/0/unknown"
xlink:role="http://www.geosciml.org/geosciml/2.0/doc/GeoSciML/Borehole/BoreholeDetails.html#coreCustodian"
xlink:title="CSIRONR"/>
</gsml:BoreholeDetails>
</gsml:indexData>
</gsml:Borehole>
</gml:featureMember>
</wfs:FeatureCollection>
20 Oct 03:51:58 ERROR [geoserver.ows] -
java.lang.RuntimeException: Error applying mapping with targetAttribute
er:planarOrientation
at
org.geotools.data.complex.DataAccessMappingFeatureIterator.computeNext(DataAccessMappingFeatureIterator.java:722)
at
org.geotools.data.complex.AbstractMappingFeatureIterator.next(AbstractMappingFeatureIterator.java:188)
at
org.geotools.data.complex.MappingFeatureCollection.size(MappingFeatureCollection.java:300)
at org.geoserver.wfs.GetFeature.run(GetFeature.java:371)
at
org.geoserver.wfs.DefaultWebFeatureService.getFeature(DefaultWebFeatureService.java:115)
at sun.reflect.GeneratedMethodAccessor88.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:592)
at
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at org.geoserver.ows.util.EMFLogger.invoke(EMFLogger.java:51)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy10.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:592)
at org.geoserver.ows.Dispatcher.execute(Dispatcher.java:599)
at
org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:230)
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$3.service(GeoServerAbstractTestSupport.java:1095)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
com.mockrunner.mock.web.MockFilterChain.doFilter(MockFilterChain.java:50)
at
org.geoserver.test.GeoServerAbstractTestSupport.dispatch(GeoServerAbstractTestSupport.java:1114)
at
org.geoserver.test.GeoServerAbstractTestSupport.dispatch(GeoServerAbstractTestSupport.java:1055)
at
org.geoserver.test.GeoServerAbstractTestSupport.getAsServletResponse(GeoServerAbstractTestSupport.java:474)
at
org.geoserver.test.GeoServerAbstractTestSupport.get(GeoServerAbstractTestSupport.java:455)
at
org.geoserver.test.AbstractAppSchemaWfsTestSupport.get(AbstractAppSchemaWfsTestSupport.java:147)
at
org.geoserver.test.GeoServerAbstractTestSupport.getAsDOM(GeoServerAbstractTestSupport.java:729)
at
org.geoserver.test.GeoServerAbstractTestSupport.getAsDOM(GeoServerAbstractTestSupport.java:691)
at
org.geoserver.test.AbstractAppSchemaWfsTestSupport.getAsDOM(AbstractAppSchemaWfsTestSupport.java:165)
at
org.geoserver.test.PropertyEncodingOrderTest.testPropertyEncodingOrder_PlanarOrientation(PropertyEncodingOrderTest.java:124)
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:592)
at junit.framework.TestCase.runTest(TestCase.java:164)
at
org.geoserver.test.GeoServerAbstractTestSupport.runTest(GeoServerAbstractTestSupport.java:130)
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:592)
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:592)
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: Error applying mapping with
targetAttribute gsml:dip
at
org.geotools.data.complex.DataAccessMappingFeatureIterator.computeNext(DataAccessMappingFeatureIterator.java:722)
at
org.geotools.data.complex.AbstractMappingFeatureIterator.next(AbstractMappingFeatureIterator.java:188)
at
org.geotools.data.complex.NestedAttributeMapping.getFeatures(NestedAttributeMapping.java:284)
at
org.geotools.data.complex.DataAccessMappingFeatureIterator.setAttributeValue(DataAccessMappingFeatureIterator.java:354)
at
org.geotools.data.complex.DataAccessMappingFeatureIterator.computeNext(DataAccessMappingFeatureIterator.java:716)
... 70 more
Caused by: java.lang.IllegalArgumentException: Filter Function problem for
function if_then_else argument #0 - expected type boolean
at
org.geotools.filter.function.FilterFunction_if_then_else.evaluate(FilterFunction_if_then_else.java:45)
at
org.geotools.data.complex.NestedAttributeMapping.getNestedFeatureType(NestedAttributeMapping.java:315)
at
org.geotools.data.complex.DataAccessMappingFeatureIterator.setAttributeValue(DataAccessMappingFeatureIterator.java:299)
at
org.geotools.data.complex.DataAccessMappingFeatureIterator.computeNext(DataAccessMappingFeatureIterator.java:719)
... 74 more
Oct 20, 2010 3:51:58 AM org.geoserver.test.PropertyEncodingOrderTest
testPropertyEncodingOrder_PlanarOrientation
INFO: WFS GetFeature&er:MineralOccurrence:
<?xml version="1.0" encoding="UTF-8"?>
<ows:ExceptionReport version="1.0.0" xmlns:ows="http://www.opengis.net/ows"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/ows
http://localhost:8080/geoserver/schemas/ows/1.0.0/owsExceptionReport.xsd">
<ows:Exception exceptionCode="NoApplicableCode">
<ows:ExceptionText>java.lang.RuntimeException: Error applying mapping
with targetAttribute er:planarOrientation
Error applying mapping with targetAttribute er:planarOrientation
Error applying mapping with targetAttribute gsml:dip
Filter Function problem for function if_then_else argument #0 - expected type
boolean</ows:ExceptionText>
</ows:Exception>
</ows:ExceptionReport>
Oct 20, 2010 3:51:58 AM org.geoserver.test.PropertyEncodingOrderTest
testPropertyEncodingOrder_GeologicUnit
INFO: WFS GetFeature&typename=gsml:GeologicUnit&featureid=gu.25699:
<?xml version="1.0" encoding="UTF-8"?>
<wfs:FeatureCollection numberOfFeatures="1" timeStamp="2010-10-20T03:51:58.871Z"
xmlns:cv="http://www.opengis.net/cv/0.2.1" xmlns:er="urn:cgi:xmlns:GGIC:EarthResource:1.1"
xmlns:gml="http://www.opengis.net/gml" xmlns:gsml="urn:cgi:xmlns:CGI:GeoSciML:2.0"
xmlns:ogc="http://www.opengis.net/ogc" xmlns:om="http://www.opengis.net/om/1.0"
xmlns:ows="http://www.opengis.net/ows" xmlns:sa="http://www.opengis.net/sampling/1.0"
xmlns:sml="http://www.opengis.net/sensorML/1.0.1" xmlns:swe="http://www.opengis.net/swe/1.0.1"
xmlns:wfs="http://www.opengis.net/wfs" xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:cgi:xmlns:CGI:GeoSciML:2.0
http://www.geosciml.org/geosciml/2.0/xsd/geosciml.xsd http://www.opengis.net/wfs
http://schemas.opengis.net/wfs/1.1.0/wfs.xsd">
<gml:featureMember>
<gsml:GeologicUnit gml:id="gu.25699">
<gml:description>Olivine basalt, tuff, microgabbro, minor sedimentary
rocks</gml:description>
<gml:name codeSpace="urn:ietf:rfc:2141">Yaugher Volcanic
Group</gml:name>
<gml:name>-Py</gml:name>
<gsml:observationMethod>
<gsml:CGI_TermValue>
<gsml:value
codeSpace="http://urn.opengis.net">urn:ogc:def:nil:OGC::missing</gsml:value>
</gsml:CGI_TermValue>
</gsml:observationMethod>
<gsml:purpose>instance</gsml:purpose>
<gsml:occurrence xlink:href="urn:cgi:feature:MappedFeature:mf1"/>
<gsml:geologicUnitType xlink:href="urn:ogc:def:nil:OGC::unknown"/>
<gsml:exposureColor>
<gsml:CGI_TermValue>
<gsml:value codeSpace="some:uri">Blue</gsml:value>
</gsml:CGI_TermValue>
</gsml:exposureColor>
<gsml:outcropCharacter>
<gsml:CGI_TermValue>
<gsml:value codeSpace="some:uri">x</gsml:value>
</gsml:CGI_TermValue>
</gsml:outcropCharacter>
<gsml:composition>
<gsml:CompositionPart>
<gsml:role
codeSpace="urn:cgi:classifierScheme:Example:CompositionPartRole">fictitious
component</gsml:role>
<gsml:lithology>
<gsml:ControlledConcept gml:id="cc.5">
<gml:name>name_cc_5</gml:name>
<gsml:name xml:lang="en">name_cc_5</gsml:name>
<gsml:vocabulary
xlink:href="urn:ogc:def:nil:OGC::missing"/>
</gsml:ControlledConcept>
</gsml:lithology>
<gsml:proportion>
<gsml:CGI_TermValue>
<gsml:value
codeSpace="some:uri">nonexistent</gsml:value>
</gsml:CGI_TermValue>
</gsml:proportion>
</gsml:CompositionPart>
</gsml:composition>
</gsml:GeologicUnit>
</gml:featureMember>
</wfs:FeatureCollection>
Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 5.255 sec<<<
FAILURE!
Results :
Failed tests:
testPolymorphism(org.geoserver.test.PolymorphismWfsTest)
testFirstValueFilters(org.geoserver.test.PolymorphismWfsTest)
testSecondValueFilters(org.geoserver.test.PolymorphismWfsTest)
testAnyTypeFilters(org.geoserver.test.PolymorphismWfsTest)
testMappingNameFilters(org.geoserver.test.PolymorphismWfsTest)
testPropertyEncodingOrder_PlanarOrientation(org.geoserver.test.PropertyEncodingOrderTest)
Tests run: 52, 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-2.0.x/ws/geoserver-2.0.x/extension/app-schema/app-schema-test/target/surefire-reports>
for the individual test results.
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6 minutes 26 seconds
[INFO] Finished at: Wed Oct 20 03:51:59 UTC 2010
[INFO] Final Memory: 63M/282M
[INFO] ------------------------------------------------------------------------
Failed to send e-mail to NielsCharlier because no e-mail address is known, and
no default e-mail domain is configured
------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel
--
*Niels Charlier*
Software Engineer
CSIRO Earth Science and Resource Engineering
Phone: +61 8 6436 8914
Australian Resources Research Centre
26 Dick Perry Avenue, Kensington WA 6151
------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel