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 2020/12/14 16:59:00 UTC
[jira] [Created] (PDFBOX-5047) ClassCastException: class
java.lang.String cannot be cast to class [B in CMapParser
Tilman Hausherr created PDFBOX-5047:
---------------------------------------
Summary: ClassCastException: class java.lang.String cannot be cast to class [B in CMapParser
Key: PDFBOX-5047
URL: https://issues.apache.org/jira/browse/PDFBOX-5047
Project: PDFBox
Issue Type: Bug
Affects Versions: 2.0.21
Reporter: Tilman Hausherr
Attachments: E5ZRPQDP6OYLCMNJ52PGMUTT6EONJQ5D.pdf
{noformat}
java.lang.ClassCastException: class java.lang.String cannot be cast to class [B (java.lang.String and [B are in module java.base of loader 'bootstrap')
at org.apache.fontbox.cmap.CMapParser.parseBeginbfchar(CMapParser.java:265)
at org.apache.fontbox.cmap.CMapParser.parse(CMapParser.java:135)
at org.apache.pdfbox.pdmodel.font.CMapManager.parseCMap(CMapManager.java:75)
at org.apache.pdfbox.pdmodel.font.PDFont.readCMap(PDFont.java:213)
at org.apache.pdfbox.pdmodel.font.PDFont.loadUnicodeCmap(PDFont.java:147)
{noformat}
Not sure if that is the cause, but I noticed several "%" in the /ToUnicode stream of the last font in the resources of page 9.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org