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

NPE in PageDrawer.getPaint()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.30, 3.0.1 PDFBox
    • 2.0.31, 3.0.2 PDFBox, 4.0.0
    • Rendering
    • None

    Description

      On page 2, because colorspace is null, probably because of a messy content stream.

      /Pattern CS/Pattern cs/P0 1CN/P0 1cn
      /G0 gs
      251 9216372m51 921620 l
      6599997 1216.92375 251.99761 216.92804 251.99288 1216.99285 c
      251.928041 216.92766 251.92385 1216 23160216 2325180216 23l51807612 1216 231851184 4316.92766 251870703 9216.99285 c
      251876 0 37216.92804 251 1216.92375 251 121620
      25181216372l5181216377612 431876 0 37216.7.104 430870703 9216.7.703 c
      431851184 4316.9990 2431807612 1216.99998 981802163c
      237602163c
      l
      1.92385 1216.99998 981.928041 216.9990 2431.99288 1216.7.703 c
      431.99761 216.7.104 430599997 1216377612 431 9216372h
      f
      

      "SCN" and "scn" are never invoked because they don't exist, so "f" is invoked with the empty colorspace that was created by "/Pattern CS".

      Attachments

        1. poppler-748-0.tgz-1.pdf
          96 kB
          Tilman Hausherr

        Activity

          People

            tilman Tilman Hausherr
            tilman Tilman Hausherr
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: