Tilman Hausherr created PDFBOX-6125:
---------------------------------------
Summary: ClassCastException: class org.apache.xmpbox.type.FlashType
Key: PDFBOX-6125
URL: https://issues.apache.org/jira/browse/PDFBOX-6125
Project: PDFBox
Issue Type: Bug
Components: XmpBox
Affects Versions: 3.0.6 PDFBox, 2.0.35
Reporter: Tilman Hausherr
Assignee: Tilman Hausherr
Fix For: 2.0.36, 3.0.7 PDFBox, 4.0.0
Attachments: 006054-p14.xml
java.lang.ClassCastException: class org.apache.xmpbox.type.FlashType
at java.base/java.lang.Class.asSubclass(Class.java:3640)
at
org.apache.xmpbox.type.TypeMapping.instanciateSimpleProperty(TypeMapping.java:162)
at
org.apache.xmpbox.xml.DomXmpParser.parseDescriptionRootAttr(DomXmpParser.java:341)
at
org.apache.xmpbox.xml.DomXmpParser.parseDescriptionRoot(DomXmpParser.java:289)
at org.apache.xmpbox.xml.DomXmpParser.parse(DomXmpParser.java:195)
at org.apache.xmpbox.xml.DomXmpParser.parse(DomXmpParser.java:113)
at
org.apache.xmpbox.xml.DomXmpParserTest.testUGJGd(DomXmpParserTest.java:783)
This happens because attributes are simple types, and Flash is a structured
type. Surprisingly, the PDFLib checker claims the XMP is ok. Nevertheless,
we'll catch this exception until we'll know better.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]