Hi Experts,
Did anyone face this error while working with PDFBOX.
I am getting below error in java mapping
java.lang.ExceptionInInitializerError at org.apache.pdfbox.pdmodel.font.PDFont.<init>(PDFont.java:82) at org.apache.pdfbox.pdmodel.font.PDSimpleFont.<init>(PDSimpleFont.java:65) at org.apache.pdfbox.pdmodel.font.PDType1Font.<init>(PDType1Font.java:106) at org.apache.pdfbox.pdmodel.font.PDType1Font.<clinit>(PDType1Font.java:76)
while I go to the line causing the issue, i find the simple lines as
PDFont fontPlain = PDType1Font.HELVETICA;
PDFont fontBold = PDType1Font.HELVETICA_BOLD;
PDFbox has serious issues with fonts which is explained in this thread
https://issues.apache.org/jira/browse/PDFBOX-3252
Please let me know in case you faced and eradicated this error.
The code works fine in local system but gives error during testing in OM.
Please think twice before using https://pdfbox.apache.org/ in your codes in future.
This might ruin your project.
Regards
Anupam


.jpg)






