[Geoserver-devel] [jira] (GEOS-5607) Layer groups in container mode break layer preview page

Andrea Aime created BugGEOS-5607
Layer groups in container mode break layer preview page

Issue Type:

BugBug

Affects Versions:

2.3-beta1

Assignee:

Davide Savazzi

Created:

27/Jan/13 3:00 AM

Description:

Here is the significant portion of the stack trace:

Caused by: java.lang.UnsupportedOperationException: LayerGroup mode Container Tree can not be rendered
	at org.geoserver.catalog.LayerGroupHelper.allLayersForRendering(LayerGroupHelper.java:96)
	at org.geoserver.catalog.LayerGroupHelper.allLayersForRendering(LayerGroupHelper.java:107)
	at org.geoserver.catalog.LayerGroupHelper.allLayersForRendering(LayerGroupHelper.java:89)
	at org.geoserver.catalog.impl.LayerGroupInfoImpl.layers(LayerGroupInfoImpl.java:213)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:601)
	at org.geoserver.catalog.impl.ModificationProxy.invoke(ModificationProxy.java:144)
	at $Proxy19.layers(Unknown Source)
	at org.geoserver.web.demo.PreviewLayerProvider.getItems(PreviewLayerProvider.java:73)
	at org.geoserver.web.wicket.GeoServerDataProvider.fullSize(GeoServerDataProvider.java:236)
	at org.geoserver.web.wicket.GeoServerTablePanel$PagerDelegate.updateMatched(GeoServerTablePanel.java:552)
	at org.geoserver.web.wicket.GeoServerTablePanel$PagerDelegate.<init>(GeoServerTablePanel.java:545)
	at org.geoserver.web.wicket.GeoServerTablePanel.<init>(GeoServerTablePanel.java:219)
	at org.geoserver.web.wicket.GeoServerTablePanel.<init>(GeoServerTablePanel.java:92)
	at org.geoserver.web.demo.MapPreviewPage$1.<init>(MapPreviewPage.java:63)
	at org.geoserver.web.demo.MapPreviewPage.<init>(MapPreviewPage.java:63)
	... 94 more

Project:

GeoServer

Priority:

CriticalCritical

Reporter:

Andrea Aime

This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your [JIRA administrators](https://jira.codehaus.org/secure/ContactAdministrators!default.jspa). For more information on JIRA, see: [http://www.atlassian.com/software/jira](http://www.atlassian.com/software/jira)