Uploaded image for project: 'GeoServer'
  1. GeoServer
  2. GEOS-8028

Exception when saving a layer group in GeoServer UI

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.10.3, 2.11.0
    • Component/s: Main, web
    • Labels:
      None

      Description

      This seems to happen only under certain circumstances, saving an edited layer group in the GeoServer UI will provoke an illegal argument exception with this stack trace (full stack trace attached):

      13 Mar 17:09:40 WARN [geoserver.web] - Error adding/modifying layer group.
      java.lang.IllegalArgumentException: not a proxy instance
      	at java.lang.reflect.Proxy.getInvocationHandler(Proxy.java:816)
      	at org.geoserver.catalog.impl.CatalogInfoLookup.update(CatalogInfoLookup.java:95)
      	at org.geoserver.catalog.impl.DefaultCatalogFacade.save(DefaultCatalogFacade.java:500)
      	at org.geoserver.catalog.impl.CatalogImpl.save(CatalogImpl.java:946)
      	at org.geoserver.security.SecureCatalogImpl.save(SecureCatalogImpl.java:1357)
      	at org.geoserver.catalog.impl.AbstractFilteredCatalog.save(AbstractFilteredCatalog.java:740)
      	at org.geoserver.catalog.impl.AbstractCatalogDecorator.save(AbstractCatalogDecorator.java:446)
      	at org.geoserver.catalog.impl.LocalWorkspaceCatalog.save(LocalWorkspaceCatalog.java:218)
      	at org.geoserver.web.data.layergroup.LayerGroupEditPage.doSaveInternal(LayerGroupEditPage.java:309)
      

      This issue can be reproduced using tasmania layer group and tasmania_roads layer, both are shipped with GeoServer, the steps to reproduce the issue are:

      1. Go to tasmania layer group edition page and edit the draw order of tasmania_roads layer and save it.
      2. Go to tasmania_roads layer edition page and change the default style and save it.
      3. Go to tasmania layer group edition page and change the style of tasmania_roads layer and try to save.

      Associated mailing list discussion: http://osgeo-org.1560.x6.nabble.com/Need-some-help-tracking-down-a-bug-in-RC1-td5312017.html

        Attachments

          Activity

            People

            • Assignee:
              aaime aaime
              Reporter:
              nmco Nuno Oliveira
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: