Alexandre Gacon (
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A22ea7608-8469-46aa-9284-2e722c195b88
) *created* an issue
GeoServer (
https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiZWFjYjQxZDg5ZjhmNDczNWI4YTcxYjA5ZGMwMTIyNjYiLCJwIjoiaiJ9
) / Bug (
https://osgeo-org.atlassian.net/browse/GEOS-10952?atlOrigin=eyJpIjoiZWFjYjQxZDg5ZjhmNDczNWI4YTcxYjA5ZGMwMTIyNjYiLCJwIjoiaiJ9
) GEOS-10952 (
https://osgeo-org.atlassian.net/browse/GEOS-10952?atlOrigin=eyJpIjoiZWFjYjQxZDg5ZjhmNDczNWI4YTcxYjA5ZGMwMTIyNjYiLCJwIjoiaiJ9
) Pregeneralized feature type using non shapefile datastore not working with
JDBC config+resource store (
https://osgeo-org.atlassian.net/browse/GEOS-10952?atlOrigin=eyJpIjoiZWFjYjQxZDg5ZjhmNDczNWI4YTcxYjA5ZGMwMTIyNjYiLCJwIjoiaiJ9
)
Issue Type: Bug Affects Versions: 2.23.0 Assignee: Alexandre Gacon (
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A22ea7608-8469-46aa-9284-2e722c195b88
) Components: Features pregeneralized Created: 23/Apr/23 1:31 PM Environment:
GeoServer with JDBC config store, JDBC resource store, Pregeneralized Features
DataStore extensions
The Pregen Datastore references non file based datastore (for example tables in
database)
Priority: Medium Reporter: Alexandre Gacon (
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A22ea7608-8469-46aa-9284-2e722c195b88
)
On an environment matching the one described, when you try to publish a layer
from a Pregen Datastore referencing DB tables, the creation fails with the
following stack:
Caused by: java.lang.NullPointerException: Cannot invoke
"java.io.File.exists()" because "f" is null at
org.geoserver.data.gen.DSFinderRepository.getURLForLocation(DSFinderRepository.java:46)
at
org.geotools.data.gen.DSFinderRepository.getMapFromPropetryLocation(DSFinderRepository.java:81)
at
org.geotools.data.gen.DSFinderRepository.dataStore(DSFinderRepository.java:114)
at
org.geoserver.data.gen.DSFinderRepository.dataStore(DSFinderRepository.java:69)
at
org.geotools.data.gen.PreGeneralizedFeatureSource.getBaseFeatureSource(PreGeneralizedFeatureSource.java:113)
at
org.geotools.data.gen.PreGeneralizedFeatureSource.getSchema(PreGeneralizedFeatureSource.java:357)
at
org.geotools.data.gen.PreGeneralizedFeatureSource.getSchema(PreGeneralizedFeatureSource.java:67)
at
org.geoserver.catalog.CatalogBuilder.buildFeatureType(CatalogBuilder.java:342)
at
org.geoserver.catalog.CatalogBuilder.buildFeatureType(CatalogBuilder.java:325)
at
org.geoserver.web.data.layer.NewLayerPage.buildLayerInfo(NewLayerPage.java:421)
... 119 more
(
https://osgeo-org.atlassian.net/browse/GEOS-10952#add-comment?atlOrigin=eyJpIjoiZWFjYjQxZDg5ZjhmNDczNWI4YTcxYjA5ZGMwMTIyNjYiLCJwIjoiaiJ9
) Add Comment (
https://osgeo-org.atlassian.net/browse/GEOS-10952#add-comment?atlOrigin=eyJpIjoiZWFjYjQxZDg5ZjhmNDczNWI4YTcxYjA5ZGMwMTIyNjYiLCJwIjoiaiJ9
)
Get Jira notifications on your phone! Download the Jira Cloud app for Android (
https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail
) or iOS (
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8
) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100223-
sha1:bddbaa2 )
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel