This only happens in certain situations, 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:
- Go to tasmania layer group edition page and edit the draw order of tasmania_roads layer and save it.
- Go to tasmania_roads layer edition page and change the default style and save it.
- Go to tasmania layer group edition page and change the style of tasmania_roads layer and try to save.
|