You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
User trying to create an INSPIRE compliant application schema for a dataset.
He created the application schema mappings manually and copied to the
workspace folder.
After restarting GeoServer, He is able to see the app-schema store, layer
preview works as expected for WMS.
From the layer preview page, when he select GML3.2 option he get the
features file without a problem, but he realizes that this is a WFS 1.0.0
request by default with GML3.2 as output format.
20 Jul 19:58:20 ERROR [geoserver.ows] -
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.rangeCheck(ArrayList.java:659)
at java.util.ArrayList.get(ArrayList.java:435)
at
org.geotools.appschema.jdbc.JoiningJDBCFeatureSource.getIdColumnName(JoiningJDBCFeatureSource.java:1566)
at
org.geotools.appschema.jdbc.JoiningJDBCFeatureSource.getCountInternal(JoiningJDBCFeatureSource.java:1444)
at
org.geotools.data.store.ContentFeatureSource.getCount(ContentFeatureSource.java:473)
at
org.geotools.data.complex.AppSchemaDataAccess.getCount(AppSchemaDataAccess.java:303)
at
org.geotools.data.complex.MappingFeatureCollection.size(MappingFeatureCollection.java:321)
at
org.geotools.feature.collection.DecoratingFeatureCollection.size(DecoratingFeatureCollection.java:103)
at org.geoserver.wfs.GetFeature.run(GetFeature.java:692)
at
org.geoserver.wfs.DefaultWebFeatureService.getFeature(DefaultWebFeatureService.java:105)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:198)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at
org.geoserver.ows.util.RequestObjectLogger.invoke(RequestObjectLogger.java:50)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212)
User trying to create an INSPIRE compliant application schema for a dataset.
He created the application schema mappings manually and copied to the
workspace folder.
After restarting GeoServer, He is able to see the app-schema store, layer
preview works as expected for WMS.
From the layer preview page, when he select GML3.2 option he get the
features file without a problem, but he realizes that this is a WFS 1.0.0
request by default with GML3.2 as output format.
Request:
Log output:
The exception comes in this line:
https://github.com/geotools/geotools/blame/24.4/modules/extension/app-schema/app-schema/src/main/java/org/geotools/appschema/jdbc/JoiningJDBCFeatureSource.java#L1566
The text was updated successfully, but these errors were encountered: