Uploaded image for project: 'Tika'
  1. Tika
  2. TIKA-3059

New NPE in ImageGraphicsEngine

    XMLWordPrintableJSON

Details

    • Task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      When we run the new inline image extraction code on some PDFs, we're getting a new NPE.

      for (COSName name : res.getExtGStateNames()) {
                  PDSoftMask softMask = res.getExtGState(name).getSoftMask();
      

      In some cases, res.getExtGStateNames() appears to return COSNames that cannot then be found by res.getExtGState(name).

      We can add a null check to Tika for now. Is this a bug or feature in PDFBox?

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              tallison Tim Allison
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: