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

false negative? RuntimeException: EOL encountered in white run

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.0.0
    • Component/s: Preflight
    • Labels:
    • Environment:
      java7 deb7

      Description

      java.lang.RuntimeException: EOL encountered in white run.
      at org.apache.pdfbox.filter.ccitt.TIFFFaxDecoder.decodeWhiteCodeWord(TIFFFaxDecoder.java:1168)
      at org.apache.pdfbox.filter.ccitt.TIFFFaxDecoder.decodeT6(TIFFFaxDecoder.java:980)
      at org.apache.pdfbox.filter.CCITTFaxFilter.decode(CCITTFaxFilter.java:95)
      at org.apache.pdfbox.cos.COSStream.doDecode(COSStream.java:386)
      at org.apache.pdfbox.cos.COSStream.doDecode(COSStream.java:335)
      at org.apache.pdfbox.cos.COSStream.getDecodeResult(COSStream.java:290)
      at org.apache.pdfbox.pdmodel.graphics.image.PDImageXObject.<init>(PDImageXObject.java:115)
      at org.apache.pdfbox.pdmodel.graphics.PDXObject.createXObject(PDXObject.java:65)
      at org.apache.pdfbox.preflight.process.reflect.ResourcesValidationProcess.validateXObjects(ResourcesValidationProcess.java:285)
      at org.apache.pdfbox.preflight.process.reflect.ResourcesValidationProcess.validate(ResourcesValidationProcess.java:80)
      at org.apache.pdfbox.preflight.utils.ContextHelper.callValidation(ContextHelper.java:81)
      at org.apache.pdfbox.preflight.utils.ContextHelper.validateElement(ContextHelper.java:54)
      at org.apache.pdfbox.preflight.process.reflect.SinglePageValidationProcess.validateResources(SinglePageValidationProcess.java:167)
      at org.apache.pdfbox.preflight.process.reflect.SinglePageValidationProcess.validate(SinglePageValidationProcess.java:82)
      at org.apache.pdfbox.preflight.utils.ContextHelper.callValidation(ContextHelper.java:81)
      at org.apache.pdfbox.preflight.utils.ContextHelper.validateElement(ContextHelper.java:54)
      at org.apache.pdfbox.preflight.process.PageTreeValidationProcess.validatePage(PageTreeValidationProcess.java:56)
      at org.apache.pdfbox.preflight.process.PageTreeValidationProcess.validate(PageTreeValidationProcess.java:45)
      at org.apache.pdfbox.preflight.utils.ContextHelper.callValidation(ContextHelper.java:81)
      at org.apache.pdfbox.preflight.utils.ContextHelper.validateElement(ContextHelper.java:118)
      at org.apache.pdfbox.preflight.PreflightDocument.validate(PreflightDocument.java:168)

        Attachments

        1. patch2513b1.txt
          4 kB
          Ralf Hauser
        2. patch2513b.txt
          0.8 kB
          Ralf Hauser
        3. patch2513a.txt
          0.9 kB
          Ralf Hauser
        4. patch2513.txt
          8 kB
          Ralf Hauser
        5. page3-MacPreview.png
          89 kB
          Maruan Sahyoun
        6. page3-AdobeReader.png
          81 kB
          Maruan Sahyoun
        7. AcrobatXI-Preflight.png
          42 kB
          Maruan Sahyoun
        8. 2513.pdf
          2.45 MB
          Ralf Hauser

          Activity

            People

            • Assignee:
              tilman Tilman Hausherr
              Reporter:
              hauser@acm.org Ralf Hauser
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: