[
https://issues.apache.org/jira/browse/PDFBOX-2982?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14901239#comment-14901239
]
ASF subversion and git services commented on PDFBOX-2982:
---------------------------------------------------------
Commit 1704399 from [~tilman] in branch 'pdfbox/branches/1.8'
[ https://svn.apache.org/r1704399 ]
PDFBOX-2982: avoid ClassCastException
> 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: [email protected]
For additional commands, e-mail: [email protected]