java.awt.geom.IllegalPathStateException

missing initial moveto in path definition

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web10

  • Stack trace

    • java.awt.geom.IllegalPathStateException: missing initial moveto in path definition at java.awt.geom.Path2D$Float.needRoom(Path2D.java:263) at java.awt.geom.Path2D.closePath(Path2D.java:1752) at org.pdfbox.util.operator.pagedrawer.FillNonZeroRule.process(FillNonZeroRule.java:71) at org.pdfbox.util.PDFStreamEngine.processOperator(PDFStreamEngine.java:452) at org.pdfbox.util.PDFStreamEngine.processSubStream(PDFStreamEngine.java:215) at org.pdfbox.util.operator.pagedrawer.Invoke.process(Invoke.java:182) at org.pdfbox.util.PDFStreamEngine.processOperator(PDFStreamEngine.java:452) at org.pdfbox.util.PDFStreamEngine.processSubStream(PDFStreamEngine.java:215) at org.pdfbox.util.PDFStreamEngine.processStream(PDFStreamEngine.java:174) at org.pdfbox.pdfviewer.PageDrawer.drawPage(PageDrawer.java:105) at org.pdfbox.pdmodel.PDPage.convertToImage(PDPage.java:657)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    We couldn't find other users who have seen this exception.