Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 2.0.6
    • Fix Version/s: None
    • Component/s: Parsing
    • Labels:
      None

      Description

      Evince can read this PDF without problems.
      The previous logs and the stack trace :

      09:38:20.135 [main] DEBUG org.apache.pdfbox.pdfparser.COSParser - Stop checking xref offsets as at least one (10 0 R) couldn't be dereferenced
      09:38:20.177 [main] DEBUG org.apache.pdfbox.pdfparser.COSParser - Replaced read xref table with the results of a brute force search
      09:38:20.180 [main] WARN org.apache.pdfbox.pdfparser.COSParser - The end of the stream doesn't point to the correct offset, using workaround to read the stream, stream start position: 2932, length: 891, expected end position: 3823
      09:38:20.182 [main] WARN org.apache.pdfbox.pdfparser.COSParser - stream ends with 'endobj' instead of 'endstream' at offset 4321
      09:38:20.191 [main] ERROR com.ariadnext.pki.seal.scheduler.server.utils.PdfUtils - Invalid PDF document
      java.io.IOException: Error: Expected a long type at offset 4096, instead got 'omanPS-BoldMT'
      at org.apache.pdfbox.pdfparser.BaseParser.readLong(BaseParser.java:1384)
      at org.apache.pdfbox.pdfparser.BaseParser.readObjectNumber(BaseParser.java:1312)
      at org.apache.pdfbox.pdfparser.COSParser.parseFileObject(COSParser.java:760)
      at org.apache.pdfbox.pdfparser.COSParser.parseObjectDynamically(COSParser.java:742)
      at org.apache.pdfbox.pdfparser.COSParser.parseObjectDynamically(COSParser.java:673)
      at org.apache.pdfbox.pdfparser.COSParser.parseDictObjects(COSParser.java:633)
      at org.apache.pdfbox.pdfparser.PDFParser.initialParse(PDFParser.java:241)
      at org.apache.pdfbox.pdfparser.PDFParser.parse(PDFParser.java:276)
      at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:1213)
      at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:1190)
      at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:1171)
      at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:1154)
      ....
      Caused by: java.lang.NumberFormatException: For input string: "omanPS-BoldMT"
      at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
      at java.lang.Long.parseLong(Long.java:589)
      at java.lang.Long.parseLong(Long.java:631)
      at org.apache.pdfbox.pdfparser.BaseParser.readLong(BaseParser.java:1379)

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              qcaillard Quentin Caillard
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: