[Geoserver-devel] [jira] Created: (GEOS-4091) LayerGroups which reference the default style for a map don't render

LayerGroups which reference the default style for a map don't render
--------------------------------------------------------------------

                 Key: GEOS-4091
                 URL: http://jira.codehaus.org/browse/GEOS-4091
             Project: GeoServer
          Issue Type: Bug
    Affects Versions: 2.1.x
            Reporter: David Winslow
            Assignee: Andrea Aime

If I create a LayerGroup and check the 'default style' checkbox for any of the layers in it, then attempting to view that LayerGroup in OpenLayers or other WMS formats results in an uninformative error message ("java.lang.NullPointerException: null"). Removing the default-styled layer from the group fixes the problem. However, once the box is checked, I can't uncheck it through the UI.

In fact, it seems that new layers added to a layer group start out with that box checked and non-togglable.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira