docbook-apps

  • 1.  FOP 0.93: Cannot load fonts/NullPointerException

    Posted 03-10-2007 07:55
    I'm using the DocBook 1.72 XSL stylesheets with FOP 0.93. I followed the
    Apache FOP instructions for regenerating font metrics files, and I
    updated the FOP configuration file to the new format. When I run FOP, I
    get the following exception.



    SEVERE: Exception

    java.lang.RuntimeException: Cannot load font: failed to create Source
    from metrics file SY______.xml



    It didn't seem to be loading any of the fonts. The


  • 2.  RE: [docbook-apps] FOP 0.93: Cannot load fonts/NullPointerException

    Posted 03-10-2007 10:42
    > -----Original Message-----
    > From: Jeff Powanda
    >
    > I'm using the DocBook 1.72 XSL stylesheets with FOP 0.93. I
    > followed the Apache FOP instructions for regenerating font
    > metrics files, and I updated the FOP configuration file to
    > the new format. When I run FOP, I get the following exception.
    >
    > SEVERE: Exception
    >
    > java.lang.RuntimeException: Cannot load font: failed to
    > create Source from metrics file SY______.xml
    >
    > It didn't seem to be loading any of the fonts. The
    >


  • 3.  RE: [docbook-apps] FOP 0.93: Cannot load fonts/NullPointerException

    Posted 03-11-2007 02:45
    Yes, I've tried using absolute URLs for both the


  • 4.  Re: [docbook-apps] FOP 0.93: Cannot load fonts/NullPointerException

    Posted 03-12-2007 09:23
    [Re-sending to the list...]

    Jeff Powanda a écrit :
    > Yes, I've tried using absolute URLs for both the


  • 5.  RE: [docbook-apps] FOP 0.93: Cannot load fonts/NullPointerException

    Posted 03-12-2007 20:09
      |   view attached

    Perhaps it's something to do with a conflict between FOP and JRE 1.5. After using absolute references to the fonts, I no longer get the error. However, I get the following NullPointerException:

    SEVERE: Exception
    java.lang.NullPointerException
    at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:168)
    at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:115)
    at org.apache.fop.cli.Main.startFOP(Main.java:160)
    at org.apache.fop.cli.Main.main(Main.java:191)

    I've attached the config file I'm using and the resulting FO file I'm trying to convert to PDF.

    Regards,
    Jeff Powanda
    Vocera Communications
    Senior Technical Writer
    408-790-4256

    -----Original Message-----
    From: Vincent Hennebert [mailto:vincent.hennebert@anyware-tech.com]
    Sent: Monday, March 12, 2007 1:23 AM
    To: docbook-apps@lists.oasis-open.org
    Subject: Re: [docbook-apps] FOP 0.93: Cannot load fonts/NullPointerException

    [Re-sending to the list...]

    Jeff Powanda a écrit :
    > Yes, I've tried using absolute URLs for both the

    Attachment(s)

    xml
    voc-fop093config.xml   10 KB 1 version