Thanks Jody and Andrea.  I just saw these replies, sorry!  Here is my 
stacktrace.  I will try to work on making a bug report for this but I’ve never 
done that before.  Thanks again!


2021-04-25 20:59:48,271 INFO [geoserver.wms] -
Request: getMap
Angle = 0.0
BaseUrl = http://localhost:8080/geoserver/
Bbox = SRSEnvelope[-1.001875417E7 : 0.0, 1.0018754169999998E7 : 2.003750834E7]
BgColor = java.awt.Color[r=255,g=255,b=255]
Buffer = 0
Clip = null
CQLFilter = null
Crs = PROJCS["WGS84 / Google Mercator",
  GEOGCS["WGS 84",
    DATUM["World Geodetic System 1984",
      SPHEROID["WGS 84", 6378137.0, 298.257223563, AUTHORITY["EPSG","7030"]],
      AUTHORITY["EPSG","6326"]],
    PRIMEM["Greenwich", 0.0, AUTHORITY["EPSG","8901"]],
    UNIT["degree", 0.017453292519943295],
    AXIS["Longitude", EAST],
    AXIS["Latitude", NORTH],
    AUTHORITY["EPSG","4326"]],
  PROJECTION["Mercator_1SP"],
  PARAMETER["semi_minor", 6378137.0],
  PARAMETER["latitude_of_origin", 0.0],
  PARAMETER["central_meridian", 0.0],
  PARAMETER["scale_factor", 1.0],
  PARAMETER["false_easting", 0.0],
  PARAMETER["false_northing", 0.0],
  UNIT["m", 1.0],
  AXIS["x", EAST],
  AXIS["y", NORTH],
  AUTHORITY["EPSG","900913"]]
