Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.8.12, 1.8.13, 2.0.2, 2.0.3, 3.0.0 PDFBox
-
Fix Version/s: 1.8.13, 2.0.3, 3.0.0 PDFBox
-
Component/s: Preflight
-
Labels:None
Description
If malformed PDF/A identification metadata without <pdfaid:part> element is present, Preflight PDFAIdentificationValidation throws NPE:
java.lang.NullPointerException at org.apache.pdfbox.preflight.metadata.PDFAIdentificationValidation.validatePDFAIdentifer(PDFAIdentificationValidation.java:85) ...
PDFAIdentificationValidation.checkPartNumber() method should register an error instead.