[Geoserver-devel] [jira] Created: (GEOS-4864) NPE in DimensionHelper when feature store is empty

NPE in DimensionHelper when feature store is empty
--------------------------------------------------

                 Key: GEOS-4864
                 URL: https://jira.codehaus.org/browse/GEOS-4864
             Project: GeoServer
          Issue Type: Bug
          Components: WMS
    Affects Versions: 2.1.2
            Reporter: Ian Schneider
            Assignee: Andrea Aime
         Attachments: fixDimensionHelperNPE.patch

When a feature store is empty, DimensionHelper will throw NPE attemmpting to iterate null TreeSet. This kills capabilities doc.

Attached patch handles null, though it is not obvious the semantics of WMS returning null in the first place.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira