[GeoNode-devel] [Geoserver-devel] GeoGig Exception with GeoServer 2.12+

Erik Merkle emerkle at boundlessgeo.com
Mon Oct 16 15:54:40 PDT 2017


Alessio,

Thanks for letting me know. I hadn't come across this in testing myself,
but theses 2 merged PRs should address the issue:
(master) - https://github.com/geoserver/geoserver/pull/2600
(2.12.x) - https://github.com/geoserver/geoserver/pull/2601

​Let me know if you still have issues with the plugin for GeoGig,
​

Erik Merkle
Software Engineer | Boundless <http://boundlessgeo.com/>

<http://d32wfbeasdaw38.cloudfront.net/img/Boundless_Logo.png>

On Fri, Oct 13, 2017 at 12:16 PM, Alessio Fabiani <
alessio.fabiani at geo-solutions.it> wrote:

> Sorry for cross-posting.
>
> Just wanted to highlight that currently trying to use GeoGig extension on
> GeoServer 2.12+ throws the following exception
>
> 13 ott 19:13:16 ERROR [geoserver.rest] -
> java.lang.NullPointerException
> at org.geogig.geoserver.spring.config.AbstractDelegatingGeogigMessag
> eConverter.isGeogigPackage(AbstractDelegatingGeogigMessag
> eConverter.java:34)
> at org.geogig.geoserver.spring.config.AbstractDelegatingGeogigMessag
> eConverter.canWrite(AbstractDelegatingGeogigMessageConverter.java:50)
> at org.springframework.web.servlet.mvc.method.annotation.
> AbstractMessageConverterMethodProcessor.getProducibleMediaTypes(
> AbstractMessageConverterMethodProcessor.java:317)
> at org.springframework.web.servlet.mvc.method.annotation.
> AbstractMessageConverterMethodProcessor.writeWithMessageConverters(
> AbstractMessageConverterMethodProcessor.java:184)
> at org.springframework.web.servlet.mvc.method.annotation.
> RequestResponseBodyMethodProcessor.handleReturnValue(
> RequestResponseBodyMethodProcessor.java:174)
> at org.springframework.web.method.support.HandlerMethodReturnValueHandle
> rComposite.handleReturnValue(HandlerMethodReturnValueHandle
> rComposite.java:81)
> at org.springframework.web.servlet.mvc.method.annotation.
> ServletInvocableHandlerMethod.invokeAndHandle(
> ServletInvocableHandlerMethod.java:132)
> at org.springframework.web.servlet.mvc.method.annotation.
> RequestMappingHandlerAdapter.invokeHandlerMethod(
> RequestMappingHandlerAdapter.java:827)
> at org.springframework.web.servlet.mvc.method.annotation.
> RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.
> java:738)
> at org.springframework.web.servlet.mvc.method.
> AbstractHandlerMethodAdapter.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.processRequest(
> FrameworkServlet.java:970)
> at org.springframework.web.servlet.FrameworkServlet.
> doPut(FrameworkServlet.java:883)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
> 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:808)
> at org.eclipse.jetty.servlet.ServletHandler$CachedChain.
> doFilter(ServletHandler.java:1669)
> at org.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(
> ThreadLocalsCleanupFilter.java:28)
> at org.eclipse.jetty.servlet.ServletHandler$CachedChain.
> doFilter(ServletHandler.java:1652)
> at org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(
> SpringDelegatingFilter.java:75)
> at org.geoserver.flow.controller.IpBlacklistFilter.doFilter(
> IpBlacklistFilter.java:94)
> 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.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:1652)
> at org.geoserver.platform.AdvancedDispatchFilter.doFilter(
> AdvancedDispatchFilter.java:50)
> at org.eclipse.jetty.servlet.ServletHandler$CachedChain.
> doFilter(ServletHandler.java:1652)
> 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.oauth2.GeoServerOAuthAuthenticationFi
> lter.doFilter(GeoServerOAuthAuthenticationFilter.java:167)
> 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.
> BasicAuthenticationFilter.doFilterInternal(BasicAuthenticationFilter.
> java:213)
> at org.springframework.web.filter.OncePerRequestFilter.
> doFilter(OncePerRequestFilter.java:107)
> 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.GeoServerBasicAuthenticationFi
> lter.doFilter(GeoServerBasicAuthenticationFilter.java:84)
> 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.SecurityContextPersistenceFilt
> er.doFilter(SecurityContextPersistenceFilter.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.eclipse.jetty.servlet.ServletHandler$CachedChain.
> doFilter(ServletHandler.java:1652)
> at org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:88)
> at org.eclipse.jetty.servlet.ServletHandler$CachedChain.
> doFilter(ServletHandler.java:1652)
> at org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:42)
> at org.eclipse.jetty.servlet.ServletHandler$CachedChain.
> doFilter(ServletHandler.java:1652)
> at org.geoserver.filters.SessionDebugFilter.doFilter(
> SessionDebugFilter.java:48)
> at org.eclipse.jetty.servlet.ServletHandler$CachedChain.
> doFilter(ServletHandler.java:1652)
> at org.geoserver.filters.FlushSafeFilter.doFilter(FlushSafeFilter.java:44)
> at org.eclipse.jetty.servlet.ServletHandler$CachedChain.
> doFilter(ServletHandler.java:1652)
> at org.springframework.web.filter.CharacterEncodingFilter.
> doFilterInternal(CharacterEncodingFilter.java:197)
> at org.springframework.web.filter.OncePerRequestFilter.
> doFilter(OncePerRequestFilter.java:107)
> at org.eclipse.jetty.servlet.ServletHandler$CachedChain.
> doFilter(ServletHandler.java:1652)
> at org.eclipse.jetty.servlet.ServletHandler.doHandle(
> ServletHandler.java:585)
> at org.eclipse.jetty.server.handler.ScopedHandler.handle(
> ScopedHandler.java:143)
> at org.eclipse.jetty.security.SecurityHandler.handle(
> SecurityHandler.java:577)
> at org.eclipse.jetty.server.session.SessionHandler.
> doHandle(SessionHandler.java:223)
> at org.eclipse.jetty.server.handler.ContextHandler.
> doHandle(ContextHandler.java:1127)
> at org.eclipse.jetty.servlet.ServletHandler.doScope(
> ServletHandler.java:515)
> at org.eclipse.jetty.server.session.SessionHandler.
> doScope(SessionHandler.java:185)
> at org.eclipse.jetty.server.handler.ContextHandler.
> doScope(ContextHandler.java:1061)
> at org.eclipse.jetty.server.handler.ScopedHandler.handle(
> ScopedHandler.java:141)
> at org.eclipse.jetty.server.handler.HandlerWrapper.handle(
> HandlerWrapper.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(
> HttpConnection.java:257)
> at org.eclipse.jetty.io.AbstractConnection$2.run(
> AbstractConnection.java:540)
> at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(
> QueuedThreadPool.java:635)
> at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(
> QueuedThreadPool.java:555)
> at java.lang.Thread.run(Unknown Source)
>
>
> Regards,
>
> Alessio Fabiani
>
> ==
> GeoServer Professional Services from the experts! Visit
> http://goo.gl/it488V for more information.
> ==
>
> Ing. Alessio Fabiani
>
> @alfa7691
> Founder/Technical Lead
>
>
> GeoSolutions S.A.S.
> Via di Montramito 3/A
> 55054  Massarosa (LU)
> Italy
> phone: +39 0584 962313 <+39%200584%20962313>
> fax:     +39 0584 1660272 <+39%200584%20166%200272>
> mob:   +39 331 6233686 <+39%20331%20623%203686>
>
> http://www.geo-solutions.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.
>
> ------------------------------------------------------------
> ------------------
> 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
> Geoserver-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-devel/attachments/20171016/a8dd9bc5/attachment-0001.html>


More information about the geonode-devel mailing list