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

Erik Merkle emerkle at boundlessgeo.com
Tue Oct 17 08:21:11 PDT 2017


Alessio,

Can you give me any more details about your environment/setup when you see
this? I can't reproduce it with the community GeoServer 2.12-beta and the
plugin. I think I can fix it, but I'd like to be able to reproduce it to be
sure.

Many thanks again,

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

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

On Tue, Oct 17, 2017 at 9:36 AM, Alessio Fabiani <
alessio.fabiani at geo-solutions.it> wrote:

> Hi Erik,
> unfortunately is still doesn't work fine
>
> Stacktrace here:
>
> https://bpaste.net/show/09e2f5b6c0d8
>
>
>
> 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
> <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)
> 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.
>
> On Tue, Oct 17, 2017 at 9:44 AM, Alessio Fabiani <alessio.fabiani at geo-
> solutions.it> wrote:
>
>> Thanks Erik,
>> will make a test asap.
>>
>> 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
>> <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)
>> Italy
>> phone: +39 0584 962313 <0584%20962313>
>> fax:     +39 0584 1660272 <0584%20166%200272>
>> mob:   +39 331 6233686 <331%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.
>>
>> On Tue, Oct 17, 2017 at 12:54 AM, Erik Merkle <emerkle at boundlessgeo.com>
>> wrote:
>>
>>> 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.AbstractDelegatingGeogigM
>>>> essageConverter.isGeogigPackage(AbstractDelegatingGeogigMess
>>>> ageConverter.java:34)
>>>> at org.geogig.geoserver.spring.config.AbstractDelegatingGeogigM
>>>> essageConverter.canWrite(AbstractDelegatingGeogigMessageConv
>>>> erter.java:50)
>>>> at org.springframework.web.servlet.mvc.method.annotation.Abstra
>>>> ctMessageConverterMethodProcessor.getProducibleMediaTypes(Ab
>>>> stractMessageConverterMethodProcessor.java:317)
>>>> at org.springframework.web.servlet.mvc.method.annotation.Abstra
>>>> ctMessageConverterMethodProcessor.writeWithMessageConverters
>>>> (AbstractMessageConverterMethodProcessor.java:184)
>>>> at org.springframework.web.servlet.mvc.method.annotation.Reques
>>>> tResponseBodyMethodProcessor.handleReturnValue(RequestRespon
>>>> seBodyMethodProcessor.java:174)
>>>> at org.springframework.web.method.support.HandlerMethodReturnVa
>>>> lueHandlerComposite.handleReturnValue(HandlerMethodReturnVal
>>>> ueHandlerComposite.java:81)
>>>> at org.springframework.web.servlet.mvc.method.annotation.Servle
>>>> tInvocableHandlerMethod.invokeAndHandle(ServletInvocableHand
>>>> lerMethod.java:132)
>>>> 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.doPut(Frame
>>>> workServlet.java:883)
>>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
>>>> 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.flow.controller.IpBlacklistFilter.doFilter(IpB
>>>> lacklistFilter.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(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.GeoServerAnonymousAuthenticati
>>>> onFilter.doFilter(GeoServerAnonymousAuthenticationFilter.java:54)
>>>> at org.springframework.security.web.FilterChainProxy$VirtualFil
>>>> terChain.doFilter(FilterChainProxy.java:330)
>>>> at org.geoserver.security.oauth2.GeoServerOAuthAuthenticationFi
>>>> lter.doFilter(GeoServerOAuthAuthenticationFilter.java:167)
>>>> 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:213)
>>>> 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.java:88)
>>>> 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.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(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
>>>> <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)
>>>> 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/20171017/63e1c2e4/attachment-0001.html>


More information about the geonode-devel mailing list