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

NPE in PatchMeshesShadingContext.readPatch()

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.6
    • Fix Version/s: 2.0.7, 3.0.0 PDFBox
    • Component/s: Rendering
    • Labels:
      None

      Description

      Caused by: java.lang.NullPointerException: null
          org.apache.pdfbox.pdmodel.graphics.shading.PatchMeshesShadingContext.readPatch(PatchMeshesShadingContext.java:223)
          org.apache.pdfbox.pdmodel.graphics.shading.PatchMeshesShadingContext.collectPatches(PatchMeshesShadingContext.java:122)
          org.apache.pdfbox.pdmodel.graphics.shading.PatchMeshesShadingContext.<init>(PatchMeshesShadingContext.java:69)
          org.apache.pdfbox.pdmodel.graphics.shading.Type7ShadingContext.<init>(Type7ShadingContext.java:46)
          org.apache.pdfbox.pdmodel.graphics.shading.Type7ShadingPaint.createContext(Type7ShadingPaint.java:68)
      
      

      Cause: /Decode array is too short

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: