All,
I have fixed this bug, PR is here
https://github.com/GeoWebCache/geowebcache/pull/542
Regards,
David Vick
Software Developer | Boundless <http://www.boundlessgeo.com>
[email protected]
mobile: +1-636-698-3174
On Thu, Sep 14, 2017 at 12:21 PM, Torben Barsballe <
[email protected]> wrote:
> I think we can count this as a bug against the beta, as long as it gets
> fixed before RC-1. I'm going to proceed with publishing the release.
>
> Torben
>
> On Thu, Sep 14, 2017 at 10:17 AM, David Vick <[email protected]>
> wrote:
>
>> I can confirm that is affecting *embedded* only. I was fighting this
>> error on Standalone on Friday, I believe what is happening is the
>> *ContentNegotiationManage*r in *RestConfiguration* in the *Rest* module
>> is streaming the contents before passing the request to the Controller.
>> Consequently, the contents at the Controller are empty. This is the line
>> that is throwing the error
>>
>> *BufferedReader formReader = request.getReader();*
>>
>> even changing to an *inputStreamReader()* will result in the data being
>> an empty string.
>>
>> The resolution for *Standalone* was to remove the
>> *ContentNegotiationManager* from the configuration, however, I’m not
>> sure that is an option for us in GeoServer.
>>
>> David Vick
>>
>> Software Developer | Boundless <http://www.boundlessgeo.com>
>> [email protected]
>> mobile: +1-636-698-3174 <(636)%20698-3174>
>>
>>
>> On Wed, Sep 13, 2017 at 6:44 PM, Torben Barsballe <
>> [email protected]> wrote:
>>
>>> Ben - Devon has ran into the same issue. I wonder if this affects only
>>> embedded GeoWebCache, or standalone as well?
>>>
>>>
>>> Doc build is now fixed, and the correct docs are getting created; new
>>> artifacts are available from http://build-slave-01.geo
>>> server.org/geoserver/release/2.12-beta/
>>>
>>>
>>> Torben
>>>
>>> On Wed, Sep 13, 2017 at 3:38 PM, Ben Caradoc-Davies <[email protected]>
>>> wrote:
>>>
>>>> Basic smoke tests work for me on debian/sid with the bin zip. No
>>>> SNAPSHOT jars in this or the war zip.
>>>>
>>>> Seeding topp:states in GWC fails. I pressed Submit here:
>>>> http://localhost:8080/geoserver/gwc/rest/seed/topp:states
>>>>
>>>> Response is text/plain "STREAMED" and this exception is seen at the
>>>> console:
>>>>
>>>> 14 Sep 10:29:52 ERROR [geoserver.rest] - STREAMED
>>>> java.lang.IllegalStateException: STREAMED
>>>> at org.eclipse.jetty.server.Request.getReader(Request.java:978)
>>>> at javax.servlet.ServletRequestWrapper.getReader(ServletRequest
>>>> Wrapper.java:266)
>>>> at javax.servlet.ServletRequestWrapper.getReader(ServletRequest
>>>> Wrapper.java:266)
>>>> at javax.servlet.ServletRequestWrapper.getReader(ServletRequest
>>>> Wrapper.java:266)
>>>> at javax.servlet.ServletRequestWrapper.getReader(ServletRequest
>>>> Wrapper.java:266)
>>>> at org.geowebcache.rest.service.FormService.handleFormPost(Form
>>>> Service.java:159)
>>>> at org.geowebcache.rest.controller.SeedController.doPost(SeedCo
>>>> ntroller.java:120)
>>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce
>>>> ssorImpl.java:62)
>>>> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe
>>>> thodAccessorImpl.java:43)
>>>> at java.lang.reflect.Method.invoke(Method.java:498)
>>>> at org.springframework.web.method.support.InvocableHandlerMetho
>>>> d.doInvoke(InvocableHandlerMethod.java:205)
>>>> at org.springframework.web.method.support.InvocableHandlerMetho
>>>> d.invokeForRequest(InvocableHandlerMethod.java:133)
>>>> at org.springframework.web.servlet.mvc.method.annotation.Servle
>>>> tInvocableHandlerMethod.invokeAndHandle(ServletInvocableHand
>>>> lerMethod.java:116)
>>>> at org.springframework.web.servlet.mvc.method.annotation.Reques
>>>> tMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHan
>>>> dlerAdapter.java:827)
>>>> at org.springframework.web.servlet.mvc.method.annotation.Reques
>>>> tMappingHandlerAdapter.handleInternal(RequestMappingHandlerA
>>>> dapter.java:738)
>>>> at org.springframework.web.servlet.mvc.method.AbstractHandlerMe
>>>> thodAdapter.handle(AbstractHandlerMethodAdapter.java:85)
>>>> 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.processRequ
>>>> est(FrameworkServlet.java:970)
>>>> at org.springframework.web.servlet.FrameworkServlet.doPost(Fram
>>>> eworkServlet.java:872)
>>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
>>>> at org.springframework.web.servlet.FrameworkServlet.service(Fra
>>>> meworkServlet.java:846)
>>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
>>>> at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder
>>>> .java:808)
>>>> at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilte
>>>> r(ServletHandler.java:1669)
>>>> at org.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(Thr
>>>> eadLocalsCleanupFilter.java:28)
>>>> at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilte
>>>> r(ServletHandler.java:1652)
>>>> at org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(
>>>> SpringDelegatingFilter.java:75)
>>>> at org.geoserver.wms.animate.AnimatorFilter.doFilter(AnimatorFi
>>>> lter.java:71)
>>>> at org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(
>>>> SpringDelegatingFilter.java:71)
>>>> at org.geoserver.filters.SpringDelegatingFilter.doFilter(Spring
>>>> DelegatingFilter.java:46)
>>>> at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilte
>>>> r(ServletHandler.java:1652)
>>>> at org.geoserver.platform.AdvancedDispatchFilter.doFilter(Advan
>>>> cedDispatchFilter.java:50)
>>>> at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilte
>>>> r(ServletHandler.java:1652)
>>>> at org.springframework.security.web.FilterChainProxy$VirtualFil
>>>> terChain.doFilter(FilterChainProxy.java:316)
>>>> at org.geoserver.security.filter.GeoServerCompositeFilter$Neste
>>>> dFilterChain.doFilter(GeoServerCompositeFilter.java:69)
>>>> at org.springframework.security.web.access.intercept.FilterSecu
>>>> rityInterceptor.invoke(FilterSecurityInterceptor.java:126)
>>>> at org.springframework.security.web.access.intercept.FilterSecu
>>>> rityInterceptor.doFilter(FilterSecurityInterceptor.java:90)
>>>> at org.geoserver.security.filter.GeoServerCompositeFilter$Neste
>>>> dFilterChain.doFilter(GeoServerCompositeFilter.java:73)
>>>> at org.geoserver.security.filter.GeoServerCompositeFilter.doFil
>>>> ter(GeoServerCompositeFilter.java:92)
>>>> at org.springframework.security.web.FilterChainProxy$VirtualFil
>>>> terChain.doFilter(FilterChainProxy.java:330)
>>>> at org.geoserver.security.filter.GeoServerCompositeFilter$Neste
>>>> dFilterChain.doFilter(GeoServerCompositeFilter.java:69)
>>>> at org.springframework.security.web.access.ExceptionTranslation
>>>> Filter.doFilter(ExceptionTranslationFilter.java:114)
>>>> at org.geoserver.security.filter.GeoServerCompositeFilter$Neste
>>>> dFilterChain.doFilter(GeoServerCompositeFilter.java:73)
>>>> at org.geoserver.security.filter.GeoServerCompositeFilter.doFil
>>>> ter(GeoServerCompositeFilter.java:92)
>>>> at org.springframework.security.web.FilterChainProxy$VirtualFil
>>>> terChain.doFilter(FilterChainProxy.java:330)
>>>> at org.geoserver.security.filter.GeoServerCompositeFilter$Neste
>>>> dFilterChain.doFilter(GeoServerCompositeFilter.java:69)
>>>> at org.springframework.security.web.authentication.www.BasicAut
>>>> henticationFilter.doFilterInternal(BasicAuthenticationFilter.java:158)
>>>> at org.springframework.web.filter.OncePerRequestFilter.doFilter
>>>> (OncePerRequestFilter.java:107)
>>>> at org.geoserver.security.filter.GeoServerCompositeFilter$Neste
>>>> dFilterChain.doFilter(GeoServerCompositeFilter.java:73)
>>>> at org.geoserver.security.filter.GeoServerCompositeFilter.doFil
>>>> ter(GeoServerCompositeFilter.java:92)
>>>> at org.geoserver.security.filter.GeoServerBasicAuthenticationFi
>>>> lter.doFilter(GeoServerBasicAuthenticationFilter.java:84)
>>>> at org.springframework.security.web.FilterChainProxy$VirtualFil
>>>> terChain.doFilter(FilterChainProxy.java:330)
>>>> at org.geoserver.security.filter.GeoServerCompositeFilter$Neste
>>>> dFilterChain.doFilter(GeoServerCompositeFilter.java:69)
>>>> at org.springframework.security.web.context.SecurityContextPers
>>>> istenceFilter.doFilter(SecurityContextPersistenceFilter.java:91)
>>>> at org.geoserver.security.filter.GeoServerSecurityContextPersis
>>>> tenceFilter$1.doFilter(GeoServerSecurityContextPersistenceFi
>>>> lter.java:53)
>>>> at org.geoserver.security.filter.GeoServerCompositeFilter$Neste
>>>> dFilterChain.doFilter(GeoServerCompositeFilter.java:73)
>>>> at org.geoserver.security.filter.GeoServerCompositeFilter.doFil
>>>> ter(GeoServerCompositeFilter.java:92)
>>>> at org.springframework.security.web.FilterChainProxy$VirtualFil
>>>> terChain.doFilter(FilterChainProxy.java:330)
>>>> at org.springframework.security.web.FilterChainProxy.doFilterIn
>>>> ternal(FilterChainProxy.java:213)
>>>> at org.springframework.security.web.FilterChainProxy.doFilter(F
>>>> ilterChainProxy.java:176)
>>>> at org.geoserver.security.GeoServerSecurityFilterChainProxy.doF
>>>> ilter(GeoServerSecurityFilterChainProxy.java:152)
>>>> at org.springframework.web.filter.DelegatingFilterProxy.invokeD
>>>> elegate(DelegatingFilterProxy.java:346)
>>>> at org.springframework.web.filter.DelegatingFilterProxy.doFilte
>>>> r(DelegatingFilterProxy.java:262)
>>>> at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilte
>>>> r(ServletHandler.java:1652)
>>>> at org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.j
>>>> ava:87)
>>>> at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilte
>>>> r(ServletHandler.java:1652)
>>>> at org.geoserver.filters.XFrameOptionsFilter.doFilter(XFrameOpt
>>>> ionsFilter.java:89)
>>>> at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilte
>>>> r(ServletHandler.java:1652)
>>>> at org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:42
>>>> )
>>>> at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilte
>>>> r(ServletHandler.java:1652)
>>>> at org.geoserver.filters.SessionDebugFilter.doFilter(SessionDeb
>>>> ugFilter.java:48)
>>>> at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilte
>>>> r(ServletHandler.java:1652)
>>>> at org.geoserver.filters.FlushSafeFilter.doFilter(FlushSafeFilt
>>>> er.java:44)
>>>> at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilte
>>>> r(ServletHandler.java:1652)
>>>> at org.springframework.web.filter.CharacterEncodingFilter.doFil
>>>> terInternal(CharacterEncodingFilter.java:197)
>>>> at org.springframework.web.filter.OncePerRequestFilter.doFilter
>>>> (OncePerRequestFilter.java:107)
>>>> at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilte
>>>> r(ServletHandler.java:1652)
>>>> at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHan
>>>> dler.java:585)
>>>> at org.eclipse.jetty.server.handler.ScopedHandler.handle(Scoped
>>>> Handler.java:143)
>>>> at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHa
>>>> ndler.java:577)
>>>> at org.eclipse.jetty.server.session.SessionHandler.doHandle(Ses
>>>> sionHandler.java:223)
>>>> at org.eclipse.jetty.server.handler.ContextHandler.doHandle(Con
>>>> textHandler.java:1127)
>>>> at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHand
>>>> ler.java:515)
>>>> at org.eclipse.jetty.server.session.SessionHandler.doScope(Sess
>>>> ionHandler.java:185)
>>>> at org.eclipse.jetty.server.handler.ContextHandler.doScope(Cont
>>>> extHandler.java:1061)
>>>> at org.eclipse.jetty.server.handler.ScopedHandler.handle(Scoped
>>>> Handler.java:141)
>>>> at org.eclipse.jetty.server.handler.ContextHandlerCollection.ha
>>>> ndle(ContextHandlerCollection.java:215)
>>>> at org.eclipse.jetty.server.handler.HandlerCollection.handle(Ha
>>>> ndlerCollection.java:110)
>>>> at org.eclipse.jetty.server.handler.HandlerWrapper.handle(Handl
>>>> erWrapper.java:97)
>>>> at org.eclipse.jetty.server.Server.handle(Server.java:499)
>>>> at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java
>>>> :310)
>>>> at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConne
>>>> ction.java:257)
>>>> at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnec
>>>> tion.java:540)
>>>> at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(Queued
>>>> ThreadPool.java:635)
>>>> at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedT
>>>> hreadPool.java:555)
>>>> at java.lang.Thread.run(Thread.java:748)
>>>>
>>>> Kind regards,
>>>> Ben.
>>>>
>>>>
>>>>
>>>> On 14/09/17 10:03, Torben Barsballe wrote:
>>>>
>>>>> The geoserver 2.12-beta artifacts are available for testing from
>>>>> http://build-slave-01.geoserver.org/geoserver/release/2.12-beta/
>>>>>
>>>>> (Windows exe and OS X dmg are not yet available, but will be soon)
>>>>>
>>>>> In addition to the regular tests of the GeoServer executable, please
>>>>> also
>>>>> verify the docs, as the doc build procedure has changed as of 2.12.
>>>>>
>>>>> Any assistance testing is appreciated.
>>>>>
>>>>> Thanks,
>>>>>
>>>>> Torben
>>>>>
>>>>>
>>>>>
>>>>> ------------------------------------------------------------
>>>>> ------------------
>>>>> Check out the vibrant tech community on one of the world's most
>>>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Geoserver-devel mailing list
>>>>> [email protected]
>>>>> https://lists.sourceforge.net/lists/listinfo/geoserver-devel
>>>>>
>>>>>
>>>> --
>>>> Ben Caradoc-Davies <[email protected]>
>>>> Director
>>>> Transient Software Limited <http://transient.nz/>
>>>> New Zealand
>>>>
>>>
>>>
>>> ------------------------------------------------------------
>>> ------------------
>>> Check out the vibrant tech community on one of the world's most
>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>> _______________________________________________
>>> Geoserver-devel mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/geoserver-devel
>>>
>>>
>>
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel