Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-4428

pdfbox called by Lotus Notes/Domino agent can't load afm fonts

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0.13
    • 2.0.14, 3.0.0 PDFBox
    • FontBox, PDModel
    • Win32/Linux

    Description

      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

      Attachments

        Activity

          People

            tilman Tilman Hausherr
            nico.prenzel Nico Prenzel
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: