java.awt.geom.IllegalPathStateException: missing initial moveto in path definition

pdfbox-dev | Jukka Zitting (JIRA) | 9 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    [jira] Resolved: (PDFBOX-253) IllegalPathException in FillNonZeroRule.java (nightly build)

    pdfbox-dev | 9 years ago | Jukka Zitting (JIRA)
    java.awt.geom.IllegalPathStateException: missing initial moveto in path definition

    Root Cause Analysis

    1. java.awt.geom.IllegalPathStateException

      missing initial moveto in path definition

      at java.awt.geom.GeneralPath.needRoom()
    2. Java RT
      GeneralPath.closePath
      1. java.awt.geom.GeneralPath.needRoom(GeneralPath.java:144)
      2. java.awt.geom.GeneralPath.closePath(GeneralPath.java:255)
      2 frames
    3. PDFBox - Java PDF Library
      PDPage.print
      1. org.pdfbox.util.operator.pagedrawer.FillNonZeroRule.process(FillNonZeroRule.java:71)
      2. org.pdfbox.util.PDFStreamEngine.processOperator(PDFStreamEngine.java:494)
      3. org.pdfbox.util.PDFStreamEngine.processOperator(PDFStreamEngine.java:477)
      4. org.pdfbox.util.operator.pagedrawer.FillNonZeroAndStrokePath.process(FillNonZeroAndStrokePath.java:62)
      5. org.pdfbox.util.PDFStreamEngine.processOperator(PDFStreamEngine.java:494)
      6. org.pdfbox.util.PDFStreamEngine.processSubStream(PDFStreamEngine.java:215)
      7. org.pdfbox.util.PDFStreamEngine.processStream(PDFStreamEngine.java:174)
      8. org.pdfbox.pdfviewer.PageDrawer.drawPage(PageDrawer.java:105)
      9. org.pdfbox.pdmodel.PDPage.print(PDPage.java:741)
      9 frames
    4. Java RT
      RasterPrinterJob.print
      1. sun.print.RasterPrinterJob.printPage(RasterPrinterJob.java:1785)
      2. sun.print.RasterPrinterJob.print(RasterPrinterJob.java:1334)
      3. sun.print.RasterPrinterJob.print(RasterPrinterJob.java:1196)
      3 frames
    5. PDFBox - Java PDF Library
      PrintPDF.main
      1. org.pdfbox.pdmodel.PDDocument.print(PDDocument.java:829)
      2. org.pdfbox.PrintPDF.main(PrintPDF.java:108)
      2 frames