Thomas Krammer created PDFBOX-2413:
--------------------------------------
Summary: Loaded FDF document returns null fields
Key: PDFBOX-2413
URL: https://issues.apache.org/jira/browse/PDFBOX-2413
Project: PDFBox
Issue Type: Bug
Affects Versions: 1.8.7
Environment: MacOS X 10.9.5, Java 1.7.0_65
Reporter: Thomas Krammer
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:
{code}
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
{code}
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
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)