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

java.awt.geom.NoninvertibleTransformException: Determinant is -0.0

    Details

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

      Description

      I have this error trying to parse a specific PDF file:

      o.a.p.p.g.s.AxialShadingContext [AxialShadingContext.java:115] ERROR - java.awt.geom.NoninvertibleTransformException: Determinant is -0.0
       java.awt.geom.NoninvertibleTransformException: Determinant is -0.0
              at java.awt.geom.AffineTransform.createInverse(AffineTransform.java:2668)
              at org.apache.pdfbox.pdmodel.graphics.shading.AxialShadingContext.<init>(AxialShadingContext.java:110)
              at org.apache.pdfbox.pdmodel.graphics.shading.AxialShadingPaint.createContext(AxialShadingPaint.java:67)
              at sun.java2d.pipe.AlphaPaintPipe.startSequence(AlphaPaintPipe.java:84)
              at sun.java2d.pipe.AAShapePipe.renderTiles(AAShapePipe.java:168)
              at sun.java2d.pipe.AAShapePipe.renderPath(AAShapePipe.java:159)
              at sun.java2d.pipe.AAShapePipe.fill(AAShapePipe.java:68)
              at sun.java2d.pipe.PixelToParallelogramConverter.fill(PixelToParallelogramConverter.java:164)
              at sun.java2d.pipe.ValidatePipe.fill(ValidatePipe.java:160)
              at sun.java2d.SunGraphics2D.fill(SunGraphics2D.java:2527)
              at org.apache.pdfbox.rendering.PageDrawer.shadingFill(PageDrawer.java:921)
              at org.apache.pdfbox.contentstream.operator.graphics.ShadingFill.process(ShadingFill.java:41)
              at org.apache.pdfbox.contentstream.PDFStreamEngine.processOperator(PDFStreamEngine.java:815)
              at org.apache.pdfbox.contentstream.PDFStreamEngine.processStreamOperators(PDFStreamEngine.java:472)
              at org.apache.pdfbox.contentstream.PDFStreamEngine.processStream(PDFStreamEngine.java:446)
              at org.apache.pdfbox.contentstream.PDFStreamEngine.processPage(PDFStreamEngine.java:149)
              at org.apache.pdfbox.rendering.PageDrawer.drawPage(PageDrawer.java:189)
              at org.apache.pdfbox.rendering.PDFRenderer.renderPage(PDFRenderer.java:208)
              at org.apache.pdfbox.rendering.PDFRenderer.renderImage(PDFRenderer.java:139)
      

        Attachments

        1. E-book_22-boas-praticas-de-comunicacao-interna.pdf
          3.97 MB
          Marco Silva
        2. PDFBOX-3640.pdf
          417 kB
          Tilman Hausherr

          Activity

            People

            • Assignee:
              tilman Tilman Hausherr
              Reporter:
              marcoas Marco Silva
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: