[Geoserver-devel] [JIRA] (GEOS-7023) No FID expression found for type

Bruce Simons created an issue

GeoServer / BugGEOS-7023

No FID expression found for type

Issue Type:

BugBug

Affects Versions:

1.2.5

Assignee:

Unassigned

Attachments:

geoserver.log-1.txt

Components:

Application schema

Created:

15/May/15 7:19 AM

Environment:

PostgreSQL 9.3
Geoserver 2.6.1
TomCat 8.0
Windows 7 Enterprise 64 bit

Priority:

MediumMedium

Reporter:

Bruce Simons

When using Geoserver app-schema I am getting the following errors:

  1. Request: service=wfs&version=1.1.0&request=getFeature&typeName=

{requested feature type}&outputFormat=gml32&featureID={feature ID}
Error: “java.lang.IllegalStateException: No FID expression found for type [http://www.opengis.net/[requested](http://www.opengis.net/[requested) feature type]. Did you mean Expression.NIL?” when doing a request of type:

  1. Request: service=wfs&version=1.1.0&request=getFeature&typeName={requested feature type}

&outputFormat=gml32&maxFeatures=1
Results in no error message, but the feature gml:id is populated with the <sourceType> from the FEATURE_LINK, with no other properties returned.

Stopping and starting TomCat (without changing any Geoserver configuration files) will eventually result in a correctly populated response, although requests to other features that previously worked, may now fail and return the above errors. Once the feature request is not giving the FID error it seems to continue working until restarted.

When the configuration is one Feature with no feature links it doesn’t seem to fail (although the maxFeatures=5 is slow), but adding a single FEATURE_LINK can give (but not always) the FID error.

I’m not accessing app-schema feature types using “workspace-specific” service URLs.

Not sure if this is related, but layer preview for the service also fails (example from externally facing service):
http://gwservices.it.csiro.au:8080/geoserver/web/?wicket:bookmarkablePage=:org.geoserver.web.demo.MapPreviewPage
Attached is the log from this query

Add Comment

Add Comment

This message was sent by Atlassian JIRA (v6.5-OD-03-002#65000-sha1:b8f65f8)

Atlassian logo