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

NullPointerException in SetNonStrokingSeparation.java

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.8.0-incubator
    • 1.0.0
    • Parsing
    • None

    Description

      Caused by a failure to check for a null return from PDSeparation.getColorValues()

      java.lang.NullPointerException
      at org.apache.pdfbox.util.operator.SetNonStrokingSeparation.process(SetNonStrokingSeparation.java:56)
      at org.apache.pdfbox.util.operator.SetStrokingColor.process(SetStrokingColor.java:78)
      at org.apache.pdfbox.util.PDFStreamEngine.processOperator(PDFStreamEngine.java:510)
      at org.apache.pdfbox.util.PDFStreamEngine.processSubStream(PDFStreamEngine.java:223)
      at org.apache.pdfbox.util.PDFStreamEngine.processStream(PDFStreamEngine.java:182)
      at org.apache.pdfbox.pdfviewer.PageDrawer.drawPage(PageDrawer.java:92)
      at org.apache.pdfbox.pdmodel.PDPage.convertToImage(PDPage.java:686)

      Attachments

        1. npe.patch
          1 kB
          Andrew Duffy
        2. Democratic Renewal final.pdf
          1.23 MB
          Andrew Duffy

        Issue Links

          Activity

            People

              Unassigned Unassigned
              andrew_duffy Andrew Duffy
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: