Hi Jason, this looks like a result of the fuser not setting up the request object correctly leading to a failure when the new security filter system tries to check that the requested layer is accessible.
I've ticketed this upstream in GWC https://github.com/GeoWebCache/geowebcache/issues/558 On 2017-11-10 06:52 AM, Jason Newmoyer wrote: > So I fixed the leaflet maps by upgrading to 1.0.3 (from 0.7.3). I had > a look at leaflet's code and couldn't determine what changed to cause > zoom levels 0 and 1 to be non conforming to the tileset. > > But this issue sheds like on that fact that I think fullWMS is > basically broken at 2.12. We have a wide variety of clients that use > our map services and many are "non conforming" (just ignore tileset > definitions). So we may be looking at rolling back to 2.11. > > I'll check a few more things before making that decision but any > suggestions would be greatly appreciated. > > > Jason Newmoyer > Newmoyer Geospatial Solutions > 843.606.0424 > [email protected] <mailto:[email protected]> > > > > On Fri, Nov 10, 2017 at 4:22 AM, Andrea Aime > <[email protected] <mailto:[email protected]>> > wrote: > > Hi Jason, > I have no clue, but seems somewhat related to another mail sent by > Paul Wittle some days ago (about gridset bounds > disappearing from the GWC layer configuration). > Unfortunately I don't have an answer for those or even this one > personally... > > Cheers > Andrea > > > On Wed, Nov 8, 2017 at 9:50 PM, Jason Newmoyer > <[email protected] > <mailto:[email protected]>> wrote: > > Just updated to 2.12.0 (from 2.11.2) and now getting blank > tiles in my leaflet maps at zoom levels 0 and 1. The map tiles > start showing up fine at zoom level 2. I'm getting one of > these stacks for every request: > > 2017-11-08 20:48:03,412 INFO > [com.ngs.geoserver.custom.RequestLoggingFilter] - 10.1.7.85 > anonymous GET > > /geoserver/gwc/service/wms?SERVICE=WMS&REQUEST=GetMap&VERSION=1.1.1&LAYERS=osm&STYLES=&FORMAT=image%2Fpng&TRANSPARENT=true&HEIGHT=256&WIDTH=256&SRS=EPSG%3A4326&BBOX=0,0,180,180 > Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:56.0) > Gecko/20100101 Firefox/56.0 status:200 size: unknown mime: > unknown took 8ms > java.lang.NullPointerException > at > > org.geowebcache.conveyor.ConveyorTile.getGridSubset(ConveyorTile.java:162) > at > > org.geowebcache.filter.security.SecurityDispatcher.checkSecurity(SecurityDispatcher.java:59) > at > > org.geowebcache.service.wms.WMSTileFuser.renderCanvas(WMSTileFuser.java:530) > at > > org.geowebcache.service.wms.WMSTileFuser.writeResponse(WMSTileFuser.java:629) > at > > org.geowebcache.service.wms.WMSService.handleRequest(WMSService.java:297) > at > > org.geowebcache.service.wms.WMSService$$FastClassBySpringCGLIB$$85c0e55b.invoke(<generated>) > at > > org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) > at > > org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:721) > at > > org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) > at > > org.geoserver.gwc.config.GWCServiceEnablementInterceptor.invoke(GWCServiceEnablementInterceptor.java:57) > at > > org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) > at > > org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:656) > at > > org.geowebcache.service.wms.WMSService$$EnhancerBySpringCGLIB$$5474036e.handleRequest(<generated>) > at > > org.geowebcache.GeoWebCacheDispatcher.handleServiceRequest(GeoWebCacheDispatcher.java:375) > at > > org.geowebcache.GeoWebCacheDispatcher.handleRequestInternal(GeoWebCacheDispatcher.java:270) > at > > org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:174) > at > > org.geoserver.gwc.dispatch.GwcServiceProxy.dispatch(GwcServiceProxy.java:95) > at > sun.reflect.GeneratedMethodAccessor472.invoke(Unknown Source) > at > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:498) > at > org.geoserver.ows.Dispatcher.execute(Dispatcher.java:857) > at > > org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:268) > 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:687) > at > > org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846) > at > javax.servlet.http.HttpServlet.service(HttpServlet.java:790) > at > org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:845) > at > > org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1689) > at > > org.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(ThreadLocalsCleanupFilter.java:28) > at > > org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1676) > 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.filters.SpringDelegatingFilter.doFilter(SpringDelegatingFilter.java:46) > at > > org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1676) > at > > org.geoserver.platform.AdvancedDispatchFilter.doFilter(AdvancedDispatchFilter.java:50) > at > > org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1676) > > Jason Newmoyer > Newmoyer Geospatial Solutions > 843.606.0424 <tel:%28843%29%20606-0424> > [email protected] <mailto:[email protected]> > > > > > ------------------------------------------------------------------------------ > 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#/ > <http://www.ianturton.com/talks/foss4g.html#/> > - The GeoServer user list posting guidelines: > http://geoserver.org/comm/userlist-guidelines.html > <http://geoserver.org/comm/userlist-guidelines.html> > > [email protected] > <mailto:[email protected]> > https://lists.sourceforge.net/lists/listinfo/geoserver-users > <https://lists.sourceforge.net/lists/listinfo/geoserver-users> > > > > > -- > > Regards, > > Andrea Aime > > ==GeoServer Professional Services from the experts! Visit > http://goo.gl/it488V for more information.==Ing. Andrea Aime > @geowolfTechnical LeadGeoSolutions S.A.S.Via di Montramito 3/A > > <https://maps.google.com/?q=Via+di+Montramito+3/A+55054+%C2%A0Massarosa&entry=gmail&source=g>55054 > Massarosa > > <https://maps.google.com/?q=Via+di+Montramito+3/A+55054+%C2%A0Massarosa&entry=gmail&source=g> > (LU)phone: +39 0584 962313 <tel:+39%200584%20962313>fax: +39 0584 > 1660272 <tel:+39%200584%20166%200272>mob: +39 339 8844549 > > <tel:+39%20339%20884%204549>http://www.geo-solutions.ithttp://twitter.com/geosolutions_it > <http://twitter.com/geosolutions_it> > > AVVERTENZE AI SENSI DEL D.Lgs. 196/2003 > > Le informazioni contenute in questo messaggio di posta elettronica > e/o nel/i file/s allegato/i sono da considerarsi strettamente > riservate. Il loro utilizzo è consentito esclusivamente al > destinatario del messaggio, per le finalità indicate nel messaggio > stesso. Qualora riceviate questo messaggio senza esserne il > destinatario, Vi preghiamo cortesemente di darcene notizia via > e-mail e di procedere alla distruzione del messaggio stesso, > cancellandolo dal Vostro sistema. Conservare il messaggio stesso, > divulgarlo anche in parte, distribuirlo ad altri soggetti, > copiarlo, od utilizzarlo per finalità diverse, costituisce > comportamento contrario ai principi dettati dal D.Lgs. 196/2003. > > The information in this message and/or attachments, is intended > solely for the attention and use of the named addressee(s) and may > be confidential or proprietary in nature or covered by the > provisions of privacy act (Legislative Decree June, 30 2003, > no.196 - Italy's New Data Protection Code).Any use not in accord > with its purpose, any disclosure, reproduction, copying, > distribution, or either dissemination, either whole or partial, is > strictly forbidden except previous formal approval of the named > addressee(s). If you are not the intended recipient, please > contact immediately the sender by telephone, fax or e-mail and > delete the information in this message that has been received in > error. The sender does not give any warranty or accept liability > as the content, accuracy or completeness of sent messages and > accepts no responsibility for changes made after they were sent > or for other risks which arise as a result of e-mail transmission, > viruses, etc. > > -- Kevin Michael Smith <[email protected]>
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ 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 [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
