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

Avoid NPE when accessing the elements of a COSArray

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0.0 PDFBox, 4.0.0
    • 3.0.1 PDFBox, 4.0.0
    • None
    • None

    Description

      A user reports a NPE on Stackoverflow.

      I happens when calling org.apache.pdfbox.cos.COSArray.getIndirectObjectKeys on a COSArray containing a null value.

      Attachments

        Activity

          People

            lehmi Andreas Lehmkühler
            lehmi Andreas Lehmkühler
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: