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

Image extraction fails with attached PDF

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.8, 2.0.0
    • Fix Version/s: 1.8.9, 2.0.0
    • Component/s: Utilities
    • Labels:
    • Environment:
      LinuxMint 1.7 64 bits

      Description

      ExtractImages failed with the following exception:
      java.lang.NullPointerException
      at org.apache.pdfbox.pdmodel.graphics.xobject.PDCcitt$TiffWrapper.buildHeader(PDCcitt.java:651)
      at org.apache.pdfbox.pdmodel.graphics.xobject.PDCcitt$TiffWrapper.<init>(PDCcitt.java:497)
      at org.apache.pdfbox.pdmodel.graphics.xobject.PDCcitt$TiffWrapper.<init>(PDCcitt.java:488)
      at org.apache.pdfbox.pdmodel.graphics.xobject.PDCcitt.write2OutputStream(PDCcitt.java:237)
      at org.apache.pdfbox.pdmodel.graphics.xobject.PDXObjectImage.write2file(PDXObjectImage.java:265)
      at org.apache.pdfbox.ExtractImages.processResources(ExtractImages.java:255)
      at org.apache.pdfbox.ExtractImages.extractImages(ExtractImages.java:180)
      at org.apache.pdfbox.ExtractImages.main(ExtractImages.java:80)
      at org.apache.pdfbox.PDFBox.main(PDFBox.java:62)

        Attachments

        1. PDFBOX-2653-1.tiff
          94 kB
          Tilman Hausherr
        2. image.pdf
          95 kB
          Paco Avila

          Activity

            People

            • Assignee:
              tilman Tilman Hausherr
              Reporter:
              monkiki Paco Avila
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: