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

Parsing fails in 2.0.26 that worked in 2.0.25

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.26, 3.0.0 PDFBox
    • 2.0.26, 3.0.0 PDFBox
    • Parsing

    Description

      März 23, 2022 4:14:13 AM org.apache.pdfbox.pdfparser.BaseParser parseCOSDictionaryNameValuePair
      WARNUNG: Empty COSName at offset 12313
      Exception in thread "main" java.io.IOException: Unknown dir object c='>' cInt=62 peek='>' peekInt=62 at offset 12326 (start offset: 12326)
              at org.apache.pdfbox.pdfparser.BaseParser.parseDirObject(BaseParser.java:928)
              at org.apache.pdfbox.pdfparser.BaseParser.parseCOSDictionaryValue(BaseParser.java:154)
              at org.apache.pdfbox.pdfparser.BaseParser.parseCOSDictionaryNameValuePair(BaseParser.java:303)
              at org.apache.pdfbox.pdfparser.BaseParser.parseCOSDictionary(BaseParser.java:228)
              at org.apache.pdfbox.pdfparser.BaseParser.parseDirObject(BaseParser.java:872)
              at org.apache.pdfbox.pdfparser.BaseParser.parseCOSDictionaryValue(BaseParser.java:154)
              at org.apache.pdfbox.pdfparser.BaseParser.parseCOSDictionaryNameValuePair(BaseParser.java:303)
              at org.apache.pdfbox.pdfparser.BaseParser.parseCOSDictionary(BaseParser.java:228)
              at org.apache.pdfbox.pdfparser.BaseParser.parseDirObject(BaseParser.java:872)
              at org.apache.pdfbox.pdfparser.COSParser.parseFileObject(COSParser.java:916)
              at org.apache.pdfbox.pdfparser.COSParser.parseObjectDynamically(COSParser.java:883)
              at org.apache.pdfbox.pdfparser.COSParser.parseObjectDynamically(COSParser.java:796)
              at org.apache.pdfbox.pdfparser.COSParser.parseDictObjects(COSParser.java:756)
              at org.apache.pdfbox.pdfparser.PDFParser.initialParse(PDFParser.java:187)
              at org.apache.pdfbox.pdfparser.PDFParser.parse(PDFParser.java:226)
      

      The cause is not PDFBOX-5283.

      Attachments

        1. crash-024bde7e01045bb3a6ab9d86ccccb13cf411bc35.pdf
          13 kB
          Andreas Lehmkühler
        2. 392443.pdf
          3.14 MB
          Tilman Hausherr
        3. 077867.pdf
          2.21 MB
          Tilman Hausherr

        Activity

          People

            lehmi Andreas Lehmkühler
            tilman Tilman Hausherr
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: