org.mapfish.print.InvalidJsonValueException: spec.layers[0].baseURL has an invalid value: https://xxxx.xxxx.co.uk/services/xxxxxxx/wmts/os_background_bng_colour/{style}/{TileMatrixSet}/{TileMatrix}/{TileCol}/{TileRow}.png (Illegal character in path at index 98: https://xxxx.xxxxx.co.uk/services/xxxxxxx/wmts/os_background_bng_colour/{style}/{TileMatrixSet}/{TileMatrix}/{TileCol}/{TileRow}.png)

  1. 0

    How to print a WMTS layer using MapFish v2 (from GeoNetwork)

    Geographic Information Systems | 2 months ago | iant
    org.mapfish.print.InvalidJsonValueException: spec.layers[0].baseURL has an invalid value: https://xxxx.xxxx.co.uk/services/xxxxxxx/wmts/os_background_bng_colour/{style}/{TileMatrixSet}/{TileMatrix}/{TileCol}/{TileRow}.png (Illegal character in path at index 98: https://xxxx.xxxxx.co.uk/services/xxxxxxx/wmts/os_background_bng_colour/{style}/{TileMatrixSet}/{TileMatrix}/{TileCol}/{TileRow}.png)
  2. 0

    Mapfish/Geoserver printing: layer problems

    Geographic Information Systems | 2 years ago | Jan Peters-Anders
    com.itextpdf.text.DocumentException: org.mapfish.print.InvalidJsonValueException: spec.layers[0].baseURL has an invalid value: http://a.tile.openstreetmap.org/ (spec.layers[0].baseURL has an invalid value: http://a.tile.openstreetmap.org/)
  3. 0

    Printing map Not working while changing local geoserver to another geoserver

    GitHub | 2 years ago | YBNayak
    org.mapfish.print.InvalidJsonValueException: spec.layers[0].baseURL has an invalid value: http://ThisIsmyIP:8080/geoserver/Newapp/wcs (spec.layers[0].baseURL has an invalid value: http://ThisIsmyIP:8080/geoserver/Newapp/wcs)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    PrintMap with Geoext + GeoServer

    Stack Overflow | 4 years ago | Asma.O
    org.mapfish.print.InvalidJsonValueException: spec.pages[0].dpi has an invalid value: 0

    Root Cause Analysis

    1. org.mapfish.print.InvalidJsonValueException

      spec.layers[0].baseURL has an invalid value: https://xxxx.xxxx.co.uk/services/xxxxxxx/wmts/os_background_bng_colour/{style}/{TileMatrixSet}/{TileMatrix}/{TileCol}/{TileRow}.png (Illegal character in path at index 98: https://xxxx.xxxxx.co.uk/services/xxxxxxx/wmts/os_background_bng_colour/{style}/{TileMatrixSet}/{TileMatrix}/{TileCol}/{TileRow}.png)

      at org.mapfish.print.map.readers.HTTPMapReader.<init>()
    2. org.mapfish.print
      MapReaderFactoryFinder.create
      1. org.mapfish.print.map.readers.HTTPMapReader.<init>(HTTPMapReader.java:73)
      2. org.mapfish.print.map.readers.TileableMapReader.<init>(TileableMapReader.java:42)
      3. org.mapfish.print.map.readers.WMTSMapReader.<init>(WMTSMapReader.java:90)
      4. org.mapfish.print.map.readers.WMTSMapReader.<init>(WMTSMapReader.java:40)
      5. org.mapfish.print.map.readers.WMTSMapReader$Factory.create(WMTSMapReader.java:68)
      6. org.mapfish.print.map.readers.MapReaderFactoryFinder.create(MapReaderFactoryFinder.java:36)
      6 frames
    3. print-lib
      ChunkDrawer.render
      1. org.mapfish.print.map.MapChunkDrawer.renderImpl(MapChunkDrawer.java:129)
      2. org.mapfish.print.ChunkDrawer.render(ChunkDrawer.java:55)
      2 frames
    4. org.mapfish.print
      MapBlock$1.render
      1. org.mapfish.print.config.layout.MapBlock$1.render(MapBlock.java:77)
      1 frame
    5. print-lib
      PDFCustomBlocks.addAbsoluteDrawer
      1. org.mapfish.print.PDFCustomBlocks.addAbsoluteDrawer(PDFCustomBlocks.java:183)
      1 frame
    6. org.mapfish.print
      Layout.render
      1. org.mapfish.print.config.layout.MapBlock.render(MapBlock.java:73)
      2. org.mapfish.print.config.layout.Page.render(Page.java:73)
      3. org.mapfish.print.config.layout.MainPage.render(MainPage.java:63)
      4. org.mapfish.print.config.layout.Layout.render(Layout.java:59)
      4 frames
    7. print-lib
      MapPrinterServlet.doPost
      1. org.mapfish.print.output.AbstractOutputFormat.doPrint(AbstractOutputFormat.java:30)
      2. org.mapfish.print.output.PdfOutputFactory.print(PdfOutputFactory.java:58)
      3. org.mapfish.print.MapPrinter.print(MapPrinter.java:173)
      4. org.mapfish.print.servlet.MapPrinterServlet.doCreatePDFFile(MapPrinterServlet.java:367)
      5. org.mapfish.print.servlet.MapPrinterServlet.createPDF(MapPrinterServlet.java:184)
      6. org.mapfish.print.servlet.MapPrinterServlet.doPost(MapPrinterServlet.java:112)
      6 frames
    8. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:646)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
      2 frames
    9. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      2 frames
    10. org.fao.geonet
      WebappMetricsFilter.doFilter
      1. org.fao.geonet.monitor.webapp.WebappMetricsFilter.doFilter(WebappMetricsFilter.java:96)
      1 frame
    11. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      2 frames
    12. org.fao.geonet
      MetricsRegistryInitializerFilter.doFilter
      1. org.fao.geonet.monitor.webapp.MetricsRegistryInitializerFilter.doFilter(MetricsRegistryInitializerFilter.java:31)
      1 frame
    13. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      2 frames
    14. UrlRewriteFilter
      UrlRewriteFilter.doFilter
      1. org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)
      2. org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)
      3. org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)
      4. org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:381)
      4 frames
    15. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      2 frames
    16. Spring Security
      FilterChainProxy.doFilter
      1. org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:186)
      2. org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160)
      2 frames
    17. Spring
      DelegatingFilterProxy.doFilter
      1. org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:343)
      2. org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:260)
      2 frames
    18. jeeves.config.springutil
      JeevesDelegatingFilterProxy.doFilter
      1. jeeves.config.springutil.JeevesDelegatingFilterProxy.doFilter(JeevesDelegatingFilterProxy.java:64)
      1 frame
    19. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      2 frames
    20. Spring
      OncePerRequestFilter.doFilter
      1. org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
      2. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
      2 frames
    21. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
      5. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:610)
      6. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
      7. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
      8. org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
      9. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
      10. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
      10 frames
    22. Grizzly HTTP
      JIoEndpoint$SocketProcessor.run
      1. org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1041)
      2. org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
      3. org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:313)
      3 frames
    23. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      3. java.lang.Thread.run(Thread.java:745)
      3 frames