[
https://issues.apache.org/jira/browse/PDFBOX-6261?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18114752#comment-18114752
]
ASF subversion and git services commented on PDFBOX-6261:
---------------------------------------------------------
Commit 1938164 from Tilman Hausherr in branch 'pdfbox/branches/2.0'
[ https://svn.apache.org/r1938164 ]
PDFBOX-6261: improve test to cover more attributes
> ClassCastException in PDStandardAttributeObject.getArrayOfString()
> ------------------------------------------------------------------
>
> Key: PDFBOX-6261
> URL: https://issues.apache.org/jira/browse/PDFBOX-6261
> Project: PDFBox
> Issue Type: Bug
> Affects Versions: 2.0.37, 3.0.8 PDFBox
> Reporter: Tilman Hausherr
> Priority: Major
> Fix For: 2.0.38, 3.0.9 PDFBox, 4.0.0
>
>
> {noformat}
> java.lang.ClassCastException: class org.apache.pdfbox.cos.COSString cannot be
> cast to class org.apache.pdfbox.cos.COSName (org.apache.pdfbox.cos.COSString
> and org.apache.pdfbox.cos.COSName are in unnamed module of loader 'app')
> at
> org.apache.pdfbox.pdmodel.documentinterchange.taggedpdf.PDStandardAttributeObject.getArrayOfString(PDStandardAttributeObject.java:112)
> at
> org.apache.pdfbox.pdmodel.documentinterchange.taggedpdf.PDTableAttributeObject.getHeaders(PDTableAttributeObject.java:127)
> at
> org.apache.pdfbox.pdmodel.documentinterchange.taggedpdf.PDTableAttributeObject.toString(PDTableAttributeObject.java:207)
> {noformat}
> This has never worked and has never been used and never been touched, I think
> it is a copy & paste error.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]