Elevation = []
Env = {}
Exceptions = SE_XML
FeatureId = null
FeatureVersion = null
Filter = null
Format = image/png8
FormatOptions = {}
Get = true
Height = 1024
Interpolations = []
Layers = [org.geoserver.wms.MapLayerInfo@fd1f8f6a, 
org.geoserver.wms.MapLayerInfo@676c50cf<mailto:org.geoserver.wms.MapLayerInfo@676c50cf>,
 
org.geoserver.wms.MapLayerInfo@b491b3a5<mailto:org.geoserver.wms.MapLayerInfo@b491b3a5>,
 
org.geoserver.wms.MapLayerInfo@1c7eb5aa<mailto:org.geoserver.wms.MapLayerInfo@1c7eb5aa>,
 
org.geoserver.wms.MapLayerInfo@74aa2fae<mailto:org.geoserver.wms.MapLayerInfo@74aa2fae>,
 
org.geoserver.wms.MapLayerInfo@e0cb40b6<mailto:org.geoserver.wms.MapLayerInfo@e0cb40b6>,
 
org.geoserver.wms.MapLayerInfo@c752a7b5<mailto:org.geoserver.wms.MapLayerInfo@c752a7b5>,
 
org.geoserver.wms.MapLayerInfo@59780bd3<mailto:org.geoserver.wms.MapLayerInfo@59780bd3>,
 
org.geoserver.wms.MapLayerInfo@e44c2be1<mailto:org.geoserver.wms.MapLayerInfo@e44c2be1>,
 
org.geoserver.wms.MapLayerInfo@8cacef37<mailto:org.geoserver.wms.MapLayerInfo@8cacef37>,
 
org.geoserver.wms.MapLayerInfo@254a57fd<mailto:org.geoserver.wms.MapLayerInfo@254a57fd>,
 
org.geoserver.wms.MapLayerInfo@58f17b08<mailto:org.geoserver.wms.MapLayerInfo@58f17b08>,
 
org.geoserver.wms.MapLayerInfo@648a2c70<mailto:org.geoserver.wms.MapLayerInfo@648a2c70>,
 
org.geoserver.wms.MapLayerInfo@642eaf18<mailto:org.geoserver.wms.MapLayerInfo@642eaf18>,
 
org.geoserver.wms.MapLayerInfo@5e69aee9<mailto:org.geoserver.wms.MapLayerInfo@5e69aee9>,
 
org.geoserver.wms.MapLayerInfo@8671ba5f<mailto:org.geoserver.wms.MapLayerInfo@8671ba5f>,
 
org.geoserver.wms.MapLayerInfo@9c6b8c6c<mailto:org.geoserver.wms.MapLayerInfo@9c6b8c6c>,
 
org.geoserver.wms.MapLayerInfo@13da7cf0<mailto:org.geoserver.wms.MapLayerInfo@13da7cf0>,
 
org.geoserver.wms.MapLayerInfo@249aad59<mailto:org.geoserver.wms.MapLayerInfo@249aad59>,
 
org.geoserver.wms.MapLayerInfo@9532e2ce<mailto:org.geoserver.wms.MapLayerInfo@9532e2ce>,
 
org.geoserver.wms.MapLayerInfo@9b657911<mailto:org.geoserver.wms.MapLayerInfo@9b657911>,
 
org.geoserver.wms.MapLayerInfo@36440ac1<mailto:org.geoserver.wms.MapLayerInfo@36440ac1>]
MaxFeatures = null
Palette = null
RawKvp = {FORMAT=image/png8, STYLES=, WIDTH=1024, HEIGHT=1024, LAYERS=osm:osm, 
EXCEPTIONS=SE_XML, GWC_SEED_INTERCEPT=true, REQUEST=GetMap, SRS=EPSG:900913, 
BBOX=-10018754.17,10018754.169999998,0.0,20037508.34, VERSION=1.1.1, 
SERVICE=WMS, TRANSPARENT=true}
RemoteOwsType = null
RemoteOwsURL = null
Request = GetMap
RequestCharset = UTF-8
ScaleMethod = null
Sld = null
SldBody = null
SldVersion = null
SortBy = null
SortByArrays = null
SRS = EPSG:900913
StartIndex = null
StyleBody = null
StyleFormat = sld
Styles = [StyleImpl[ name=simplified_water], StyleImpl[ name=water], StyleImpl[ 
name=coast_poly], StyleImpl[ name=world], StyleImpl[ name=icesheet], StyleImpl[ 
name=icesheet_outlines], StyleImpl[ name=all_regions], StyleImpl[ 
name=landusages], StyleImpl[ name=waterareas], StyleImpl[ name=waterways], 
StyleImpl[ name=buildup], StyleImpl[ name=all_boundaries], StyleImpl[ 
name=boundaries], StyleImpl[ name=transport_areas], StyleImpl[ name=buildings], 
StyleImpl[ name=roads], StyleImpl[ name=states], StyleImpl[ name=addresses], 
StyleImpl[ name=admin_labels], StyleImpl[ name=places], StyleImpl[ 
name=amenities], StyleImpl[ name=transport_points]]
StyleUrl = null
StyleVersion = null
Tiled = false
TilesOrigin = null
Time = []
Transparent = true
ValidateSchema = false
Version = 1.1.1
ViewParams = null
Width = 1024
2021-04-25 20:59:48,320 ERROR [renderer.lite] - DataSource not available after 
calling dispose() or before being set.
java.lang.IllegalStateException: DataSource not available after calling 
dispose() or before being set.
at org.geotools.jdbc.JDBCDataStore.getDataSource(JDBCDataStore.java:458)
at org.geotools.jdbc.JDBCDataStore.createConnection(JDBCDataStore.java:2116)
at org.geotools.jdbc.JDBCDataStore.getConnection(JDBCDataStore.java:2074)
at org.geotools.jdbc.JDBCDataStore.getConnection(JDBCDataStore.java:2104)
at 
org.geotools.jdbc.JDBCFeatureSource.buildFeatureType(JDBCFeatureSource.java:179)
at 
org.geotools.data.store.ContentFeatureSource.getAbsoluteSchema(ContentFeatureSource.java:327)
at 
org.geotools.data.store.ContentFeatureSource.getSchema(ContentFeatureSource.java:296)
at 
org.geotools.jdbc.JDBCQueryCapabilities.supportsPropertySorting(JDBCQueryCapabilities.java:77)
at 
org.geotools.jdbc.JDBCQueryCapabilities.supportsSorting(JDBCQueryCapabilities.java:54)
at 
org.geotools.data.store.ContentFeatureSource$2.supportsSorting(ContentFeatureSource.java:1172)
at 
org.geotools.data.gen.PreGeneralizedFeatureSource$1.supportsSorting(PreGeneralizedFeatureSource.java:342)
at 
org.vfny.geoserver.global.GeoServerFeatureSource.getFeatures(GeoServerFeatureSource.java:364)
at 
org.vfny.geoserver.global.GeoServerFeatureSource.getFeatures(GeoServerFeatureSource.java:71)
at 
org.geotools.renderer.lite.StreamingRenderer.getFeatures(StreamingRenderer.java:2336)
at 
org.geotools.renderer.lite.StreamingRenderer.processStylers(StreamingRenderer.java:2213)
at 
org.geotools.renderer.lite.StreamingRenderer.paint(StreamingRenderer.java:900)
at 
org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(RenderedImageMapOutputFormat.java:601)
at 
org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(RenderedImageMapOutputFormat.java:275)
at 
org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(RenderedImageMapOutputFormat.java:135)
at org.geoserver.wms.GetMap.executeInternal(GetMap.java:749)
at org.geoserver.wms.GetMap.run(GetMap.java:300)
at org.geoserver.wms.GetMap.run(GetMap.java:123)
at org.geoserver.wms.DefaultWebMapService.getMap(DefaultWebMapService.java:246)
at jdk.internal.reflect.GeneratedMethodAccessor359.invoke(Unknown Source)
at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:567)
at 
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:198)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at 
org.geoserver.kml.WebMapServiceKmlInterceptor.invoke(WebMapServiceKmlInterceptor.java:38)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at 
org.geoserver.gwc.wms.CacheSeedingWebMapService.invoke(CacheSeedingWebMapService.java:55)
at 
org.geoserver.gwc.wms.CacheSeedingWebMapService.invoke(CacheSeedingWebMapService.java:31)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at 
org.geoserver.gwc.wms.CachingWebMapService.invoke(CachingWebMapService.java:61)
at 
org.geoserver.gwc.wms.CachingWebMapService.invoke(CachingWebMapService.java:41)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at 
org.geoserver.ows.util.RequestObjectLogger.invoke(RequestObjectLogger.java:50)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at 
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212)
at com.sun.proxy.$Proxy113.getMap(Unknown Source)
at jdk.internal.reflect.GeneratedMethodAccessor314.invoke(Unknown Source)
at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:567)
at org.geoserver.ows.Dispatcher.execute(Dispatcher.java:877)
at org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:265)
at 
org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:177)
at org.geoserver.gwc.GWC.dispatchOwsRequest(GWC.java:1369)
at 
org.geoserver.gwc.layer.GeoServerTileLayer.dispatchGetMap(GeoServerTileLayer.java:706)
at 
org.geoserver.gwc.layer.GeoServerTileLayer.getMetatilingReponse(GeoServerTileLayer.java:651)
at 
org.geoserver.gwc.layer.GeoServerTileLayer.seedTile(GeoServerTileLayer.java:852)
at org.geowebcache.seed.SeedTask.doActionInternal(SeedTask.java:140)
at org.geowebcache.seed.GWCTask.doAction(GWCTask.java:78)
at org.geowebcache.seed.MTSeeder.call(MTSeeder.java:33)
at org.geowebcache.seed.MTSeeder.call(MTSeeder.java:22)
at 
org.geoserver.gwc.seed.SeederThreadLocalTransferExecutor.lambda$submit$1(SeederThreadLocalTransferExecutor.java:52)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at 
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at 
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:835)
2021-04-25 20:59:48,339 INFO [geoserver.wms] -
Request: getMap
Angle = 0.0
BaseUrl = http://localhost:8080/geoserver/
Bbox = SRSEnvelope[0.0 : 1.0018754169999998E7, 1.0018754169999998E7 : 
2.003750834E7]
BgColor = java.awt.Color[r=255,g=255,b=255]
Buffer = 0
Clip = null
CQLFilter = null
Crs = PROJCS["WGS84 / Google Mercator",
  GEOGCS["WGS 84",
    DATUM["World Geodetic System 1984",
      SPHEROID["WGS 84", 6378137.0, 298.257223563, AUTHORITY["EPSG","7030"]],
      AUTHORITY["EPSG","6326"]],
    PRIMEM["Greenwich", 0.0, AUTHORITY["EPSG","8901"]],
    UNIT["degree", 0.017453292519943295],
    AXIS["Longitude", EAST],
    AXIS["Latitude", NORTH],
    AUTHORITY["EPSG","4326"]],
  PROJECTION["Mercator_1SP"],
  PARAMETER["semi_minor", 6378137.0],
  PARAMETER["latitude_of_origin", 0.0],
  PARAMETER["central_meridian", 0.0],
  PARAMETER["scale_factor", 1.0],
  PARAMETER["false_easting", 0.0],
  PARAMETER["false_northing", 0.0],
  UNIT["m", 1.0],
  AXIS["x", EAST],
  AXIS["y", NORTH],
  AUTHORITY["EPSG","900913"]]
