[ 
https://issues.apache.org/jira/browse/PDFBOX-1779?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13821493#comment-13821493
 ] 

Tilman Hausherr commented on PDFBOX-1779:
-----------------------------------------

It works for me in the 2.0 version. This is unreleased. If you want to try it, 
use rev 1535956 and not the trunk, because it has some regressions and doesn't 
build. (You might also want to try the unreleased 1.8 branch)

>  Error: End-of-File, expected line
> ----------------------------------
>
>                 Key: PDFBOX-1779
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1779
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Text extraction
>    Affects Versions: 1.8.2
>         Environment: Linux 
> pdfbox 1.8.2 
>            Reporter: Sharmilee S
>            Priority: Critical
>              Labels: linux, pdf, pdfbox, textExtraction
>         Attachments: HAPROXY.pdf
>
>
> Getting this exception when filename is passed from shell script in linux.
> ExtractText failed with the following exception:
> java.io.IOException: Error: End-of-File, expected line
>         at 
> org.apache.pdfbox.pdfparser.BaseParser.readLine(BaseParser.java:1489)
>         at 
> org.apache.pdfbox.pdfparser.PDFParser.parseHeader(PDFParser.java:298)
>         at org.apache.pdfbox.pdfparser.PDFParser.parse(PDFParser.java:173)
>         at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:1211)
>         at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:1176)
>         at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:1101)
>         at org.apache.pdfbox.ExtractText.startExtraction(ExtractText.java:212)
>         at org.apache.pdfbox.ExtractText.main(ExtractText.java:85)
>         at org.apache.pdfbox.PDFBox.main(PDFBox.java:58)



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to