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

Avoid NPE when encountering null PDComplexFileSpecification

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.8.4
    • 1.8.5, 2.0.0
    • None
    • None

    Description

      In some pdfs in the wild, PDComplexFileSpecification can be null. It would be great if we could skip those files that don't have any contents and not throw an NPE.

      Attachments

        1. null_PDComplexFileSpecification.pdf
          19 kB
          Tim Allison
        2. PDFBOX-1884.patch.zip
          15 kB
          Tim Allison

        Issue Links

          Activity

            People

              jahewson John Hewson
              tallison Tim Allison
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: