You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (JIRA)" <ji...@apache.org> on 2015/09/21 19:40:04 UTC

[jira] [Created] (PDFBOX-2982) fix ClassCastExceptions in operator methods

Tilman Hausherr created PDFBOX-2982:
---------------------------------------

             Summary: fix ClassCastExceptions in operator methods
                 Key: PDFBOX-2982
                 URL: https://issues.apache.org/jira/browse/PDFBOX-2982
             Project: PDFBox
          Issue Type: Bug
          Components: Parsing
    Affects Versions: 1.8.10, 1.8.11, 2.0.0
            Reporter: Tilman Hausherr
             Fix For: 1.8.11, 2.0.0


fix ClassCastExceptions reported in TIKA-1737 (see attachment there), like this one:
{code}
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]
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org