Similar to these issues, but for Java and different output format
NullReferenceException during PDF/A-1a conversion of PDF with TextAnnotation and PopupAnnotation
System.NullReferenceException when using PdfFormat.ZUGF…...api.Assertions.assertDoesNotThrow(Assertions...java:19) at org.junit.jupiter.api.AssertDoesNotThrow.assertDoe...