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

Loaded FDF document returns null fields

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.8.7, 2.0.0
    • 1.8.8, 2.0.0
    • Parsing
    • MacOS X 10.9.5, Java 1.7.0_65

    Description

      When loading the FDF document below using FDFDocument.load(InputStream) it will load fine but the returned FDFDocument instance returns null when I call fdf.getCatalog().getFDF().getFields().

      In the log I get the following warnings:

      Oct 08, 2014 4:40:37 PM org.apache.pdfbox.pdfparser.XrefTrailerResolver setTrailer
      WARNING: Cannot add trailer because XRef start was not signalled.
      Oct 08, 2014 4:40:37 PM org.apache.pdfbox.pdfparser.XrefTrailerResolver setStartxref
      WARNING: Did not found XRef object at specified startxref position 0
      

      Loading the same FDF file using PDFBox 1.4.0 works fine. All later versions I tried have the same problem (including 1.8.7).

      The FDF document was created using Adobe's FDF Toolkit 6.0 on Windows 8.1.

      You can download the FDF file from https://www.sixtyten.de/ifam/erbst_erkl_form.fdf.zip

      Attachments

        1. erbst_erkl_form.fdf
          2 kB
          Andreas Lehmkühler

        Issue Links

          Activity

            People

              lehmi Andreas Lehmkühler
              tkrammer Thomas Krammer
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: