Thanks Ian. Your answer alerted me to the fact that I wasn't specifying a
style for each layer.
Thanks for your help.

On Thu, Jun 14, 2018 at 9:07 AM, Ian Turton <ijtur...@gmail.com> wrote:

> I think you can't mix a style and a layer from different workspaces, but
> if that is the case you should probably get a better error message.
>
> Ian
>
> On Thu, 14 Jun 2018 at 14:56, Kris Johnson <krist...@d.umn.edu> wrote:
>
>> Hello,
>>
>> I am using Geoserver 2.12.2.
>> I am trying to create a WMS request via the reflector:
>> https://data.nrri.umn.edu/nra-geoserver/wms/reflect?LAYERS=
>> public%3Amn_boundary%2Cnra%3Amarschner_presettlement_vegetation&
>> SRS=EPSG%3A3857&HEIGHT=300&STYLES=nra%3Athumb_polygon&FORMAT=image%2Fpng
>>
>> If I leave out the STYLE parameter the request executes just fine.
>> It is a simple YSLD style:
>> title: thumbnail polygon
>> symbolizers:
>> - polygon:
>>     stroke-width: 0.1
>>     stroke-color: '#bfbfbf'
>>     fill-color: '#7a0019'
>>
>> Here is the error I'm seeing in the logs:
>> 2018-06-14 13:50:21,185 ERROR [geoserver.ows] -
>> java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
>> at java.util.ArrayList.rangeCheck(ArrayList.java:653)
>> at java.util.ArrayList.get(ArrayList.java:429)
>> at org.geoserver.wms.map.GetMapKvpRequestReader.read(
>> GetMapKvpRequestReader.java:413)
>> at org.geoserver.wms.map.GetMapKvpRequestReader.read(
>> GetMapKvpRequestReader.java:87)
>> at org.geoserver.ows.Dispatcher.parseRequestKVP(Dispatcher.java:1521)
>> at org.geoserver.ows.Dispatcher.dispatch(Dispatcher.java:680)
>> at org.geoserver.ows.Dispatcher.handleRequestInternal(
>> Dispatcher.java:258)
>> at org.springframework.web.servlet.mvc.AbstractController.handleRequest(
>> AbstractController.java:174)
>> at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter
>> .handle(SimpleControllerHandlerAdapter.java:50)
>> at org.springframework.web.servlet.DispatcherServlet.
>> doDispatch(DispatcherServlet.java:963)
>> at org.springframework.web.servlet.DispatcherServlet.
>> doService(DispatcherServlet.java:897)
>> at org.springframework.web.servlet.FrameworkServlet.processRequest(
>> FrameworkServlet.java:970)
>> at org.springframework.web.servlet.FrameworkServlet.
>> doGet(FrameworkServlet.java:861)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:635)
>> at org.springframework.web.servlet.FrameworkServlet.
>> service(FrameworkServlet.java:846)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
>> ApplicationFilterChain.java:231)
>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(
>> ApplicationFilterChain.java:166)
>> at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
>> ApplicationFilterChain.java:193)
>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(
>> ApplicationFilterChain.java:166)
>> at org.apache.catalina.filters.CorsFilter.handleNonCORS(
>> CorsFilter.java:423)
>> at org.apache.catalina.filters.CorsFilter.doFilter(CorsFilter.java:169)
>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
>> ApplicationFilterChain.java:193)
>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(
>> ApplicationFilterChain.java:166)
>> at org.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(
>> ThreadLocalsCleanupFilter.java:28)
>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
>> ApplicationFilterChain.java:193)
>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(
>> ApplicationFilterChain.java:166)
>> at org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(
>> SpringDelegatingFilter.java:75)
>> at org.geoserver.wms.animate.AnimatorFilter.doFilter(
>> AnimatorFilter.java:71)
>> at org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(
>> SpringDelegatingFilter.java:71)
>> at org.geoserver.monitor.MonitorFilter.doFilter(MonitorFilter.java:144)
>> at org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(
>> SpringDelegatingFilter.java:71)
>> at org.geoserver.filters.SpringDelegatingFilter.doFilter(
>> SpringDelegatingFilter.java:46)
>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
>> ApplicationFilterChain.java:193)
>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(
>> ApplicationFilterChain.java:166)
>> at org.geoserver.platform.AdvancedDispatchFilter.doFilter(
>> AdvancedDispatchFilter.java:50)
>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
>> ApplicationFilterChain.java:193)
>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(
>> ApplicationFilterChain.java:166)
>> at org.springframework.security.web.FilterChainProxy$
>> VirtualFilterChain.doFilter(FilterChainProxy.java:316)
>> at org.geoserver.security.filter.GeoServerCompositeFilter$
>> NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)
>> at org.springframework.security.web.access.intercept.
>> FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:126)
>> at org.springframework.security.web.access.intercept.
>> FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:90)
>> at org.geoserver.security.filter.GeoServerCompositeFilter$
>> NestedFilterChain.doFilter(GeoServerCompositeFilter.java:73)
>> at org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(
>> GeoServerCompositeFilter.java:92)
>> at org.springframework.security.web.FilterChainProxy$
>> VirtualFilterChain.doFilter(FilterChainProxy.java:330)
>> at org.geoserver.security.filter.GeoServerCompositeFilter$
>> NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)
>> at org.springframework.security.web.access.ExceptionTranslationFilter.
>> doFilter(ExceptionTranslationFilter.java:114)
>> at org.geoserver.security.filter.GeoServerCompositeFilter$
>> NestedFilterChain.doFilter(GeoServerCompositeFilter.java:73)
>> at org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(
>> GeoServerCompositeFilter.java:92)
>> at org.springframework.security.web.FilterChainProxy$
>> VirtualFilterChain.doFilter(FilterChainProxy.java:330)
>> at org.geoserver.security.filter.GeoServerAnonymousAuthenticati
>> onFilter.doFilter(GeoServerAnonymousAuthenticationFilter.java:54)
>> at org.springframework.security.web.FilterChainProxy$
>> VirtualFilterChain.doFilter(FilterChainProxy.java:330)
>> at org.geoserver.security.filter.GeoServerCompositeFilter$
>> NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)
>> at org.springframework.security.web.authentication.www.
>> DigestAuthenticationFilter.doFilter(DigestAuthenticationFilter.java:124)
>> at org.geoserver.security.filter.GeoServerCompositeFilter$
>> NestedFilterChain.doFilter(GeoServerCompositeFilter.java:73)
>> at org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(
>> GeoServerCompositeFilter.java:92)
>> at org.geoserver.security.filter.GeoServerDigestAuthenticationF
>> ilter.doFilter(GeoServerDigestAuthenticationFilter.java:88)
>> at org.springframework.security.web.FilterChainProxy$
>> VirtualFilterChain.doFilter(FilterChainProxy.java:330)
>> at org.geoserver.security.filter.GeoServerCredentialsFromReques
>> tHeaderFilter.doFilter(GeoServerCredentialsFromReques
>> tHeaderFilter.java:103)
>> at org.springframework.security.web.FilterChainProxy$
>> VirtualFilterChain.doFilter(FilterChainProxy.java:330)
>> at org.geoserver.security.filter.GeoServerCompositeFilter$
>> NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)
>> at org.springframework.security.web.context.
>> SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilt
>> er.java:91)
>> at org.geoserver.security.filter.GeoServerSecurityContextPersis
>> tenceFilter$1.doFilter(GeoServerSecurityContextPersistenceFilter.java:53)
>> at org.geoserver.security.filter.GeoServerCompositeFilter$
>> NestedFilterChain.doFilter(GeoServerCompositeFilter.java:73)
>> at org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(
>> GeoServerCompositeFilter.java:92)
>> at org.springframework.security.web.FilterChainProxy$
>> VirtualFilterChain.doFilter(FilterChainProxy.java:330)
>> at org.springframework.security.web.FilterChainProxy.doFilterInternal(
>> FilterChainProxy.java:213)
>> at org.springframework.security.web.FilterChainProxy.doFilter(
>> FilterChainProxy.java:176)
>> at org.geoserver.security.GeoServerSecurityFilterChainProxy.doFilter(
>> GeoServerSecurityFilterChainProxy.java:152)
>> at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(
>> DelegatingFilterProxy.java:346)
>> at org.springframework.web.filter.DelegatingFilterProxy.doFilter(
>> DelegatingFilterProxy.java:262)
>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
>> ApplicationFilterChain.java:193)
>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(
>> ApplicationFilterChain.java:166)
>> at org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:88)
>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
>> ApplicationFilterChain.java:193)
>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(
>> ApplicationFilterChain.java:166)
>> at org.geoserver.filters.XFrameOptionsFilter.doFilter(
>> XFrameOptionsFilter.java:89)
>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
>> ApplicationFilterChain.java:193)
>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(
>> ApplicationFilterChain.java:166)
>> at org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:42)
>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
>> ApplicationFilterChain.java:193)
>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(
>> ApplicationFilterChain.java:166)
>> at org.geoserver.filters.SessionDebugFilter.doFilter(
>> SessionDebugFilter.java:48)
>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
>> ApplicationFilterChain.java:193)
>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(
>> ApplicationFilterChain.java:166)
>> at org.geoserver.filters.FlushSafeFilter.doFilter(
>> FlushSafeFilter.java:44)
>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
>> ApplicationFilterChain.java:193)
>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(
>> ApplicationFilterChain.java:166)
>> at org.springframework.web.filter.CharacterEncodingFilter.
>> doFilterInternal(CharacterEncodingFilter.java:197)
>> at org.springframework.web.filter.OncePerRequestFilter.
>> doFilter(OncePerRequestFilter.java:107)
>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
>> ApplicationFilterChain.java:193)
>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(
>> ApplicationFilterChain.java:166)
>> at org.apache.catalina.core.StandardWrapperValve.invoke(
>> StandardWrapperValve.java:198)
>> at org.apache.catalina.core.StandardContextValve.invoke(
>> StandardContextValve.java:96)
>> at org.apache.catalina.authenticator.AuthenticatorBase.invoke(
>> AuthenticatorBase.java:478)
>> at org.apache.catalina.core.StandardHostValve.invoke(
>> StandardHostValve.java:140)
>> at org.apache.catalina.valves.ErrorReportValve.invoke(
>> ErrorReportValve.java:80)
>> at org.apache.catalina.valves.AbstractAccessLogValve.invoke(
>> AbstractAccessLogValve.java:624)
>> at org.apache.catalina.core.StandardEngineValve.invoke(
>> StandardEngineValve.java:87)
>> at org.apache.catalina.connector.CoyoteAdapter.service(
>> CoyoteAdapter.java:342)
>> at org.apache.coyote.http11.Http11Processor.service(
>> Http11Processor.java:799)
>> at org.apache.coyote.AbstractProcessorLight.process(
>> AbstractProcessorLight.java:66)
>> at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(
>> AbstractProtocol.java:868)
>> at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.
>> doRun(NioEndpoint.java:1455)
>> at org.apache.tomcat.util.net.SocketProcessorBase.run(
>> SocketProcessorBase.java:49)
>> at java.util.concurrent.ThreadPoolExecutor.runWorker(
>> ThreadPoolExecutor.java:1142)
>> at java.util.concurrent.ThreadPoolExecutor$Worker.run(
>> ThreadPoolExecutor.java:617)
>> at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(
>> TaskThread.java:61)
>> at java.lang.Thread.run(Thread.java:748)
>>
>> ​Thank you for any help you can provide.​
>>
>> --
>> Kris Johnson
>> Natural Resources Research Institute
>> 5013 Miller Trunk Highway, Duluth, MN 55811
>> <https://maps.google.com/?q=5013+Miller+Trunk+Highway,+Duluth,+MN+55811&entry=gmail&source=g>
>> p: 218.788.2767
>> www.nrri.umn.edu
>>
>> ------------------------------------------------------------
>> ------------------
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot______
>> _________________________________________
>> Geoserver-users mailing list
>>
>> Please make sure you read the following two resources before posting to
>> this list:
>> - Earning your support instead of buying it, but Ian Turton:
>> http://www.ianturton.com/talks/foss4g.html#/
>> - The GeoServer user list posting guidelines: http://geoserver.org/comm/
>> userlist-guidelines.html
>>
>> If you want to request a feature or an improvement, also see this:
>> https://github.com/geoserver/geoserver/wiki/Successfully-
>> requesting-and-integrating-new-features-and-improvements-in-GeoServer
>>
>>
>> Geoserver-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>
>
>
> --
> Ian Turton
>



-- 
Kris Johnson
Natural Resources Research Institute
5013 Miller Trunk Highway, Duluth, MN 55811
p: 218.788.2767
www.nrri.umn.edu
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to