Elevation = []
Env = {}
Exceptions = SE_XML
FeatureId = null
FeatureVersion = null
Filter = null
Format = image/png8
FormatOptions = {}
Get = true
Height = 1024
Interpolations = []
Layers = [org.geoserver.wms.MapLayerInfo@fd1f8f6a, 
org.geoserver.wms.MapLayerInfo@676c50cf<mailto:org.geoserver.wms.MapLayerInfo@676c50cf>,
 
org.geoserver.wms.MapLayerInfo@b491b3a5<mailto:org.geoserver.wms.MapLayerInfo@b491b3a5>,
 
org.geoserver.wms.MapLayerInfo@1c7eb5aa<mailto:org.geoserver.wms.MapLayerInfo@1c7eb5aa>,
 
org.geoserver.wms.MapLayerInfo@74aa2fae<mailto:org.geoserver.wms.MapLayerInfo@74aa2fae>,
 
org.geoserver.wms.MapLayerInfo@e0cb40b6<mailto:org.geoserver.wms.MapLayerInfo@e0cb40b6>,
 
org.geoserver.wms.MapLayerInfo@c752a7b5<mailto:org.geoserver.wms.MapLayerInfo@c752a7b5>,
 
org.geoserver.wms.MapLayerInfo@59780bd3<mailto:org.geoserver.wms.MapLayerInfo@59780bd3>,
 
org.geoserver.wms.MapLayerInfo@e44c2be1<mailto:org.geoserver.wms.MapLayerInfo@e44c2be1>,
 
org.geoserver.wms.MapLayerInfo@8cacef37<mailto:org.geoserver.wms.MapLayerInfo@8cacef37>,
 
org.geoserver.wms.MapLayerInfo@254a57fd<mailto:org.geoserver.wms.MapLayerInfo@254a57fd>,
 
org.geoserver.wms.MapLayerInfo@58f17b08<mailto:org.geoserver.wms.MapLayerInfo@58f17b08>,
 
org.geoserver.wms.MapLayerInfo@648a2c70<mailto:org.geoserver.wms.MapLayerInfo@648a2c70>,
 
org.geoserver.wms.MapLayerInfo@642eaf18<mailto:org.geoserver.wms.MapLayerInfo@642eaf18>,
 
org.geoserver.wms.MapLayerInfo@5e69aee9<mailto:org.geoserver.wms.MapLayerInfo@5e69aee9>,
 
org.geoserver.wms.MapLayerInfo@8671ba5f<mailto:org.geoserver.wms.MapLayerInfo@8671ba5f>,
 
org.geoserver.wms.MapLayerInfo@9c6b8c6c<mailto:org.geoserver.wms.MapLayerInfo@9c6b8c6c>,
 
org.geoserver.wms.MapLayerInfo@13da7cf0<mailto:org.geoserver.wms.MapLayerInfo@13da7cf0>,
 
org.geoserver.wms.MapLayerInfo@249aad59<mailto:org.geoserver.wms.MapLayerInfo@249aad59>,
 
org.geoserver.wms.MapLayerInfo@9532e2ce<mailto:org.geoserver.wms.MapLayerInfo@9532e2ce>,
 
org.geoserver.wms.MapLayerInfo@9b657911<mailto:org.geoserver.wms.MapLayerInfo@9b657911>,
 
org.geoserver.wms.MapLayerInfo@36440ac1<mailto:org.geoserver.wms.MapLayerInfo@36440ac1>]
MaxFeatures = null
Palette = null
RawKvp = {FORMAT=image/png8, STYLES=, WIDTH=1024, HEIGHT=1024, LAYERS=osm:osm, 
EXCEPTIONS=SE_XML, GWC_SEED_INTERCEPT=true, REQUEST=GetMap, SRS=EPSG:900913, 
BBOX=0.0,10018754.169999998,10018754.169999998,20037508.34, VERSION=1.1.1, 
SERVICE=WMS, TRANSPARENT=true}
RemoteOwsType = null
RemoteOwsURL = null
Request = GetMap
RequestCharset = UTF-8
ScaleMethod = null
Sld = null
SldBody = null
SldVersion = null
SortBy = null
SortByArrays = null
SRS = EPSG:900913
StartIndex = null
StyleBody = null
StyleFormat = sld
Styles = [StyleImpl[ name=simplified_water], StyleImpl[ name=water], StyleImpl[ 
name=coast_poly], StyleImpl[ name=world], StyleImpl[ name=icesheet], StyleImpl[ 
name=icesheet_outlines], StyleImpl[ name=all_regions], StyleImpl[ 
name=landusages], StyleImpl[ name=waterareas], StyleImpl[ name=waterways], 
StyleImpl[ name=buildup], StyleImpl[ name=all_boundaries], StyleImpl[ 
name=boundaries], StyleImpl[ name=transport_areas], StyleImpl[ name=buildings], 
StyleImpl[ name=roads], StyleImpl[ name=states], StyleImpl[ name=addresses], 
StyleImpl[ name=admin_labels], StyleImpl[ name=places], StyleImpl[ 
name=amenities], StyleImpl[ name=transport_points]]
StyleUrl = null
StyleVersion = null
Tiled = false
TilesOrigin = null
Time = []
Transparent = true
ValidateSchema = false
Version = 1.1.1
ViewParams = null
Width = 1024
2021-04-25 20:59:48,349 ERROR [geoserver.ows] -
org.geoserver.platform.ServiceException: Rendering process failed
at 
org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(RenderedImageMapOutputFormat.java:642)
at 
org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(RenderedImageMapOutputFormat.java:275)
at 
org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(RenderedImageMapOutputFormat.java:135)
at org.geoserver.wms.GetMap.executeInternal(GetMap.java:749)
at org.geoserver.wms.GetMap.run(GetMap.java:300)
at org.geoserver.wms.GetMap.run(GetMap.java:123)
at org.geoserver.wms.DefaultWebMapService.getMap(DefaultWebMapService.java:246)
at jdk.internal.reflect.GeneratedMethodAccessor359.invoke(Unknown Source)
at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:567)
at 
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:198)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at 
org.geoserver.kml.WebMapServiceKmlInterceptor.invoke(WebMapServiceKmlInterceptor.java:38)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at 
org.geoserver.gwc.wms.CacheSeedingWebMapService.invoke(CacheSeedingWebMapService.java:55)
at 
org.geoserver.gwc.wms.CacheSeedingWebMapService.invoke(CacheSeedingWebMapService.java:31)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at 
org.geoserver.gwc.wms.CachingWebMapService.invoke(CachingWebMapService.java:61)
at 
org.geoserver.gwc.wms.CachingWebMapService.invoke(CachingWebMapService.java:41)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at 
org.geoserver.ows.util.RequestObjectLogger.invoke(RequestObjectLogger.java:50)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at 
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212)
at com.sun.proxy.$Proxy113.getMap(Unknown Source)
at jdk.internal.reflect.GeneratedMethodAccessor314.invoke(Unknown Source)
at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:567)
at org.geoserver.ows.Dispatcher.execute(Dispatcher.java:877)
at org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:265)
at 
org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:177)
at org.geoserver.gwc.GWC.dispatchOwsRequest(GWC.java:1369)
at 
org.geoserver.gwc.layer.GeoServerTileLayer.dispatchGetMap(GeoServerTileLayer.java:706)
at 
org.geoserver.gwc.layer.GeoServerTileLayer.getMetatilingReponse(GeoServerTileLayer.java:651)
at 
org.geoserver.gwc.layer.GeoServerTileLayer.seedTile(GeoServerTileLayer.java:852)
at org.geowebcache.seed.SeedTask.doActionInternal(SeedTask.java:140)
at org.geowebcache.seed.GWCTask.doAction(GWCTask.java:78)
at org.geowebcache.seed.MTSeeder.call(MTSeeder.java:33)
at org.geowebcache.seed.MTSeeder.call(MTSeeder.java:22)
at 
org.geoserver.gwc.seed.SeederThreadLocalTransferExecutor.lambda$submit$1(SeederThreadLocalTransferExecutor.java:52)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at 
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at 
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:835)
Caused by: java.lang.IllegalStateException: DataSource not available after 
calling dispose() or before being set.
at org.geotools.jdbc.JDBCDataStore.getDataSource(JDBCDataStore.java:458)
at org.geotools.jdbc.JDBCDataStore.createConnection(JDBCDataStore.java:2116)
at org.geotools.jdbc.JDBCDataStore.getConnection(JDBCDataStore.java:2074)
at org.geotools.jdbc.JDBCDataStore.getConnection(JDBCDataStore.java:2104)
at 
org.geotools.jdbc.JDBCFeatureSource.buildFeatureType(JDBCFeatureSource.java:179)
at 
org.geotools.data.store.ContentFeatureSource.getAbsoluteSchema(ContentFeatureSource.java:327)
at 
org.geotools.data.store.ContentFeatureSource.getSchema(ContentFeatureSource.java:296)
at 
org.geotools.jdbc.JDBCQueryCapabilities.supportsPropertySorting(JDBCQueryCapabilities.java:77)
at 
org.geotools.jdbc.JDBCQueryCapabilities.supportsSorting(JDBCQueryCapabilities.java:54)
at 
org.geotools.data.store.ContentFeatureSource$2.supportsSorting(ContentFeatureSource.java:1172)
at 
org.geotools.data.gen.PreGeneralizedFeatureSource$1.supportsSorting(PreGeneralizedFeatureSource.java:342)
at 
org.vfny.geoserver.global.GeoServerFeatureSource.getFeatures(GeoServerFeatureSource.java:364)
at 
org.vfny.geoserver.global.GeoServerFeatureSource.getFeatures(GeoServerFeatureSource.java:71)
at 
org.geotools.renderer.lite.StreamingRenderer.getFeatures(StreamingRenderer.java:2336)
at 
org.geotools.renderer.lite.StreamingRenderer.processStylers(StreamingRenderer.java:2213)
at 
org.geotools.renderer.lite.StreamingRenderer.paint(StreamingRenderer.java:900)
at 
org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(RenderedImageMapOutputFormat.java:601)
... 43 more
2021-04-25 20:59:48,354 ERROR [seed.MTSeeder] - Problem communicating with 
GeoServer
org.geowebcache.GeoWebCacheException: Problem communicating with GeoServer
at 
org.geoserver.gwc.layer.GeoServerTileLayer.getMetatilingReponse(GeoServerTileLayer.java:657)
at 
org.geoserver.gwc.layer.GeoServerTileLayer.seedTile(GeoServerTileLayer.java:852)
at org.geowebcache.seed.SeedTask.doActionInternal(SeedTask.java:140)
at org.geowebcache.seed.GWCTask.doAction(GWCTask.java:78)
at org.geowebcache.seed.MTSeeder.call(MTSeeder.java:33)
at org.geowebcache.seed.MTSeeder.call(MTSeeder.java:22)
at 
org.geoserver.gwc.seed.SeederThreadLocalTransferExecutor.lambda$submit$1(SeederThreadLocalTransferExecutor.java:52)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at 
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at 
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:835)
Caused by: java.lang.IllegalStateException: Expected: RenderedImageMap, got null
at 
org.geoserver.gwc.layer.GeoServerTileLayer.dispatchGetMap(GeoServerTileLayer.java:709)
at 
org.geoserver.gwc.layer.GeoServerTileLayer.getMetatilingReponse(GeoServerTileLayer.java:651)
... 10 more


Ashley Mort
Sr. Software Engineer
972-638-6317 office
814-571-3039 cell

From: Andrea Aime <andrea.a...@geo-solutions.it>
Sent: Wednesday, March 10, 2021 8:49 AM
To: Jody Garnett <jody.garn...@gmail.com>
Cc: Ashley Mort <ashley_c_m...@raytheon.com>; 
geoserver-users@lists.sourceforge.net
Subject: [External] Re: [Geoserver-users] DataSource not available after 
calling dispose() or before being set

Hi,
I think I know what's going on. The pre-generalized data store is used there to 
have multiple generalized tables behind a single
layer. The store uses Repository to fetch the original stores and features 
sources... which per se is not bad, but it ends up
holding on to them, which is bad instead.
The ResourcePool under pressure, or due to re-configuration, can dispose of the 
store instances and create new ones, and then
the pre-generalized store ends up having dangling objects which throw that 
exception.

The work-around is to call "reset" after config changes.
The fix is to go into the pre-generalized store and make it stop holding 
references, and call onto the Repository every time
it needs a FeatureSource.

A bug report is welcomed, an actual fix much more so.

Cheers
Andrea




On Wed, Mar 10, 2021 at 3:33 PM Jody Garnett 
<jody.garn...@gmail.com<mailto:jody.garn...@gmail.com>> wrote:
Ashley:

