[Geoserver-devel] [JIRA] (GEOS-10617) STAC module will throw exception on creation of a new collection

Andrea Aime created an issue

GeoServer / BugGEOS-10617

STAC module will throw exception on creation of a new collection

Issue Type:

BugBug

Assignee:

Andrea Aime

Created:

11/Aug/22 5:27 PM

Priority:

MediumMedium

Reporter:

Andrea Aime

The error is due to the sample feature loading cache throwing an exception because no feature is found yet:

com.google.common.cache.CacheLoader$InvalidCacheLoadException: CacheLoader returned null for key WSF_2019.
at com.google.common.cache.LocalCache$Segment.getAndRecordStats(LocalCache.java:2315)
at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2279)
at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2155)
at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2045)
at com.google.common.cache.LocalCache.get(LocalCache.java:3951)
at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3974)
at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4935)
at org.geoserver.ogcapi.stac.SampleFeatures.getSample(SampleFeatures.java:69)
at org.geoserver.ogcapi.stac.STACOseoListener.getQueryablesMap(STACOseoListener.java:208)
at org.geoserver.ogcapi.stac.STACOseoListener.handleCollectionsUpdateEvent(STACOseoListener.java:112)
at org.geoserver.ogcapi.stac.STACOseoListener.dataStoreChange(STACOseoListener.java:72)

Add Comment

Add Comment

Get Jira notifications on your phone! Download the Jira Cloud app for Android or iOS


This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100204-sha1:f3df60f)

Atlassian logo