[Geoserver-devel] [jira] Created: (GEOS-1996) Regression with GetMap with inline feature in latest version of 1.6

Regression with GetMap with inline feature in latest version of 1.6
-------------------------------------------------------------------

                 Key: GEOS-1996
                 URL: http://jira.codehaus.org/browse/GEOS-1996
             Project: GeoServer
          Issue Type: Bug
          Components: WMS
    Affects Versions: 1.6.4
            Reporter: Aleda Freeman
            Assignee: Andrea Aime

The following GetMap request works against 1.6.0 at http://giswebservices.massgis.state.ma.us/geoserver/wms but not the latest version of 1.6

I get an error in the log:

16 Jun 13:05:39 WARN [geoserver.ows] -
java.lang.IllegalArgumentException: TemporaryFeatureTypeInfo - not supported
        at org.vfny.geoserver.global.TemporaryFeatureTypeInfo.getFeatureType(TemporaryFeatureTypeInfo.java:154)
        at org.vfny.geoserver.wms.responses.GetMapResponse.buildLayersFiltersAndProps(GetMapResponse.java:490)
        at org.vfny.geoserver.wms.responses.GetMapResponse.execute(GetMapResponse.java:161)
        at org.geoserver.ows.adapters.ResponseAdapter.getMimeType(ResponseAdapter.java:48)
        at org.geoserver.ows.Dispatcher.response(Dispatcher.java:616)
        at org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:192)
        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:710)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
        at org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
        at org.geoserver.filters.ReverseProxyFilter.doFilter(ReverseProxyFilter.java:170)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
        at org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:73)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
        at org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:47)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
        at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:264)
        at org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107)
        at org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72)
        at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
        at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:110)
        at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
        at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
        at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
        at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:178)
        at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
        at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:229)
        at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
        at org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:148)
        at org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
        at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
        at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
        at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
        at java.lang.Thread.run(Thread.java:595)

This is the request:

<wms:GetMap service="WMS" version="1.1.0" xmlns:gml="http://www.opengis.net/gml&quot;
   xmlns:ows="http://www.opengis.net/ows&quot; xmlns:wms="http://www.opengis.net/ows&quot;
   xmlns:xlink="http://www.w3.org/1999/xlink&quot; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance&quot;
   xsi:schemaLocation="http://www.opengis.net/ows
   http://giswebservices.massgis.state.ma.us/geoserver/schemas/sld/GetMap.xsd&quot;&gt;
   <sld:StyledLayerDescriptor xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance&quot;
      xsi:schemaLocation="http://www.opengis.net/sld
      http://giswebservices.massgis.state.ma.us/geoserver/schemas/sld/StyledLayerDescriptor.xsd&quot;
      xmlns:sld="http://www.opengis.net/sld&quot; version="1.0.0">
      <sld:UserLayer>
         <sld:Name>Inline</sld:Name>
         <sld:InlineFeature>
            <sld:FeatureCollection>
               <sld:featureMember>
                  <polygonProperty>
                     <gml:Polygon>
                        <gml:outerBoundaryIs>
                           <gml:LinearRing>
                              <gml:coordinates>240167.78347885,869905.5610437
                                 249317.75340551,869905.5610437 249317.75340551,879026.25071433
                                 240167.78347885,879026.25071433
                              240167.78347885,869905.5610437</gml:coordinates>
                           </gml:LinearRing>
                        </gml:outerBoundaryIs>
                     </gml:Polygon>
                  </polygonProperty>
               </sld:featureMember>
            </sld:FeatureCollection>
         </sld:InlineFeature>
         <sld:LayerFeatureConstraints>
            <sld:FeatureTypeConstraint></sld:FeatureTypeConstraint>
         </sld:LayerFeatureConstraints>
         <sld:UserStyle>
            <sld:Name>test style</sld:Name>
            <sld:FeatureTypeStyle>
               <sld:Rule>
                  <sld:PolygonSymbolizer>
                     <sld:Stroke>
                        <sld:CssParameter name="stroke">#FF0000</sld:CssParameter>
                        <sld:CssParameter name="stroke-width">2</sld:CssParameter>
                     </sld:Stroke>
                  </sld:PolygonSymbolizer>
               </sld:Rule>
            </sld:FeatureTypeStyle>
         </sld:UserStyle>
      </sld:UserLayer>
   </sld:StyledLayerDescriptor>
   <wms:BoundingBox srsName="EPSG#26986">
      <gml:coord>
         <gml:X>350487.43371236</gml:X>
         <gml:Y>961903.8110752</gml:Y>
      </gml:coord>
      <gml:coord>
         <gml:X>20031.643604</gml:X>
         <gml:Y>782048.56061539</gml:Y>
      </gml:coord>
   </wms:BoundingBox>
   <wms:Output>
      <wms:Format>image/png</wms:Format>
      <wms:Transparent>false</wms:Transparent>
      <wms:BGcolor>0xFFFFFF</wms:BGcolor>
      <wms:Size>
         <wms:Width>600</wms:Width>
         <wms:Height>300</wms:Height>
      </wms:Size>
   </wms:Output>
   <wms:Exceptions>application/vnd.ogc.se+inimage</wms:Exceptions>
</wms:GetMap>

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