Tilman Hausherr created PDFBOX-5668:
---------------------------------------
Summary: NullPointerException in XMPMetadata.getSchema()
Key: PDFBOX-5668
URL: https://issues.apache.org/jira/browse/PDFBOX-5668
Project: PDFBox
Issue Type: Bug
Components: XmpBox
Affects Versions: 3.0.0 PDFBox, 2.0.29, 4.0.0
Reporter: Tilman Hausherr
Attachments: pdfExemple.pdf
Exception in thread "main" java.lang.NullPointerException
at org.apache.xmpbox.XMPMetadata.getSchema(XMPMetadata.java:264)
at PDFBOX5649XMPProblem.main(PDFBOX5649XMPProblem.java:58)
This happens with the attached file when calling
metadata.getSchema("fx",
"urn:factur-x:pdfa:CrossIndustryDocument:invoice:1p0#");
and was reported by Sylvere Babin from the users mailing list, see
https://lists.apache.org/[email protected]:2023-7
which contains further text about a possible cause.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]