App-schema - mapping to gml:posList not working

Hi all,
I’m working on the app schema for AIXM and running out of options for the following problem:

has anyone had luck to encode the geometry for an ElevatedSurface using the target attribute “aixm:ElevatedSurface/gml:patches/gml:PolygonPatch/gml:exterior/gml:LinearRing/gml:posList”?

I need to use a database value for the “gml:posList” due to legal reasons.

GeoServer throws an error “Error applying mapping with targetAttribute” for the app-schema below (see also the log below).

When using the “gml:posList” for the object “ElevatedCurve” or “gml:pos” for “ElevatedPoint” it works without problem.

Any help/ideas would be much appreciated!

The app schema for the “ElevatedSurface” is as follows:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<as:AppSchemaDataAccess xmlns:as="http://www.geotools.org/app-schema"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.geotools.org/app-schema AppSchemaDataAccess.xsd">
	<namespaces>
		<Namespace>
			<prefix>aixm</prefix>
			<uri>http://www.aixm.aero/schema/5.1.1</uri>
		</Namespace>
		<Namespace>
			<prefix>gml</prefix>
			<uri>http://www.opengis.net/gml/3.2</uri>
		</Namespace>
		<Namespace>
			<prefix>xlink</prefix>
			<uri>http://www.w3.org/1999/xlink</uri>
		</Namespace>
		<Namespace>
			<prefix>gco</prefix>
			<uri>http://www.isotc211.org/2005/gco</uri>
		</Namespace>
		<Namespace>
			<prefix>gmd</prefix>
			<uri>http://www.isotc211.org/2005/gmd</uri>
		</Namespace>
		<Namespace>
			<prefix>gts</prefix>
			<uri>http://www.isotc211.org/2005/gts</uri>
		</Namespace>
		<Namespace>
			<prefix>xsi</prefix>
			<uri>http://www.w3.org/2001/XMLSchema-instance</uri>
		</Namespace>
	</namespaces>
	<includedTypes/>
	<sourceDataStores>
		<DataStore>
			<id>aeropg</id>
			<parameters>
				<Parameter>
					<name>port</name>
					<value>5431</value>
				</Parameter>
				<Parameter>
					<name>passwd</name>
					<value>dummypwd</value>
				</Parameter>
				<Parameter>
					<name>dbtype</name>
					<value>postgisng</value>
				</Parameter>
				<Parameter>
					<name>schema</name>
					<value>dummyschema</value>
				</Parameter>
				<Parameter>
					<name>host</name>
					<value>dummyhost</value>
				</Parameter>
				<Parameter>
					<name>database</name>
					<value>dummydb</value>
				</Parameter>
				<Parameter>
					<name>user</name>
					<value>dummyuser</value>
				</Parameter>
			</parameters>
		</DataStore>
	</sourceDataStores>
	<targetTypes>
		<FeatureType>
			<schemaUri>http://www.aixm.aero/schema/5.1.1/AIXM_Features.xsd</schemaUri>
		</FeatureType>
	</targetTypes>
	<typeMappings>
		<FeatureTypeMapping>
		 	<mappingName>vsp_surface</mappingName>
			<sourceDataStore>aeropg</sourceDataStore>
			<sourceType>dummytable</sourceType>
			<targetElement>aixm:ElevatedSurface</targetElement>
			<attributeMappings>
				<AttributeMapping>
					<targetAttribute>aixm:ElevatedSurface</targetAttribute>
                    <idExpression>
                        <OCQL>geom_gml_id</OCQL>
                    </idExpression>					
					<ClientProperty>
						<name>srsName</name>
						<value>geom_srsname</value>
					</ClientProperty>
					<encodeIfEmpty>false</encodeIfEmpty>
				</AttributeMapping>
				<AttributeMapping>
					<targetAttribute>aixm:ElevatedSurface/gml:patches/gml:PolygonPatch/gml:exterior/gml:LinearRing</targetAttribute>
					<encodeIfEmpty>true</encodeIfEmpty>
				</AttributeMapping>
				<AttributeMapping>
					<targetAttribute>aixm:ElevatedSurface/gml:patches/gml:PolygonPatch/gml:exterior/gml:LinearRing/gml:posList</targetAttribute>
					<sourceExpression>
						<OCQL>geom_pos_list</OCQL>
					</sourceExpression>
				</AttributeMapping>
			</attributeMappings>
		</FeatureTypeMapping>
	</typeMappings>
</as:AppSchemaDataAccess>

the GeoServer log:

11 Sep 10:17:08 DEBUG  [geotools.jdbc] - CREATE CONNECTION
11 Sep 10:17:08 DEBUG  [geotools.jdbc] - SELECT "public"."gz_ob_verticalstructure_part_surface"."id","public"."gz_ob_verticalstructure_part_surface"."pk","public"."gz_ob_verticalstructure_part_surface"."created","public"."gz_ob_verticalstructure_part_surface"."modified","public"."gz_ob_verticalstructure_part_surface"."vs_occ_pk","public"."gz_ob_verticalstructure_part_surface"."ts_gml_id","public"."gz_ob_verticalstructure_part_surface"."interpretation","public"."gz_ob_verticalstructure_part_surface"."sequencenumber","public"."gz_ob_verticalstructure_part_surface"."correctionnumber","public"."gz_ob_verticalstructure_part_surface"."vsp_noseq","public"."gz_ob_verticalstructure_part_surface"."vsp_gml_id","public"."gz_ob_verticalstructure_part_surface"."verticalextent","public"."gz_ob_verticalstructure_part_surface"."verticalextent_uom","public"."gz_ob_verticalstructure_part_surface"."verticalextent_xsi_nil","public"."gz_ob_verticalstructure_part_surface"."verticalextent_nilreason","public"."gz_ob_verticalstructure_part_surface"."verticalextentaccuracy","public"."gz_ob_verticalstructure_part_surface"."verticalextentaccuracy_uom","public"."gz_ob_verticalstructure_part_surface"."verticalextentaccuracy_xsi_nil","public"."gz_ob_verticalstructure_part_surface"."verticalextentaccuracy_nilreason","public"."gz_ob_verticalstructure_part_surface"."type","public"."gz_ob_verticalstructure_part_surface"."type_xsi_nil","public"."gz_ob_verticalstructure_part_surface"."type_nilreason","public"."gz_ob_verticalstructure_part_surface"."constructionstatus","public"."gz_ob_verticalstructure_part_surface"."constructionstatus_xsi_nil","public"."gz_ob_verticalstructure_part_surface"."constructionstatus_nilreason","public"."gz_ob_verticalstructure_part_surface"."markingpattern","public"."gz_ob_verticalstructure_part_surface"."markingpattern_xsi_nil","public"."gz_ob_verticalstructure_part_surface"."markingpattern_nilreason","public"."gz_ob_verticalstructure_part_surface"."markingfirstcolour","public"."gz_ob_verticalstructure_part_surface"."markingfirstcolour_xsi_nil","public"."gz_ob_verticalstructure_part_surface"."markingfirstcolour_nilreason","public"."gz_ob_verticalstructure_part_surface"."markingsecondcolour","public"."gz_ob_verticalstructure_part_surface"."markingsecondcolour_xsi_nil","public"."gz_ob_verticalstructure_part_surface"."markingsecondcolour_nilreason","public"."gz_ob_verticalstructure_part_surface"."mobile","public"."gz_ob_verticalstructure_part_surface"."mobile_xsi_nil","public"."gz_ob_verticalstructure_part_surface"."mobile_nilreason","public"."gz_ob_verticalstructure_part_surface"."frangible","public"."gz_ob_verticalstructure_part_surface"."frangible_xsi_nil","public"."gz_ob_verticalstructure_part_surface"."frangible_nilreason","public"."gz_ob_verticalstructure_part_surface"."visiblematerial","public"."gz_ob_verticalstructure_part_surface"."visiblematerial_xsi_nil","public"."gz_ob_verticalstructure_part_surface"."visiblematerial_nilreason","public"."gz_ob_verticalstructure_part_surface"."designator","public"."gz_ob_verticalstructure_part_surface"."designator_xsi_nil","public"."gz_ob_verticalstructure_part_surface"."designator_nilreason","public"."gz_ob_verticalstructure_part_surface"."geom_gml_id","public"."gz_ob_verticalstructure_part_surface"."geom_srsname","public"."gz_ob_verticalstructure_part_surface"."geom_surface_gml_id","public"."gz_ob_verticalstructure_part_surface"."geom_type","public"."gz_ob_verticalstructure_part_surface"."geom_pos_list","public"."gz_ob_verticalstructure_part_surface"."geom_elevation","public"."gz_ob_verticalstructure_part_surface"."geom_elevation_uom","public"."gz_ob_verticalstructure_part_surface"."geom_elevation_xsi_nil","public"."gz_ob_verticalstructure_part_surface"."geom_elevation_nilreason","public"."gz_ob_verticalstructure_part_surface"."geom_geoidundulation","public"."gz_ob_verticalstructure_part_surface"."geom_geoidundulation_uom","public"."gz_ob_verticalstructure_part_surface"."geom_geoidundulation_xsi_nil","public"."gz_ob_verticalstructure_part_surface"."geom_geoidundulation_nilreason","public"."gz_ob_verticalstructure_part_surface"."geom_verticaldatum","public"."gz_ob_verticalstructure_part_surface"."geom_verticaldatum_xsi_nil","public"."gz_ob_verticalstructure_part_surface"."geom_verticaldatum_nilreason","public"."gz_ob_verticalstructure_part_surface"."geom_verticalaccuracy","public"."gz_ob_verticalstructure_part_surface"."geom_verticalaccuracy_uom","public"."gz_ob_verticalstructure_part_surface"."geom_verticalaccuracy_xsi_nil","public"."gz_ob_verticalstructure_part_surface"."geom_verticalaccuracy_nilreason","public"."gz_ob_verticalstructure_part_surface"."geom_horizontalaccuracy","public"."gz_ob_verticalstructure_part_surface"."geom_horizontalaccuracy_uom","public"."gz_ob_verticalstructure_part_surface"."geom_horizontalaccuracy_xsi_nil","public"."gz_ob_verticalstructure_part_surface"."geom_horizontalaccuracy_nilreason","public"."gz_ob_verticalstructure_part_surface"."lgt_hash","public"."gz_ob_verticalstructure_part_surface"."lgt_hash_xsi_nil","public"."gz_ob_verticalstructure_part_surface"."lgt_hash_nilreason","public"."gz_ob_verticalstructure_part_surface"."nt_hash","public"."gz_ob_verticalstructure_part_surface"."nt_hash_xsi_nil","public"."gz_ob_verticalstructure_part_surface"."nt_hash_nilreason",encode(ST_AsEWKB("public"."gz_ob_verticalstructure_part_surface"."geom"), 'base64') as "geom" FROM "public"."gz_ob_verticalstructure_part_surface" INNER JOIN (SELECT DISTINCT "public"."gz_ob_verticalstructure_part_surface"."geom_gml_id" FROM "public"."gz_ob_verticalstructure_part_surface" ORDER BY "public"."gz_ob_verticalstructure_part_surface"."geom_gml_id" ASC LIMIT 500) "gz_ob_verticalstruct_1" ON ("gz_ob_verticalstructure_part_surface"."geom_gml_id" = "gz_ob_verticalstruct_1"."geom_gml_id" )  ORDER BY "public"."gz_ob_verticalstructure_part_surface"."geom_gml_id" ASC, "public"."gz_ob_verticalstructure_part_surface"."id"
11 Sep 10:17:08 TRACE  [complex.filter] - ENTRY FeatureImpl:ElevatedSurface<ElevatedSurfaceType id=uuid.01883fa0-1d45-11ec-bc68-00505684165a.B.1.0.ts.vsp.1.geom>=[] gml:patches/gml:PolygonPatch/gml:exterior/gml:LinearRing null null null
11 Sep 10:17:08 TRACE  [complex.filter] - ENTRY FeatureImpl:ElevatedSurface<ElevatedSurfaceType id=uuid.01883fa0-1d45-11ec-bc68-00505684165a.B.1.0.ts.vsp.1.geom>=[ComplexAttributeImpl:patches<SurfacePatchArrayPropertyType>=[ComplexAttributeImpl:PolygonPatch<PolygonPatchType>=[ComplexAttributeImpl:exterior<AbstractRingPropertyType>=[GeometryAttributeImpl:LinearRing<LinearRingType crs=GEOGCS["WGS 84", 
  DATUM["World Geodetic System 1984", 
    SPHEROID["WGS 84", 6378137.0, 298.257223563, AUTHORITY["EPSG","7030"]], 
    AUTHORITY["EPSG","6326"]], 
  PRIMEM["Greenwich", 0.0, AUTHORITY["EPSG","8901"]], 
  UNIT["degree", 0.017453292519943295], 
  AXIS["Geodetic longitude", EAST], 
  AXIS["Geodetic latitude", NORTH], 
  AUTHORITY["EPSG","4326"]]>=null]]]] gml:patches/gml:PolygonPatch/gml:exterior/gml:LinearRing/gml:posList 10.0 47.1 10.4 47.1 10.4 47.3 10.0 47.3 10.0 47.1 null null
