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

fix ClassCastExceptions in operator methods

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.10, 1.8.11, 2.0.0
    • Fix Version/s: 1.8.11, 2.0.0
    • Component/s: Parsing
    • Labels:
      None

      Description

      fix ClassCastExceptions reported in TIKA-1737 (see attachment there), like this one:

      java.lang.ClassCastException: org.apache.pdfbox.cos.COSInteger cannot be cast to org.apache.pdfbox.cos.COSString
      	at org.apache.pdfbox.util.operator.ShowText.process(ShowText.java:49) ~[ShowText.class:na]
      	at org.apache.pdfbox.util.PDFStreamEngine.processOperator(PDFStreamEngine.java:557) [PDFStreamEngine.class:na]
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: