[
https://issues.apache.org/jira/browse/FOP-2954?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17525630#comment-17525630
]
J Frank commented on FOP-2954:
------------------------------
Can you please share more resources to reproduce the issue ?
> 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)