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 2019/01/09 20:40:00 UTC
[jira] [Commented] (PDFBOX-4428) pdfbox called by Lotus
Notes/Domino agent can't load afm fonts
[ https://issues.apache.org/jira/browse/PDFBOX-4428?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16738644#comment-16738644 ]
Tilman Hausherr commented on PDFBOX-4428:
-----------------------------------------
Check whether the jar files are complete. Check whether you have several versions in your class path.
If you are using some very new java version, then try with a snapshot, there was a problem with the class loader usage.
https://repository.apache.org/content/groups/snapshots/org/apache/pdfbox/pdfbox-app/2.0.14-SNAPSHOT/
> pdfbox called by Lotus Notes/Domino agent can't load afm fonts
> --------------------------------------------------------------
>
> Key: PDFBOX-4428
> URL: https://issues.apache.org/jira/browse/PDFBOX-4428
> Project: PDFBox
> Issue Type: Bug
> Components: FontBox, PDModel
> Affects Versions: 2.0.13
> Environment: Win32/Linux
> Reporter: Nico Prenzel
> Priority: Minor
>
> Within agent execution (java runtime) we get the follwoing errors loading the afm fonts.
> Any hints why this could occur?
> Exception in thread "AgentThread: JavaAgent" java.lang.ExceptionInInitializerError
> at java.lang.J9VMInternals.ensureError(J9VMInternals.java:146)
> at java.lang.J9VMInternals.recordInitializationFailure(J9VMInternals.java:135)
> at org.apache.pdfbox.pdmodel.font.PDFont.<init>(PDFont.java:91)
> at org.apache.pdfbox.pdmodel.font.PDSimpleFont.<init>(PDSimpleFont.java:64)
> at org.apache.pdfbox.pdmodel.font.PDType1Font.<init>(PDType1Font.java:122)
> at org.apache.pdfbox.pdmodel.font.PDType1Font.<clinit>(PDType1Font.java:79)
> at JavaAgent.NotesMain(JavaAgent.java:87)
> at lotus.domino.AgentBase.runNotes(Unknown Source)
> at lotus.domino.NotesThread.run(Unknown Source)
> Caused by: java.lang.RuntimeException: java.io.IOException: org/apache/pdfbox/resources/afm/Courier-Bold.afm not found
> at org.apache.pdfbox.pdmodel.font.Standard14Fonts.<clinit>(Standard14Fonts.java:97)
> ... 7 more
> Caused by: java.io.IOException: org/apache/pdfbox/resources/afm/Courier-Bold.afm not found
> at org.apache.pdfbox.pdmodel.font.Standard14Fonts.addAFM(Standard14Fonts.java:134)
> at org.apache.pdfbox.pdmodel.font.Standard14Fonts.addAFM(Standard14Fonts.java:103)
> at org.apache.pdfbox.pdmodel.font.Standard14Fonts.<clinit>(Standard14Fonts.java:50)
> ... 7 more
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org