You are the first person to report this error (although I suspect others may of 
also seen it and assumed someone else has reported).

Can I ask for some more detail? There should be a stack tract in the logs 
associated with this error; it may give us a clue which DataSource is causing 
problems.

The changing the database connection parametes is a good clue! I may expect a 
problem for rendering that occurs *right when* the connection is interrupted.

Jody

On Tue, Mar 9, 2021 at 5:22 PM Ashley Mort via Geoserver-users 
<geoserver-users@lists.sourceforge.net<mailto:geoserver-users@lists.sourceforge.net>>
 wrote:
I am getting:
code=”internalError”Rendering process failed
DataSource not available after calling dispose() or before being set.

I am on GeoServer 2.17.2 on RedHat and using Andrea’s workspace from the 
osm-styles repo and connecting to a PostGIS DataStore which I loaded with some 
OSM data via imposm.

I get this error somewhat randomly and if I restart GeoServer, it seems to stop 
happening for a while but will eventually come back (even when making the exact 
same WMS request for an exact / known area that worked earlier).

Is this something that may be fixed in a later version of GeoServer?  Does it 
have something to do with the speed of the connection to my DataStore?  Any 
tips would be appreciated as this is a tough one for me.  Thank you!


PS: If I re-enter my DataStore passwd and Save, that seems like it may trigger 
the error on subsequent requests.



Ashley Mort
Sr. Software Engineer
972-638-6317 office
814-571-3039 cell
_______________________________________________
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<mailto:Geoserver-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/geoserver-users
--
--
Jody Garnett
_______________________________________________
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<mailto:Geoserver-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/geoserver-users


--

Regards, Andrea Aime

== GeoServer Professional Services from the experts! Visit http://goo.gl/it488V 
for more information. == Ing. Andrea Aime @geowolf Technical Lead GeoSolutions 
S.A.S. Via di Montramito 3/A 55054 Massarosa (LU) phone: +39 0584 962313 fax: 
+39 0584 1660272 mob: +39 339 8844549 http://www.geo-solutions.it 
http://twitter.com/geosolutions_it 
------------------------------------------------------- Con riferimento alla 
normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento 
generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza 
inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è 
un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo 
scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, 
ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene 
notizia. This email is intended only for the person or entity to which it is 
addressed and may contain information that is privileged, confidential or 
otherwise protected from disclosure. We remind that - as provided by European 
Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or 
the information herein by anyone other than the intended recipient is 
prohibited. If you have received this email by mistake, please notify us 
immediately by telephone or e-mail.
_______________________________________________
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