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

"write2file" gives Null Pointer Exception

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.6.0
    • 1.7.0
    • Writing
    • Windows XP version 2002, service pack 3, Inte;(R) Pentium(R) 4 CPU, 3.00GHz, 2.99 GHz, 1.99 GB of RAM,

    Description

      Oct 24, 2011 11:00:15 AM org.apache.pdfbox.pdmodel.graphics.xobject.PDPixelMap getRGBImage
      SEVERE: java.lang.NullPointerException
      java.lang.NullPointerException
      at org.apache.pdfbox.pdmodel.graphics.xobject.PDXObjectImage.getColorSpace(PDXObjectImage.java:286)
      at org.apache.pdfbox.pdmodel.graphics.xobject.PDPixelMap.getRGBImage(PDPixelMap.java:140)
      at org.apache.pdfbox.pdmodel.graphics.xobject.PDPixelMap.write2OutputStream(PDPixelMap.java:285)
      at org.apache.pdfbox.pdmodel.graphics.xobject.PDXObjectImage.write2file(PDXObjectImage.java:139)
      at org.apache.pdfbox.ExtractImages.extractImages(ExtractImages.java:165)
      at org.apache.pdfbox.ExtractImages.main(ExtractImages.java:62)

      Attachments

        1. PDPixelMap.java
          12 kB
          sagar pise
        2. TestFile.pdf
          81 kB
          sagar pise

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            lehmi Andreas Lehmkühler
            sagarpise sagar pise
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment