Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-1779

Error: End-of-File, expected line

    XMLWordPrintableJSON

    Details

      Description

      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)

        Attachments

        1. HAPROXY.pdf
          151 kB
          Sharmilee S

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                Sharmilee Sharmilee S
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: