Uploaded image for project: 'GeoServer'
  1. GEOS-8752

Integrated GWC fails to seed layers if any data security is configured

    Details

    • Type: Bug
    • Status: Open
    • Priority: Medium
    • Resolution: Unresolved
    • Affects versions: 2.13.0
    • Fix versions: None
    • Components: GWC
    • Labels:
      None

      Description

      Using a completely vanilla installation of geoserver:

      1. Under "Security > Data", for the default read rule, "*.*.r", change the allowed roles from * to ADMIN
      2. Attempting to seed any of the layers under "Tile Caching > Tile Layers > Seed/Truncate" causes the following stack trace:
      2018-05-18 14:03:43,204 ERROR [org.geoserver.ows] (GWC Seeder Thread-5) : org.geoserver.platform.ServiceException: Could not find layer my_workspace:my_layer
          at org.geoserver.wms.map.GetMapKvpRequestReader.parseLayers(GetMapKvpRequestReader.java:1150)
          at org.geoserver.wms.map.GetMapKvpRequestReader.read(GetMapKvpRequestReader.java:237)
          at org.geoserver.wms.map.GetMapKvpRequestReader.read(GetMapKvpRequestReader.java:87)
          at org.geoserver.ows.Dispatcher.parseRequestKVP(Dispatcher.java:1531)
          at org.geoserver.ows.Dispatcher.dispatch(Dispatcher.java:690)
          at org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:260)
          at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:174)
          at org.geoserver.gwc.GWC.dispatchOwsRequest(GWC.java:1315)
          at org.geoserver.gwc.layer.GeoServerTileLayer.dispatchGetMap(GeoServerTileLayer.java:644)
          at org.geoserver.gwc.layer.GeoServerTileLayer.getMetatilingReponse(GeoServerTileLayer.java:588)
          at org.geoserver.gwc.layer.GeoServerTileLayer.seedTile(GeoServerTileLayer.java:783)
          at org.geowebcache.seed.SeedTask.doActionInternal(SeedTask.java:141)
          at org.geowebcache.seed.GWCTask.doAction(GWCTask.java:76)
          at org.geowebcache.seed.MTSeeder.call(MTSeeder.java:36)
          at org.geowebcache.seed.MTSeeder.call(MTSeeder.java:25)
          at java.util.concurrent.FutureTask.run(FutureTask.java:266)
          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
          at java.lang.Thread.run(Thread.java:748)
      
      2018-05-18 14:03:43,206 ERROR [org.geowebcache.seed.MTSeeder] (GWC Seeder Thread-5) Problem communicating with GeoServer: org.geowebcache.GeoWebCacheException: Problem communicating with GeoServer
          at org.geoserver.gwc.layer.GeoServerTileLayer.getMetatilingReponse(GeoServerTileLayer.java:594)
          at org.geoserver.gwc.layer.GeoServerTileLayer.seedTile(GeoServerTileLayer.java:783)
          at org.geowebcache.seed.SeedTask.doActionInternal(SeedTask.java:141)
          at org.geowebcache.seed.GWCTask.doAction(GWCTask.java:76)
          at org.geowebcache.seed.MTSeeder.call(MTSeeder.java:36)
          at org.geowebcache.seed.MTSeeder.call(MTSeeder.java:25)
          at java.util.concurrent.FutureTask.run(FutureTask.java:266)
          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
          at java.lang.Thread.run(Thread.java:748)
      Caused by: java.lang.IllegalStateException: Expected: RenderedImageMap, got null
          at org.geoserver.gwc.layer.GeoServerTileLayer.dispatchGetMap(GeoServerTileLayer.java:647)
          at org.geoserver.gwc.layer.GeoServerTileLayer.getMetatilingReponse(GeoServerTileLayer.java:588)
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              mitchell.bosecke Mitchell Bösecke
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: