[ 
https://issues.apache.org/jira/browse/PDFBOX-3122?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tilman Hausherr resolved PDFBOX-3122.
-------------------------------------
    Resolution: Fixed
      Assignee: Tilman Hausherr

> IllegalArgumentException: dash lengths all zero
> -----------------------------------------------
>
>                 Key: PDFBOX-3122
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3122
>             Project: PDFBox
>          Issue Type: Improvement
>          Components: Rendering
>    Affects Versions: 2.0.0
>            Reporter: Tilman Hausherr
>            Assignee: Tilman Hausherr
>             Fix For: 2.0.0
>
>
> {code}
> Caused by: java.lang.IllegalArgumentException: dash lengths all zero
>     org.apache.pdfbox.rendering.PageDrawer.getStroke(PageDrawer.java:563)
>     org.apache.pdfbox.rendering.PageDrawer.strokePath(PageDrawer.java:571)
>     
> org.apache.pdfbox.contentstream.operator.graphics.StrokePath.process(StrokePath.java:36)
> {code}
> The content stream has this:
> {code}
>   [ 0.0 0.0 ] 0 d
> {code}
> I'll fix this by checking the dash array and pass an empty array if all 
> elements are 0.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org

Reply via email to