java.io.IOException: Problem reading font data.' Stacktrace given below. I am using Apache Tomcat 8 on linux server. PDFBox version used is 1.8.11. Java version 8 is used. But running the same code using 64 bit java, PDF document is getting converted to image without any issues. Would appreciate any help on this. java.io.IOException: Problem reading font data.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Stack Overflow by jaikishan_gurav
, 1 year ago
Problem reading font data.' Stacktrace given below. I am using Apache Tomcat 8 on linux server. PDFBox version used is 1.8.11. Java version 8 is used. But running the same code using 64 bit java, PDF document is getting converted to image without any issues. Would appreciate any help on this. java.io.IOException: Problem reading font data.
via jaspersoft.com by Unknown author, 2 years ago
via Stack Overflow by CptShooter
, 2 years ago
via Stack Overflow by Unknown author, 2 years ago
via Stack Overflow by Unknown author, 2 years ago
Problem reading font data.
java.io.IOException: Problem reading font data.' Stacktrace given below. I am using Apache Tomcat 8 on linux server. PDFBox version used is 1.8.11. Java version 8 is used. But running the same code using 64 bit java, PDF document is getting converted to image without any issues. Would appreciate any help on this. java.io.IOException: Problem reading font data.
at java.awt.Font.createFont0(Font.java:1000)
at java.awt.Font.createFont(Font.java:877)
at org.apache.pdfbox.pdmodel.font.PDCIDFontType2Font.getawtFont(PDCIDFontType2Font.java:82)
at org.apache.pdfbox.pdmodel.font.PDType0Font.getawtFont(PDType0Font.java:92)
at org.apache.pdfbox.pdmodel.font.PDSimpleFont.drawString(PDSimpleFont.java:110)
at org.apache.pdfbox.pdfviewer.PageDrawer.processTextPosition(PageDrawer.java:260)
at org.apache.pdfbox.util.PDFStreamEngine.processEncodedText(PDFStreamEngine.java:504)
at org.apache.pdfbox.util.operator.ShowText.process(ShowText.java:56)
at org.apache.pdfbox.util.PDFStreamEngine.processOperator(PDFStreamEngine.java:562)
at org.apache.pdfbox.util.PDFStreamEngine.processSubStream(PDFStreamEngine.java:269)
at org.apache.pdfbox.util.PDFStreamEngine.processSubStream(PDFStreamEngine.java:236)
at org.apache.pdfbox.util.PDFStreamEngine.processStream(PDFStreamEngine.java:216)
at org.apache.pdfbox.pdfviewer.PageDrawer.drawPage(PageDrawer.java:139)

Users with the same issue

Once, 9 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.