Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-1334

EmptyStackException in PDFStreamEngine.getFonts

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.7.0
    • 1.7.1
    • Parsing
    • None

    Description

      Method getFonts in PDFStreamEngine does not test for empty streamResourceStack and might throw an EmptyStackException which is not catched (RuntimeException) by calling classes. We have to test for empty stack and return empty map in such cases.

      Attachments

        Activity

          People

            tboehme Timo Boehme
            tboehme Timo Boehme
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: