Uploaded image for project: 'FOP'
  1. FOP
  2. FOP-2954

Uncaught java.lang.ClassCastException in FontCache.loadFrom()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.4
    • None
    • font/unqualified
    • None

    Description

      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).

      Attachments

        1. stacktrace.txt
          5 kB
          Jörg Weske

        Activity

          People

            Unassigned Unassigned
            muddle Jörg Weske
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: