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

java.lang.IllegalArgumentException: dash lengths all zero

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0, 2.0.1, 2.0.2
    • Fix Version/s: 2.0.2, 3.0.0 PDFBox
    • Component/s: Rendering
    • Labels:
      None

      Description

      java.lang.IllegalArgumentException: dash lengths all zero
          org.apache.pdfbox.rendering.PageDrawer.getStroke(PageDrawer.java:567)
          org.apache.pdfbox.rendering.PageDrawer.strokePath(PageDrawer.java:576)
          org.apache.pdfbox.contentstream.operator.graphics.StrokePath.process(StrokePath.java:36)
          org.apache.pdfbox.contentstream.PDFStreamEngine.processOperator(PDFStreamEngine.java:814)
          org.apache.pdfbox.contentstream.PDFStreamEngine.processStreamOperators(PDFStreamEngine.java:471)
          org.apache.pdfbox.contentstream.PDFStreamEngine.processStream(PDFStreamEngine.java:445)
          org.apache.pdfbox.contentstream.PDFStreamEngine.processPage(PDFStreamEngine.java:149)
          org.apache.pdfbox.rendering.PageDrawer.drawPage(PageDrawer.java:187)
          org.apache.pdfbox.rendering.PDFRenderer.renderPage(PDFRenderer.java:208)
          org.apache.pdfbox.rendering.PDFRenderer.renderImage(PDFRenderer.java:139)
          org.apache.pdfbox.rendering.PDFRenderer.renderImage(PDFRenderer.java:68)
      

      The dash values are not "all zero", but NaN, which is because the CTM in this file grows bigger and bigger until they are infinite.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: