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

NPE in PDColorSpaceFactory.createColorSpace with PDICCBased

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.8.9, 1.8.10
    • 1.8.10, 2.0.0
    • PDModel
    • None

    Description

      java.lang.NullPointerException
      	at org.apache.pdfbox.pdmodel.graphics.color.PDColorSpaceFactory.createColorSpace(PDColorSpaceFactory.java:269)
      	at org.apache.pdfbox.pdmodel.graphics.color.PDICCBasedTest.testConstructor(PDICCBasedTest.java:57)
      

      The cause is a missing assignment in the first constructor of PDICCBased.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: