Hi, sounds like fontbox is missing on the classpath due to the NoClassDefFoundError.
BTW, update your PDFBox version, the recent version is 2.0.19. 2.0.5 was released 3 years ago.
Andreas Am 10.04.20 um 04:38 schrieb Nick Westerly:
Hi all - Using PDFBOX 2.0.5 in a java project. When it runs on our colleagues computers in the US, it works just fine. We have a few colleagues in the Phillipines, who we are getting this error from (below). This is on windows 10 64bit. Is this simply from missing some critical / standard fonts most likely? I had them try to download some windows 10 fonts (i.e. from this sketch site: https://www.w7df.com/p/windows-10.html ) but that does not seem to help. Any ideas would be appreciated! Unfortunately, as is normally the case, I cannot provide the original document. java.lang.NoClassDefFoundError: Could not initialize class org.apache.pdfbox.pdmodel.font.PDType1Font at org.apache.pdfbox.pdmodel.font.PDFontFactory.createFont(PDFontFactory.java:62) at org.apache.pdfbox.pdmodel.PDResources.getFont(PDResources.java:143) at org.apache.pdfbox.contentstream.operator.text.SetFontAndSize.process(SetFontAndSize.java:60) at org.apache.pdfbox.contentstream.PDFStreamEngine.processOperator(PDFStreamEngine.java:838) at org.apache.pdfbox.contentstream.PDFStreamEngine.processStreamOperators(PDFStreamEngine.java:495) at org.apache.pdfbox.contentstream.PDFStreamEngine.processStream(PDFStreamEngine.java:469) at org.apache.pdfbox.contentstream.PDFStreamEngine.showForm(PDFStreamEngine.java:179) at org.apache.pdfbox.contentstream.operator.graphics.DrawObject.process(DrawObject.java:70) at org.apache.pdfbox.contentstream.PDFStreamEngine.processOperator(PDFStreamEngine.java:838) at org.apache.pdfbox.contentstream.PDFStreamEngine.processStreamOperators(PDFStreamEngine.java:495) at org.apache.pdfbox.contentstream.PDFStreamEngine.processStream(PDFStreamEngine.java:469) at org.apache.pdfbox.contentstream.PDFStreamEngine.processPage(PDFStreamEngine.java:150) at technology.tabula.ObjectExtractor.extractPage(ObjectExtractor.java:27) at technology.tabula.PageIterator.next(PageIterator.java:29) at technology.tabula.ObjectExtractor.extract(ObjectExtractor.java:54)
--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org For additional commands, e-mail: users-h...@pdfbox.apache.org