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

java.lang.ArrayIndexOutOfBoundsException in inlineimage

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.0.0
    • Component/s: None
    • Labels:

      Description

      I get this with page 8 of the attached file:

      13.02.2014 20:10:10.809 WARN [main] org.apache.pdfbox.util.PDFStreamEngine:546 - java.lang.ArrayIndexOutOfBoundsException: 4
      java.lang.ArrayIndexOutOfBoundsException: 4
      at org.apache.pdfbox.filter.TIFFFaxDecoder.decodeT6(TIFFFaxDecoder.java:1153)
      at org.apache.pdfbox.filter.CCITTFaxDecodeFilter.decode(CCITTFaxDecodeFilter.java:126)
      at org.apache.pdfbox.pdmodel.graphics.xobject.PDInlinedImage.createImage(PDInlinedImage.java:161)
      at org.apache.pdfbox.util.operator.pagedrawer.BeginInlineImage.process(BeginInlineImage.java:60)
      at org.apache.pdfbox.util.PDFStreamEngine.processOperator(PDFStreamEngine.java:533)
      at org.apache.pdfbox.util.PDFStreamEngine.processSubStream(PDFStreamEngine.java:261)
      at org.apache.pdfbox.util.PDFStreamEngine.processSubStream(PDFStreamEngine.java:236)
      at org.apache.pdfbox.pdfviewer.PageDrawer.drawType3String(PageDrawer.java:444)
      at org.apache.pdfbox.pdfviewer.PageDrawer.processTextPosition(PageDrawer.java:295)
      at org.apache.pdfbox.util.PDFStreamEngine.processEncodedText(PDFStreamEngine.java:489)
      at org.apache.pdfbox.util.operator.ShowText.process(ShowText.java:44)
      at org.apache.pdfbox.util.PDFStreamEngine.processOperator(PDFStreamEngine.java:533)
      at org.apache.pdfbox.util.PDFStreamEngine.processSubStream(PDFStreamEngine.java:261)
      at org.apache.pdfbox.util.PDFStreamEngine.processSubStream(PDFStreamEngine.java:227)
      at org.apache.pdfbox.util.PDFStreamEngine.processStream(PDFStreamEngine.java:209)
      at org.apache.pdfbox.pdfviewer.PageDrawer.drawPage(PageDrawer.java:151)
      at org.apache.pdfbox.util.RenderUtil.renderPage(RenderUtil.java:212)
      at org.apache.pdfbox.util.RenderUtil.convertToImage(RenderUtil.java:177)
      at pdfboxpageimageextraction.ExtractImages.doPdf(ExtractImages.java:273)
      at pdfboxpageimageextraction.ExtractImages.main(ExtractImages.java:77)

      Some observations:

        Attachments

        1. 1752-3u.pdf
          833 kB
          Tilman Hausherr

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: