[Geoserver-devel] [jira] Created: (GEOS-1391) GetLog fails if no output format is specified, the WFSGetFeatureOutputFormat tries to handle the result instead of GetLogGML3OutputFormat

GetLog fails if no output format is specified, the WFSGetFeatureOutputFormat tries to handle the result instead of GetLogGML3OutputFormat
-----------------------------------------------------------------------------------------------------------------------------------------

                 Key: GEOS-1391
                 URL: http://jira.codehaus.org/browse/GEOS-1391
             Project: GeoServer
          Issue Type: Improvement
          Components: Global
    Affects Versions: 1.6.0-beta3
            Reporter: Andrea Aime
            Assignee: Andrea Aime
             Fix For: 1.6.0-beta4

The stack trace looks like:

{code}
java.lang.ClassCastException: net.opengis.wfsv.impl.GetLogTypeImpl cannot be cast to net.opengis.wfs.GetFeatureType
  at org.geoserver.wfs.xml.GML3OutputFormat.write(GML3OutputFormat.java:84)
  at org.geoserver.wfs.WFSGetFeatureOutputFormat.write(WFSGetFeatureOutputFormat.java:127)
  at org.geoserver.ows.Dispatcher.response(Dispatcher.java:598)
  at org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:191)
  at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:139)
  at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:44)
  at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:684)
  at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:625)
  at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:392)
  at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:357)
...
{code}

--
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