Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.0.0, 2.0.1, 2.0.2
-
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.