Hello, everyone,
I have another question. Running veraPDF (1.13.2) on the following file from the Isartor test suite (in 1-B mode) causes veraPDF to internally throw a Null Pointer Exception:
Misc\isartor-6-7-2-t02-fail-b_report.pdf
Here is the stack trace I see:
WARNING: Exception caught when validaing item
org.verapdf.core.ValidationException: Caught unexpected runtime exception during validation
at org.verapdf.pdfa.validation.validators.BaseValidator.validate(BaseValidator.java:96)
at org.verapdf.processor.ProcessorImpl.validate(ProcessorImpl.java:219)
at org.verapdf.processor.ProcessorImpl.process(ProcessorImpl.java:120)
at org.verapdf.processor.BatchFileProcessor.processItem(BatchFileProcessor.java:98)
at org.verapdf.processor.BatchFileProcessor.processList(BatchFileProcessor.java:74)
at org.verapdf.processor.AbstractBatchProcessor.process(AbstractBatchProcessor.java:102)
at org.verapdf.gui.ValidateWorker.doInBackground(ValidateWorker.java:112)
at org.verapdf.gui.ValidateWorker.doInBackground(ValidateWorker.java:47)
at javax.swing.SwingWorker$1.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at javax.swing.SwingWorker.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException
at org.verapdf.pd.font.cff.CFFFontProgram.containsCode(CFFFontProgram.java:153)
at org.verapdf.pd.font.PDCIDFont.glyphIsPresent(PDCIDFont.java:239)
at org.verapdf.gf.model.impl.operator.textshow.GFGlyph.<init>(GFGlyph.java:94)
at org.verapdf.gf.model.impl.operator.textshow.GFCIDGlyph.<init>(GFCIDGlyph.java:42)
at org.verapdf.gf.model.impl.operator.textshow.GFGlyph.getGlyph(GFGlyph.java:122)
at org.verapdf.gf.model.impl.operator.textshow.GFOpTextShow.getUsedGlyphs(GFOpTextShow.java:158)
at org.verapdf.gf.model.impl.operator.textshow.GFOpTextShow.getLinkedObjects(GFOpTextShow.java:116)
at org.verapdf.gf.model.impl.operator.textshow.GFOpStringTextShow.getLinkedObjects(GFOpStringTextShow.java:58)
at org.verapdf.pdfa.validation.validators.BaseValidator.addAllLinkedObjects(BaseValidator.java:207)
at org.verapdf.pdfa.validation.validators.BaseValidator.checkNext(BaseValidator.java:174)
at org.verapdf.pdfa.validation.validators.BaseValidator.validate(BaseValidator.java:123)
at org.verapdf.pdfa.validation.validators.BaseValidator.validate(BaseValidator.java:94)
... 13 more
Kindly provide a solution.
Thank you,
Rastko at PDFTron Systems Inc.