Hi All,
Has anyone recently seen this when adding a granule to an imagemosaic?
java.lang.ClassCastException: org.geotools.jdbc.JDBCFeatureSource cannot be 
cast to org.geotools.data.simple.SimpleFeatureStore
at 
org.geotools.gce.imagemosaic.catalog.AbstractGTDataStoreGranuleCatalog.removeGranules(AbstractGTDataStoreGranuleCatalog.java:391)at
 
org.geotools.gce.imagemosaic.catalog.GTDataStoreGranuleCatalog.removeGranules(GTDataStoreGranuleCatalog.java:37)...
As far as I can tell from here, the JDBCFeatureSource doesn't directly 
implement SimpleFeatureStore, so the above is understandable.  What's not clear 
is how this has come about.
My datastore.properties references an existing PostGIS datastore:
StoreName=postgres
SPI=org.geotools.data.postgis.PostgisNGDataStoreFactory
Any clues or pointers would be very much appreciated.
Thank you in advance,
Andy
Geoserver version: 2.20.4
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


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

Reply via email to