Created
April 20, 2020 14:51
-
-
Save gannebamm/ecadb4e9015b8423e1a6ff8c28928d22 to your computer and use it in GitHub Desktop.
printing error on geonode https://github.com/GeoNode/geonode/commit/8ce66dc2839f699d7f589e0e87cba136444c3c8d
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Error on printing: Error while generating PDF: java.lang.IllegalStateException: unsupported protocol: 'jar' | |
at org.apache.commons.httpclient.protocol.Protocol.lazyRegisterProtocol(Protocol.java:149) | |
at org.apache.commons.httpclient.protocol.Protocol.getProtocol(Protocol.java:117) | |
at org.apache.commons.httpclient.HttpHost.<init>(HttpHost.java:107) | |
at org.apache.commons.httpclient.HttpMethodBase.setURI(HttpMethodBase.java:280) | |
at org.apache.commons.httpclient.HttpMethodBase.<init>(HttpMethodBase.java:220) | |
at org.apache.commons.httpclient.methods.GetMethod.<init>(GetMethod.java:89) | |
at org.mapfish.print.PDFUtils.loadImageFromUrl(PDFUtils.java:273) | |
at org.mapfish.print.PDFUtils.handleImageLoadError(PDFUtils.java:385) | |
at org.mapfish.print.PDFUtils.loadImageFromUrl(PDFUtils.java:359) | |
at org.mapfish.print.PDFUtils.getImageDirect(PDFUtils.java:188) | |
at org.mapfish.print.PDFUtils.getImage(PDFUtils.java:111) | |
at org.mapfish.print.PDFUtils.createImage(PDFUtils.java:725) | |
at org.mapfish.print.PDFUtils.createImageChunk(PDFUtils.java:712) | |
at org.mapfish.print.config.layout.LegendsBlock$Renderer.createImageChunk(LegendsBlock.java:669) | |
at org.mapfish.print.config.layout.LegendsBlock$Renderer.createTableCells(LegendsBlock.java:920) | |
at org.mapfish.print.config.layout.LegendsBlock$Renderer.createTableLine(LegendsBlock.java:858) | |
at org.mapfish.print.config.layout.LegendsBlock$Renderer.createLegend(LegendsBlock.java:771) | |
at org.mapfish.print.config.layout.LegendsBlock$Renderer.render(LegendsBlock.java:254) | |
at org.mapfish.print.config.layout.LegendsBlock.render(LegendsBlock.java:152) | |
at org.mapfish.print.PDFUtils.createCell(PDFUtils.java:676) | |
at org.mapfish.print.PDFUtils.buildTable(PDFUtils.java:659) | |
at org.mapfish.print.config.layout.ColumnsBlock$1.render(ColumnsBlock.java:58) | |
at org.mapfish.print.PDFCustomBlocks.addAbsoluteDrawer(PDFCustomBlocks.java:183) | |
at org.mapfish.print.config.layout.ColumnsBlock.render(ColumnsBlock.java:56) | |
at org.mapfish.print.config.layout.Page.render(Page.java:90) | |
at org.mapfish.print.config.layout.Layout.render(Layout.java:64) | |
at org.mapfish.print.output.AbstractOutputFormat.doPrint(AbstractOutputFormat.java:30) | |
at org.mapfish.print.output.PdfOutputFactory.print(PdfOutputFactory.java:61) | |
at org.mapfish.print.MapPrinter.print(MapPrinter.java:175) | |
at org.mapfish.print.servlet.MapPrinterServlet.doCreatePDFFile(MapPrinterServlet.java:383) | |
at org.mapfish.print.servlet.MapPrinterServlet.createPDF(MapPrinterServlet.java:184) | |
at org.mapfish.print.servlet.MapPrinterServlet.doPost(MapPrinterServlet.java:112) | |
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) | |
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) | |
at org.springframework.web.servlet.mvc.ServletWrappingController.handleRequestInternal(ServletWrappingController.java:165) | |
at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:177) | |
at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:52) | |
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1038) | |
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942) | |
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:998) | |
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:901) | |
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) | |
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:875) | |
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) | |
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:873) | |
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1623) | |
at org.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(ThreadLocalsCleanupFilter.java:26) | |
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) | |
at org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:69) | |
at org.geoserver.wms.animate.AnimatorFilter.doFilter(AnimatorFilter.java:73) | |
at org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:66) | |
at org.geoserver.monitor.MonitorFilter.doFilter(MonitorFilter.java:86) | |
at org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:66) | |
at org.geoserver.flow.controller.IpBlacklistFilter.doFilter(IpBlacklistFilter.java:89) | |
at org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:66) | |
at org.geoserver.filters.SpringDelegatingFilter.doFilter(SpringDelegatingFilter.java:41) | |
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) | |
at org.geoserver.platform.AdvancedDispatchFilter.doFilter(AdvancedDispatchFilter.java:37) | |
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) | |
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:320) | |
at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:70) | |
at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:127) | |
at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:91) | |
at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:74) | |
at org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:91) | |
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) | |
at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:70) | |
at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:119) | |
at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:74) | |
at org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:91) | |
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) | |
at org.geoserver.security.filter.GeoServerAnonymousAuthenticationFilter.doFilter(GeoServerAnonymousAuthenticationFilter.java:51) | |
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) | |
at org.geoserver.security.oauth2.GeoServerOAuthAuthenticationFilter.doFilter(GeoServerOAuthAuthenticationFilter.java:174) | |
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) | |
at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:70) | |
at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilterInternal(BasicAuthenticationFilter.java:158) | |
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) | |
at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:74) | |
at org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:91) | |
at org.geoserver.security.filter.GeoServerBasicAuthenticationFilter.doFilter(GeoServerBasicAuthenticationFilter.java:81) | |
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) | |
at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:70) | |
at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:105) | |
at org.geoserver.security.filter.GeoServerSecurityContextPersistenceFilter$1.doFilter(GeoServerSecurityContextPersistenceFilter.java:52) | |
at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:74) | |
at org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:91) | |
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) | |
at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:215) | |
at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:178) | |
at org.geoserver.security.GeoServerSecurityFilterChainProxy.doFilter(GeoServerSecurityFilterChainProxy.java:142) | |
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:357) | |
at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:270) | |
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) | |
at org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:101) | |
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) | |
at org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:47) | |
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) | |
at org.geoserver.filters.SessionDebugFilter.doFilter(SessionDebugFilter.java:46) | |
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) | |
at org.geoserver.filters.FlushSafeFilter.doFilter(FlushSafeFilter.java:42) | |
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) | |
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) | |
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) | |
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1602) | |
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:540) | |
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:146) | |
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548) | |
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) | |
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:257) | |
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1700) | |
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255) | |
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1345) | |
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:203) | |
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:480) | |
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1667) | |
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:201) | |
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1247) | |
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:144) | |
at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:220) | |
at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:152) | |
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) | |
at org.eclipse.jetty.server.Server.handle(Server.java:505) | |
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:370) | |
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:267) | |
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:305) | |
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103) | |
at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:117) | |
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:333) | |
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:310) | |
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:168) | |
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:126) | |
at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:366) | |
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:698) | |
at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:804) | |
at java.lang.Thread.run(Thread.java:748) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Just went throught that error now when trying to Print a Geonode Map on dockerized genode-project (geonode v3.1) . Tried A3 and A4, with and without legend.