Description
I get this exception with the attached file:
Exception in thread "main" java.lang.ClassCastException: org.apache.pdfbox.cos.COSFloat cannot be cast to org.apache.pdfbox.cos.COSName at org.apache.pdfbox.pdfparser.PDFParser.readVersionInTrailer(PDFParser.java:918)
The cause is this:
<< /Type /Catalog /PageLabels 68 0 R /Version 1.39999
A version must be like this:
/Version /1.4
I'll fix this by ignoring the wrong version and put out a warning.