pdfbox-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tilman Hausherr (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (PDFBOX-4428) pdfbox called by Lotus Notes/Domino agent can't load afm fonts
Date Sun, 27 Jan 2019 05:49:00 GMT

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

Tilman Hausherr edited comment on PDFBOX-4428 at 1/27/19 5:48 AM:
------------------------------------------------------------------

Yes I also found these:

https://stackoverflow.com/questions/28625409/java-agent-use-image-resource
https://stackoverflow.com/questions/9941182/unable-to-access-resource-file-in-lotus-notes-java-agent
https://stackoverflow.com/a/46891199/535646

I thought that "Lotus Domino" had died? I remember having read that IBM had dumped it to an
Indian company -who had stopped development-, but Wikipedia says no such thing so maybe I'm
confusing it with something completely different.

Anyway, are you using the latest version of their jdk? I could change the code if needed but
it is annoying if a company offers a limited java.


was (Author: tilman):
Yes I also found these:

https://stackoverflow.com/questions/28625409/java-agent-use-image-resource
https://stackoverflow.com/questions/9941182/unable-to-access-resource-file-in-lotus-notes-java-agent
https://stackoverflow.com/a/46891199/535646

I thought that "Lotus Domino" had died? I remember having read that IBM had dumped it to an
Indian company who had stopped development, but Wikipedia says no such thing so maybe I'm
confusing it with something completely different.

Anyway, are you using the latest version of their jdk? I could change the code if needed but
it is annoying if a company offers a limited java.

> 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


Mime
View raw message