Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.8.0-incubator
-
None
-
Windows XP
java 1.4.2_07, 1.5.0_17, 1.6.0_11
Description
On attempting to print some of my PDFs, I get the exception included below. This causes an unknown host of errors in rendering the page for printing. It also seems to interrupt the broader print interaction, since page rotation fails after this. I'm working on how to debug this and learn how to help with fixing, but for now I'm just trying to report what I see. Sample file is the same as from PDFBOX-427.
Feb 18, 2009 1:22:23 PM org.apache.pdfbox.util.PDFStreamEngine processOperator
WARNING: java.lang.IllegalArgumentException: dash lengths all zero
at
java.awt.BasicStroke.<init>(BasicStroke.java:207)
org.apache.pdfbox.util.operator.pagedrawer.SetLineDashPattern.process(SetLineDashPattern.java:56)
org.apache.pdfbox.util.PDFStreamEngine.processOperator(PDFStreamEngine.java:491)
org.apache.pdfbox.util.PDFStreamEngine.processSubStream(PDFStreamEngine.java:214)
org.apache.pdfbox.util.PDFStreamEngine.processStream(PDFStreamEngine.java:173)
org.apache.pdfbox.pdfviewer.PageDrawer.drawPage(PageDrawer.java:89)
org.apache.pdfbox.pdmodel.PDPage.print(PDPage.java:764)
sun.print.RasterPrinterJob.printPage(RasterPrinterJob.java:1512)
sun.print.RasterPrinterJob.print(RasterPrinterJob.java:1110)
sun.print.RasterPrinterJob.print(RasterPrinterJob.java:1011)
org.apache.pdfbox.pdmodel.PDDocument.silentPrint(PDDocument.java:886)
TestPdfPrintOptions.main(TestPdfPrintOptions.java:34)
Attachments
Issue Links
- is related to
-
PDFBOX-427 ArrayIndexOutOfBoundsException in drawString
- Closed