[Geoserver-devel] [jira] Created: (GEOS-967) Inline Features do not work in geoserver-1.5-rc2

Inline Features do not work in geoserver-1.5-rc2
------------------------------------------------

                 Key: GEOS-967
                 URL: http://jira.codehaus.org/browse/GEOS-967
             Project: GeoServer
          Issue Type: Bug
          Components: WMS
    Affects Versions: 1.5.0-RC2
         Environment: SuSE 10.2, Tomcat 5.5.20, sun-jdk-1.6.0-b105
            Reporter: Tilman Klar
         Assigned To: Gabriel Roldán
             Fix For: 1.5.0-RC3

When using HTTP Post to render custom inline features (like the smiley GetMap request on http://docs.codehaus.org/display/GEOSDOC/InlineFeature), geoserver-1.5-rc2 fails with the following error:
---cut---
<?xml version="1.0" encoding="UTF-8" standalone="no" ?><!DOCTYPE ServiceExceptionReport SYSTEM "https://actmap:443/geoserver/schemas//wms/1.1.1/WMS_exception_1_1_1.dtd&quot;&gt; <ServiceExceptionReport version="1.1.1"> <ServiceException>java.lang.IllegalArgumentException: FeatureReader allready produces contents with the correct schema
        at org.geotools.data.ReTypeFeatureReader.typeAttributes(ReTypeFeatureReader.java:100)
        at org.geotools.data.ReTypeFeatureReader.&lt;init&gt;(ReTypeFeatureReader.java:80)
        at org.geotools.data.ReTypeFeatureReader.&lt;init&gt;(ReTypeFeatureReader.java:66)
        at org.vfny.geoserver.wms.requests.GetMapXmlReader.processStyles(GetMapXmlReader.java:359)
        at org.vfny.geoserver.wms.requests.GetMapXmlReader.parseGetMapXML(GetMapXmlReader.java:225)
        at org.vfny.geoserver.wms.requests.GetMapXmlReader.read(GetMapXmlReader.java:98)
        at org.vfny.geoserver.servlets.AbstractService.doPost(AbstractService.java:435)
        at org.geoserver.request.Dispatcher.post(Dispatcher.java:295)
        at org.geoserver.request.Dispatcher.dispatch(Dispatcher.java:181)
        at org.geoserver.request.Dispatcher.handleRequestInternal(Dispatcher.java:52)
        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)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
        at com.opensymphony.oscache.web.filter.CacheFilter.doFilter(CacheFilter.java:168)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
        at org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:103)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
        at com.teleatlas.de.catalina.valves.CommunicationValve.invoke(CommunicationValve.java:278)
        at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
        at org.apache.coyote.ajp.AjpAprProcessor.process(AjpAprProcessor.java:425)
        at org.apache.coyote.ajp.AjpAprProtocol$AjpConnectionHandler.process(AjpAprProtocol.java:452)
        at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1285)
        at java.lang.Thread.run(Thread.java:619)
</ServiceException> </ServiceExceptionReport>
---cut---

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