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

ClassCastException at PDFParser:667

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.10
    • Fix Version/s: 1.8.11
    • Component/s: Parsing
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: