Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-3447

IllegalArgumentException: Dimensions (width=99999 height=99999) are too large

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.3, 3.0.0 PDFBox
    • 2.0.3, 3.0.0 PDFBox
    • None

    Description

      Caused by: java.lang.IllegalArgumentException: Dimensions (width=99999 height=99999) are too large
          org.apache.pdfbox.rendering.TilingPaint.getImage(TilingPaint.java:138)
          org.apache.pdfbox.rendering.TilingPaint.<init>(TilingPaint.java:69)
          org.apache.pdfbox.rendering.PageDrawer.getPaint(PageDrawer.java:263)
          org.apache.pdfbox.rendering.PageDrawer.getNonStrokingPaint(PageDrawer.java:599)
          org.apache.pdfbox.rendering.PageDrawer.fillPath(PageDrawer.java:675)
          org.apache.pdfbox.contentstream.operator.graphics.FillNonZeroRule.process(FillNonZeroRule.java:36)
          org.apache.pdfbox.contentstream.PDFStreamEngine.processOperator(PDFStreamEngine.java:829)
          org.apache.pdfbox.contentstream.PDFStreamEngine.processStreamOperators(PDFStreamEngine.java:485)
          org.apache.pdfbox.contentstream.PDFStreamEngine.processStream(PDFStreamEngine.java:453)
          org.apache.pdfbox.contentstream.PDFStreamEngine.processPage(PDFStreamEngine.java:156)
          org.apache.pdfbox.rendering.PageDrawer.drawPage(PageDrawer.java:196)
          org.apache.pdfbox.rendering.PDFRenderer.renderImage(PDFRenderer.java:145)
          org.apache.pdfbox.rendering.PDFRenderer.renderImage(PDFRenderer.java:68)
          org.apache.pdfbox.debugger.pagepane.PagePane$RenderWorker.doInBackground(PagePane.java:238)
          org.apache.pdfbox.debugger.pagepane.PagePane$RenderWorker.doInBackground(PagePane.java:219)
          java.lang.Thread.run(Thread.java:745)
      

      The problem is large XStep and YStep values in a pattern.

      Attachments

        1. PDFBOX-3447-Step-99999.pdf
          203 kB
          Tilman Hausherr

        Activity

          People

            tilman Tilman Hausherr
            tilman Tilman Hausherr
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: