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

Massimo Franzoni updated PDFBOX-2728:
-------------------------------------
    Description: 
I get this exception :

{code}
java.awt.geom.IllegalPathStateException: missing initial moveto in path 
definition
        at java.awt.geom.Path2D$Float.needRoom(Path2D.java:280)
        at java.awt.geom.Path2D.closePath(Path2D.java:1769)
        at org.apache.pdfbox.rendering.PageDrawer.closePath(PageDrawer.java:693)
        at 
org.apache.pdfbox.contentstream.operator.graphics.ClosePath.process(ClosePath.java:35)
        at 
org.apache.pdfbox.contentstream.PDFStreamEngine.processOperator(PDFStreamEngine.java:788)
        at 
org.apache.pdfbox.contentstream.PDFStreamEngine.processStreamOperators(PDFStreamEngine.java:454)
        at 
org.apache.pdfbox.contentstream.PDFStreamEngine.processStream(PDFStreamEngine.java:425)
        at 
org.apache.pdfbox.contentstream.PDFStreamEngine.processStream(PDFStreamEngine.java:398)
        at 
org.apache.pdfbox.contentstream.PDFStreamEngine.processPage(PDFStreamEngine.java:164)
        at org.apache.pdfbox.rendering.PageDrawer.drawPage(PageDrawer.java:164)
        at 
org.apache.pdfbox.rendering.PDFRenderer.renderPage(PDFRenderer.java:213)
{code}

similar to PDFBOX-2189.

I can't include the PDF file for privacy reasonm but I tthink a similar check 
made for the other bug could fix also this problem in: 
org.apache.pdfbox.contentstream.operator.graphics.ClosePath

  was:
I get this exception :

[code]
java.awt.geom.IllegalPathStateException: missing initial moveto in path 
definition
        at java.awt.geom.Path2D$Float.needRoom(Path2D.java:280)
        at java.awt.geom.Path2D.closePath(Path2D.java:1769)
        at org.apache.pdfbox.rendering.PageDrawer.closePath(PageDrawer.java:693)
        at 
org.apache.pdfbox.contentstream.operator.graphics.ClosePath.process(ClosePath.java:35)
        at 
org.apache.pdfbox.contentstream.PDFStreamEngine.processOperator(PDFStreamEngine.java:788)
        at 
org.apache.pdfbox.contentstream.PDFStreamEngine.processStreamOperators(PDFStreamEngine.java:454)
        at 
org.apache.pdfbox.contentstream.PDFStreamEngine.processStream(PDFStreamEngine.java:425)
        at 
org.apache.pdfbox.contentstream.PDFStreamEngine.processStream(PDFStreamEngine.java:398)
        at 
org.apache.pdfbox.contentstream.PDFStreamEngine.processPage(PDFStreamEngine.java:164)
        at org.apache.pdfbox.rendering.PageDrawer.drawPage(PageDrawer.java:164)
        at 
org.apache.pdfbox.rendering.PDFRenderer.renderPage(PDFRenderer.java:213)
[/code]

similar to @PDFBOX-2189.

I can't include the PDF file for privacy reasonm but I tthink a similar check 
made for the other bug could fix also this problem in: 
org.apache.pdfbox.contentstream.operator.graphics.ClosePath


> java.awt.geom.IllegalPathStateException: missing initial moveto in path 
> definition
> ----------------------------------------------------------------------------------
>
>                 Key: PDFBOX-2728
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-2728
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Rendering
>    Affects Versions: 2.0.0
>            Reporter: Massimo Franzoni
>
> I get this exception :
> {code}
> java.awt.geom.IllegalPathStateException: missing initial moveto in path 
> definition
>       at java.awt.geom.Path2D$Float.needRoom(Path2D.java:280)
>       at java.awt.geom.Path2D.closePath(Path2D.java:1769)
>       at org.apache.pdfbox.rendering.PageDrawer.closePath(PageDrawer.java:693)
>       at 
> org.apache.pdfbox.contentstream.operator.graphics.ClosePath.process(ClosePath.java:35)
>       at 
> org.apache.pdfbox.contentstream.PDFStreamEngine.processOperator(PDFStreamEngine.java:788)
>       at 
> org.apache.pdfbox.contentstream.PDFStreamEngine.processStreamOperators(PDFStreamEngine.java:454)
>       at 
> org.apache.pdfbox.contentstream.PDFStreamEngine.processStream(PDFStreamEngine.java:425)
>       at 
> org.apache.pdfbox.contentstream.PDFStreamEngine.processStream(PDFStreamEngine.java:398)
>       at 
> org.apache.pdfbox.contentstream.PDFStreamEngine.processPage(PDFStreamEngine.java:164)
>       at org.apache.pdfbox.rendering.PageDrawer.drawPage(PageDrawer.java:164)
>       at 
> org.apache.pdfbox.rendering.PDFRenderer.renderPage(PDFRenderer.java:213)
> {code}
> similar to PDFBOX-2189.
> I can't include the PDF file for privacy reasonm but I tthink a similar check 
> made for the other bug could fix also this problem in: 
> org.apache.pdfbox.contentstream.operator.graphics.ClosePath



--
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