Addendum: On Wed, Jan 27, 2016 at 11:53 PM, Roberto Nibali <[email protected]> wrote:
> Hi Tilman > > > > On Wed, Jan 27, 2016 at 11:51 PM, Tilman Hausherr <[email protected]> > wrote: > >> Am 27.01.2016 um 18:48 schrieb Tilman Hausherr: >> >>> Am 27.01.2016 um 15:08 schrieb Roberto Nibali: >>> >>>> >>>> >>>> The PDF uploaded to http://www.filedropper.com/6biasebm seems to have >>>> a broken header section. It opens well with Preview, Adobe and others, >>>> however preflight repeatedly trips pretty badly with a NFE: >>>> >>>> log4j: Adding appender named [console] to category [root]. >>>> 2016-01-27 14:52:38 DEBUG COSParser:1879 - Can't parse the header >>>> version. >>>> java.lang.NumberFormatException: For input string: "1.\" >>>> at >>>> sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:2043) >>>> >>> >>> That's only in debugging that this is shown. The NFE is retrown as an >>> IOException and this should result in a normal preflight error. >>> >>> However I don't get this with your file. Instead I get this, which is >>> even worse: >>> >>> Exception in thread "main" java.lang.NullPointerException >>> at >>> org.apache.xmpbox.xml.PdfaExtensionHelper.populatePDFAPropertyType(PdfaExtensionHelper.java:180) >>> >> >> This has been fixed, output is now several errors including >> >> 7.6 : Error on MetaData, Unknown property value type : Seq Text >> >> > Yep, it's fixed with your last commit. Just verified on my side. > > I decided to run a quick regression test using the following suites (317 PDF files in total): - The cabinet of horrors PDF suite: http://opf-labs.org/format-corpus/pdfCabinetOfHorrors/ (get the PDFs: 'wget -A pdf -m -p -E -k -K -np http://opf-labs.org/format-corpus/pdfCabinetOfHorrors/') - The Bavaria report test suite: http://www.pdflib.com/fileadmin/pdflib/Bavaria/2009-04-03-Bavaria-pdfa.zip - The Isartor report test suite: http://www.pdfa.org/wp-content/uploads/2011/08/isartor-pdfa-2008-08-13.zip Basically, no NPE was triggered anymore from what I can see. The Isartor test suite is a bit crazy, so preflight spat some 'java.io.IOException: head is mandatory' exceptions; none of them affected the final reports. Other than that, preflight looks pretty ok. Cheers Roberto

