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 2023/08/29 18:50:00 UTC

[jira] [Commented] (PDFBOX-5668) NullPointerException in XMPMetadata.getSchema()

    [ https://issues.apache.org/jira/browse/PDFBOX-5668?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17760101#comment-17760101 ] 

ASF subversion and git services commented on PDFBOX-5668:
---------------------------------------------------------

Commit 1911997 from Tilman Hausherr in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1911997 ]

PDFBOX-5668: pass correct parameter to constructor, remove unused field

> 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: 2.0.29, 3.0.0 PDFBox, 4.0.0
>            Reporter: Tilman Hausherr
>            Priority: Major
>         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/list?users@pdfbox.apache.org: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: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org