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

Loaded FDF document returns null fields

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.7, 2.0.0
    • Fix Version/s: 1.8.8, 2.0.0
    • Component/s: Parsing
    • Labels:
    • Environment:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: