You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2015/11/20 21:22:11 UTC
[jira] [Commented] (PDFBOX-2982) fix ClassCastExceptions in
operator methods
[ https://issues.apache.org/jira/browse/PDFBOX-2982?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15018713#comment-15018713 ]
ASF subversion and git services commented on PDFBOX-2982:
---------------------------------------------------------
Commit 1715409 from [~tilman] in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1715409 ]
PDFBOX-2852, PDFBOX-2982: avoid ClassCastException / ArrayOutOfBoundsExceptions
> 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
> Assignee: 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