[Geoserver-devel] [jira] (GEOS-5706) problem getting capabilities for virtual services and layergroups

Tobias Warneke created BugGEOS-5706
problem getting capabilities for virtual services and layergroups

Issue Type:

BugBug

Affects Versions:

2.3-RC1

Assignee:

Andrea Aime

Components:

WMS

Created:

13/Mar/13 3:31 AM

Description:

Geoserver delivers virtual services. As a new feature layergroups can be put into a workspace. So I expected the URL
http://localhost:8080/geoserver/sf/spearfish/wms?service=WMS&request=GetCapabilities
to work after I put spearfish in sf workspace. But I got an HTTP Error 404

org.geoserver.platform.ServiceException: javax.xml.transform.TransformerException: java.lang.NullPointerExcept
at org.geoserver.wms.capabilities.Capabilities_1_3_0_Response.write(Capabilities_1_3_0_Response.java:6
at org.geoserver.ows.Dispatcher.response(Dispatcher.java:919)
at org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:276)
at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAd
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:923)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:778)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1093)
at org.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(ThreadLocalsCleanupFilter.java:27)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
at org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:74)

a curious thing that happens after I putted spearfish to this new workspace was, that
http://localhost:8080/geoserver/sf/wms?service=WMS&request=GetCapabilities
still worked but
http://localhost:8080/geoserver/sf/roads/wms?service=WMS&request=GetCapabilities
did not.

After I removed spearfish from the workspace and restarted the server both urls worked again as expected.

Project:

GeoServer

Priority:

MajorMajor

Reporter:

Tobias Warneke

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