[ https://issues.apache.org/jira/browse/PDFBOX-3472?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tilman Hausherr resolved PDFBOX-3472. ------------------------------------- Resolution: Fixed Assignee: Tilman Hausherr Fix Version/s: 2.1.0 2.0.3 1.8.13 > NPE when PDF/A identification metadata does not contain ID > ---------------------------------------------------------- > > Key: PDFBOX-3472 > URL: https://issues.apache.org/jira/browse/PDFBOX-3472 > Project: PDFBox > Issue Type: Bug > Components: Preflight > Affects Versions: 1.8.12, 1.8.13, 2.0.2, 2.0.3, 2.1.0 > Reporter: Petras > Assignee: Tilman Hausherr > Fix For: 1.8.13, 2.0.3, 2.1.0 > > Attachments: PDFBOX-3472_fixNPE.patch > > > If malformed PDF/A identification metadata without {{<pdfaid:part>}} element > is present, Preflight PDFAIdentificationValidation throws NPE: > {code:xml} > java.lang.NullPointerException > at > org.apache.pdfbox.preflight.metadata.PDFAIdentificationValidation.validatePDFAIdentifer(PDFAIdentificationValidation.java:85) > ... > {code} > PDFAIdentificationValidation.checkPartNumber() method should register an > error instead. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org