11 Sep 10:17:08 DEBUG  [data.util] - CRSConverterFactory can be applied from Strings to CRS  only.
11 Sep 10:17:08 DEBUG  [data.util] - InterpolationConverterFactory can be applied from Strings to Interpolation only.
11 Sep 10:17:08 DEBUG  [geotools.jdbc] - CLOSE CONNECTION
11 Sep 10:17:08 INFO   [geoserver.servlets] - OutputStream was successfully aborted.
11 Sep 10:17:08 ERROR  [geoserver.ows] - 
java.lang.RuntimeException: java.lang.RuntimeException: Error applying mapping with targetAttribute gml:patches/gml:PolygonPatch/gml:exterior/gml:LinearRing/gml:posList
	at org.geotools.data.complex.AbstractMappingFeatureIterator.next(AbstractMappingFeatureIterator.java:423)
	at org.geotools.feature.collection.BridgeIterator.next(BridgeIterator.java:47)
	at org.geotools.feature.collection.BridgeIterator.next(BridgeIterator.java:33)
	at org.geotools.xsd.Encoder.processChildren(Encoder.java:1020)
	at org.geotools.xsd.Encoder.encode(Encoder.java:655)
	at org.geotools.xsd.Encoder.encode(Encoder.java:553)
	at org.geoserver.wfs.xml.GML32OutputFormat.encode(GML32OutputFormat.java:155)
	at org.geoserver.wfs.xml.GML3OutputFormat.complexFeatureStreamIntercept(GML3OutputFormat.java:422)
	at org.geoserver.wfs.xml.GML3OutputFormat.write(GML3OutputFormat.java:321)
	at org.geoserver.wfs.WFSGetFeatureOutputFormat.write(WFSGetFeatureOutputFormat.java:199)
	at org.geoserver.ows.Dispatcher.response(Dispatcher.java:1034)
	at org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:273)
	at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:177)
	at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:51)
	at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1072)
	at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:965)
	at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006)
	at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:898)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:529)
	at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:623)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:199)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:144)
	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:168)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:144)
	at org.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(ThreadLocalsCleanupFilter.java:28)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:168)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:144)
	at org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:73)
	at org.geoserver.monitor.MonitorFilter.doFilter(MonitorFilter.java:159)
	at org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:70)
	at org.geoserver.ows.HTTPHeadersCollector.doFilter(HTTPHeadersCollector.java:48)
	at org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:70)
	at org.geoserver.filters.HTTPMethodFilter.doFilter(HTTPMethodFilter.java:36)
	at org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:70)
	at org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:194)
	at org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:70)
	at org.geoserver.flow.controller.IpBlacklistFilter.doFilter(IpBlacklistFilter.java:89)
	at org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:70)
	at org.geoserver.filters.SpringDelegatingFilter.doFilter(SpringDelegatingFilter.java:43)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:168)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:144)
	at org.geoserver.platform.AdvancedDispatchFilter.doFilter(AdvancedDispatchFilter.java:39)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:168)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:144)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:337)
	at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:71)
	at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:115)
	at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:81)
	at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:75)
	at org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:92)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346)
	at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:71)
	at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:122)
	at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:116)
	at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:75)
	at org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:92)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346)
	at org.geoserver.security.filter.GeoServerAnonymousAuthenticationFilter.doFilter(GeoServerAnonymousAuthenticationFilter.java:53)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346)
	at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:71)
	at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilterInternal(BasicAuthenticationFilter.java:164)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
	at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:75)
	at org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:92)
	at org.geoserver.security.filter.GeoServerBasicAuthenticationFilter.doFilter(GeoServerBasicAuthenticationFilter.java:81)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346)
	at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:71)
	at org.geoserver.security.filter.GeoServerSecurityContextPersistenceFilter$1.doFilterInternal(GeoServerSecurityContextPersistenceFilter.java:72)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
	at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:75)
	at org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:92)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346)
	at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:221)
	at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:186)
	at org.geoserver.security.GeoServerSecurityFilterChainProxy.doFilter(GeoServerSecurityFilterChainProxy.java:141)
	at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:354)
	at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:267)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:168)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:144)
	at org.geoserver.filters.XFrameOptionsFilter.doFilter(XFrameOptionsFilter.java:100)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:168)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:144)
	at org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:48)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:168)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:144)
	at org.geoserver.filters.SessionDebugFilter.doFilter(SessionDebugFilter.java:49)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:168)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:144)
	at org.geoserver.filters.FlushSafeFilter.doFilter(FlushSafeFilter.java:42)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:168)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:144)
	at org.apache.catalina.filters.CorsFilter.handleNonCORS(CorsFilter.java:331)
	at org.apache.catalina.filters.CorsFilter.doFilter(CorsFilter.java:158)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:168)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:144)
	at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:168)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:144)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:168)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:481)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:130)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93)
	at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:660)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:346)
	at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:388)
	at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63)
	at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:928)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1791)
	at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52)
	at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1190)
	at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63)
	at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.lang.RuntimeException: Error applying mapping with targetAttribute gml:patches/gml:PolygonPatch/gml:exterior/gml:LinearRing/gml:posList
	at org.geotools.data.complex.DataAccessMappingFeatureIterator.computeNext(DataAccessMappingFeatureIterator.java:1493)
	at org.geotools.data.complex.AbstractMappingFeatureIterator.next(AbstractMappingFeatureIterator.java:420)
	... 117 more
Caused by: java.lang.ClassCastException
11 Sep 10:17:08 INFO   [geoserver.flow] - releasing flow controllers for [WFS 1.0.0 GetFeature]
11 Sep 10:17:08 INFO   [geoserver.flow] - Request completed, running requests: 0, blocked requests: 0