org.verapdf.core.ValidationException: Caught unexpected runtime exception during validation


Solutions on the web

Solution icon of github
via GitHub by ravn
, 9 months ago
Caught unexpected runtime exception during validation

Solution icon of github
Caught unexpected runtime exception during validation

Solution icon of github
via GitHub by stanislav-rogozhin
, 9 months ago
Caught unexpected runtime exception during validation

Solution icon of github
via GitHub by blackbeam
, 8 months ago
Caught unexpected runtime exception during validation

Solution icon of github
Caught unexpected runtime exception during validation

Stack trace

org.verapdf.core.ValidationException: Caught unexpected runtime exception during validation
	at org.verapdf.pdfa.validation.validators.BaseValidator.validate(BaseValidator.java:89)
	at org.verapdf.processor.ProcessorImpl.validate(ProcessorImpl.java:176)
	at org.verapdf.processor.ProcessorImpl.process(ProcessorImpl.java:119)
	at org.verapdf.processor.ProcessorImpl.process(ProcessorImpl.java:98)
	at org.verapdf.processor.BatchFileProcessor.processItem(BatchFileProcessor.java:75)
	at org.verapdf.processor.BatchFileProcessor.processDir(BatchFileProcessor.java:63)
	at org.verapdf.processor.BatchFileProcessor.processDir(BatchFileProcessor.java:61)
	at org.verapdf.processor.BatchFileProcessor.processDir(BatchFileProcessor.java:61)
	at org.verapdf.processor.BatchFileProcessor.processContainer(BatchFileProcessor.java:38)
	at org.verapdf.processor.AbstractBatchProcessor.process(AbstractBatchProcessor.java:73)
	at org.verapdf.cli.VeraPdfCliProcessor.processBatch(VeraPdfCliProcessor.java:158)
	at org.verapdf.cli.VeraPdfCliProcessor.processDir(VeraPdfCliProcessor.java:121)
	at org.verapdf.cli.VeraPdfCliProcessor.processPaths(VeraPdfCliProcessor.java:100)
	at org.verapdf.cli.VeraPdfCli.main(VeraPdfCli.java:79)
Caused by: java.lang.NullPointerException
	at org.verapdf.pd.font.truetype.TrueTypeFontParser.getCmapTable(TrueTypeFontParser.java:129)
	at org.verapdf.pd.font.truetype.TrueTypeFontProgram.containsCode(TrueTypeFontProgram.java:64)
	at org.verapdf.gf.model.impl.operator.textshow.GFOpTextShow.getUsedGlyphs(GFOpTextShow.java:143)
	at org.verapdf.gf.model.impl.operator.textshow.GFOpTextShow.getLinkedObjects(GFOpTextShow.java:96)
	at org.verapdf.gf.model.impl.operator.textshow.GFOp_TJ_Big.getLinkedObjects(GFOp_TJ_Big.java:39)
	at org.verapdf.pdfa.validation.validators.BaseValidator.addAllLinkedObjects(BaseValidator.java:220)
	at org.verapdf.pdfa.validation.validators.BaseValidator.checkNext(BaseValidator.java:165)
	at org.verapdf.pdfa.validation.validators.BaseValidator.validate(BaseValidator.java:116)
	at org.verapdf.pdfa.validation.validators.BaseValidator.validate(BaseValidator.java:87)
	... 13 more

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.