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

Some pdfss created by ABBY trigger a NPE

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.7.1
    • Fix Version/s: 1.8.0
    • Component/s: PDModel
    • Labels:
      None

      Description

      I created this issue based on a git pull request of Gustavo Moreira

      "PDFBox was throwing a NullPointerException when the PDF file did not provide the COSName.TYPE information. In a PDF created by ABBY (PDF version 1.7), this information is missing, but the Font SubType and the BaseFont still there, so the content can still be extracted correctly.
      In PDFontFactory was just changed the Font information retrieve, a implemented a fallback for the missing information."

        Attachments

        1. PDFBOX1431-2.patch
          5 kB
          Andreas Lehmkühler

          Activity

            People

            • Assignee:
              lehmi Andreas Lehmkühler
              Reporter:
              lehmi Andreas Lehmkühler
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: