[ https://issues.apache.org/jira/browse/FOP-2954?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17525727#comment-17525727 ]
J Frank commented on FOP-2954: ------------------------------ After going through code: my suggestion will be delete cache files from user.home and then try loading font file / try generating docs > Uncaught java.lang.ClassCastException in FontCache.loadFrom() > ------------------------------------------------------------- > > Key: FOP-2954 > URL: https://issues.apache.org/jira/browse/FOP-2954 > Project: FOP > Issue Type: Bug > Components: font/unqualified > Affects Versions: 2.4 > Reporter: Jörg Weske > Priority: Major > Attachments: stacktrace.txt > > > In certain cases, de-serialization of a defective fontcache file can fail > with a java.lang.ClassCastException (see attached partial stacktrace). > The exception should be caught inside FontCache.loadFrom() and the defective > cache file discarded, as with the two other exceptions that are already being > handled appropriately (ClassNotFoundException and IOException). -- This message was sent by Atlassian Jira (v8.20.7#820007)