[Geoserver-users] GeoServer app-schema: No FID expression found for type

Hi,

I’m getting an intermittent Geoserver app-schema error as a response to a GetFeature request:

java.lang.IllegalStateException: No FID expression found for type [FeatureType]. Did you mean Expression.NIL?

No FID expression found for type [FeatureType]. Did you mean Expression.NIL?

Where [FeatureType] depends on the feature being requested (e.g. ‘http://www.opengis.net/gwml-well/2.0:GW_Well’).

Stopping and starting TomCat (without changing any configuration files) will eventually give a valid response for requests for that feature type, but may now give the error for a different feature type.

Reducing the number of properties and FEATURE_LINKs doesn’t seem to guarantee a working response.

GeoServer is running over a PostGres database.

Any ideas on where I should be looking to resolve the issue?

Cheers

Bruce Simons

Information Modeller

Land and Water/ Environmental Information Infrastructures

E: bruce.simons@anonymised.com T: +61 3 9252 6514 M: +61 475 954 391

PO Box 56, Highett, Victoria, 3190

Hi Bruce,

- What version of GeoServer are you using?

- How long does it take for a failure to occur? Are there intervening requests?

- When you start and stop tomcat, does this make the configuration work immediately (you wrote "eventually)"? How long does it keep working?

This exception is thrown in GeoTools gt-app-schema UnmappingFilterVisitor:307 when it fails to translate an incoming request from properties and types in the application schema to source types generated from the database.

One thing that might cause this unmapping to fail is a problem with namespaces. Please check that all your namespaces are correctly and consistently specified in your mapping files, workspaces, application schemas, and requests.

Kind regards,
Ben.

On 10/04/15 10:17, Bruce.Simons@anonymised.com wrote:

Hi,
I'm getting an intermittent Geoserver app-schema error as a response to a GetFeature request:

java.lang.IllegalStateException: No FID expression found for type [FeatureType]. Did you mean Expression.NIL?
No FID expression found for type [FeatureType]. Did you mean Expression.NIL?

Where [FeatureType] depends on the feature being requested (e.g. 'http://www.opengis.net/gwml-well/2.0:GW_Well’).
Stopping and starting TomCat (without changing any configuration files) will eventually give a valid response for requests for that feature type, but may now give the error for a different feature type.

Reducing the number of properties and FEATURE_LINKs doesn't seem to guarantee a working response.
GeoServer is running over a PostGres database.
Any ideas on where I should be looking to resolve the issue?

Cheers
Bruce Simons
Information Modeller
Land and Water/ Environmental Information Infrastructures
E: bruce.simons@anonymised.com<mailto:bruce.simons@anonymised.com> T: +61 3 9252 6514 M: +61 475 954 391
PO Box 56, Highett, Victoria, 3190

------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF

_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
Ben Caradoc-Davies <ben@anonymised.com>
Director
Transient Software Limited <http://transient.nz>
New Zealand