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

ClassCastException at PDFParser:667

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.8.10
    • 1.8.11
    • Parsing
    • None

    Description

      from "skenny" in the user mailing list:

      I'm using PDFMergerUtility to merge a number of PDF input streams and write
      them to an HTTP response output stream. One of the PDFs is failing at line
      667 in PDFParser:

          final COSName objectType = (COSName)strmObj.getItem( COSName.TYPE );
      

      The result of getItem(COSName.TYPE) is a COSString (value "Metadata") and
      not a COSName.

      Attachments

        Activity

          People

            tilman Tilman Hausherr
            tilman Tilman Hausherr
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: