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

ClassCastException in SetLineJoinStyle.process()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.32, 3.0.2 PDFBox
    • 2.0.33, 3.0.3 PDFBox, 4.0.0
    • Rendering
    • None

    Description

      ClassCastException: class org.apache.pdfbox.cos.COSString cannot be cast to class org.apache.pdfbox.cos.COSNumber (org.apache.pdfbox.cos.COSString and org.apache.pdfbox.cos.COSNumber are in unnamed module of loader 'app')
          org.apache.pdfbox.contentstream.operator.state.SetLineJoinStyle.process(SetLineJoinStyle.java:50)
      

      Happens with the file from PDFBOX-5782 (page 2) and is likely related to recent changes in handling decompression errors.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: