Jörg Weske created FOP-2954: ------------------------------- Summary: 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 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.3.4#803005)