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

ArrayIndexOutOfBoundsException in ShadingContext.convertToRGB()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.8.16, 2.0.20
    • 1.8.17, 2.0.21, 3.0.0 PDFBox
    • Rendering
    • None

    Description

      Caused by: java.lang.ArrayIndexOutOfBoundsException: 0
          org.apache.pdfbox.pdmodel.graphics.shading.ShadingContext.convertToRGB(ShadingContext.java:106)
          org.apache.pdfbox.pdmodel.graphics.shading.AxialShadingContext.calcColorTable(AxialShadingContext.java:153)
          org.apache.pdfbox.pdmodel.graphics.shading.AxialShadingContext.<init>(AxialShadingContext.java:129)
          org.apache.pdfbox.pdmodel.graphics.shading.AxialShadingPaint.createContext(AxialShadingPaint.java:62)
      

      Attachments

        1. POPPLER-938.pdf
          3 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: