Details
Description
Sometimes (not always), my app "freezes". When I look into jVisualVM thread dump, I see this stack trace:
java.lang.Thread.State: RUNNABLE
at org.apache.fontbox.ttf.TTFDataStream.read(TTFDataStream.java:195)
at org.apache.fontbox.ttf.TTFDataStream.readString(TTFDataStream.java:69)
at org.apache.fontbox.ttf.TTFDataStream.readString(TTFDataStream.java:57)
at org.apache.fontbox.ttf.PostScriptTable.initData(PostScriptTable.java:104)
at org.apache.fontbox.ttf.TTFParser.parseTTF(TTFParser.java:140)
at org.apache.fontbox.ttf.TTFParser.parseTTF(TTFParser.java:87)
at org.apache.pdfbox.pdmodel.font.PDTrueTypeFont.loadDescriptorDictionary(PDTrueTypeFont.java:206)
at org.apache.pdfbox.pdmodel.font.PDTrueTypeFont.loadTTF(PDTrueTypeFont.java:167)
at org.apache.pdfbox.pdmodel.font.PDTrueTypeFont.loadTTF(PDTrueTypeFont.java:143)
at org.apache.pdfbox.pdmodel.font.PDTrueTypeFont.loadTTF(PDTrueTypeFont.java:130)
It never returns and blocks the application from continuing. This hapend several times now every few hours.