[
https://issues.apache.org/jira/browse/PDFBOX-4087?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16345696#comment-16345696
]
Tilman Hausherr commented on PDFBOX-4087:
-----------------------------------------
The list is fine (you may need bouncy castle too, see dependency list on the
website), but the problem you've mentioned is something else. My theory is that
your file is empty. Maybe you're copying files around between different
applications and pdfbox accessed it before the copying is done?
> load PDF Issue
> --------------
>
> Key: PDFBOX-4087
> URL: https://issues.apache.org/jira/browse/PDFBOX-4087
> Project: PDFBox
> Issue Type: Bug
> Components: Parsing
> Affects Versions: 2.0.8
> Reporter: Naga Gpr
> Priority: Major
> Attachments: Printing.java, VOTEENGI.pdf
>
>
> Dear Sir,
> we are trying auto print pdf using PDFBOX 2.0.8,but we are facing below issue.
> java.io.IOException: Error: End-of-File, expected line
> at org.apache.pdfbox.pdfparser.BaseParser.readLine(BaseParser.java:1119)
> at org.apache.pdfbox.pdfparser.COSParser.parseHeader(COSParser.java:2442)
> at
> org.apache.pdfbox.pdfparser.COSParser.parsePDFHeader(COSParser.java:2425)
> at org.apache.pdfbox.pdfparser.PDFParser.parse(PDFParser.java:233)
> at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:1013)
> at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:969)
> at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:917)
> at signatures.chapter1.Printing.main(Printing.java:40)
>
> Can you please help me on this ASPA.
>
> Thanks,
> -Naga
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]