[Geoserver-devel] [JIRA] (GEOS-8028) Exception when saving a layer group in GeoServer UI

Nuno Oliveira created an issue

GeoServer / BugGEOS-8028

Exception when saving a layer group in GeoServer UI

Issue Type:

BugBug

Assignee:

Unassigned

Components:

Main, web

Created:

13/Mar/17 6:26 PM

Priority:

MediumMedium

Reporter:

Nuno Oliveira

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:

  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.

Add Comment

Add Comment

This message was sent by Atlassian JIRA (v1000.815.2#100035-sha1:5badda0)

Atlassian logo