I am running embedded fop under Linux, java 1.4.1 with -Djava.awt.headless=true,
using batik 1.5.1. Every once in a while I get headless exception, which causes
my app to terminate. I have found a message on that:
http://groups.yahoo.com/group/svg-developers/message/31677
which seems to match my problem. I wonder if anybody found some solution?
Why would batik try to create Label? Is there any workaround or configuration
parameter that I am missing?

Thanks,
-Paul

java.lang.ExceptionInInitializerError
        at
org.apache.batik.ext.awt.image.spi.ImageTagRegistry.getRegistry(ImageTagRegistry.java:273)
        at
org.apache.batik.bridge.SVGImageElementBridge.createRasterImageNode(SVGImageElementBridge.ja
va:280)
        at
org.apache.batik.bridge.SVGImageElementBridge.createGraphicsNode(SVGImageElementBridge.java:
138)
        at
org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(GVTBuilder.java:182)
        at
org.apache.batik.bridge.GVTBuilder.buildComposite(GVTBuilder.java:148)
        at org.apache.batik.bridge.GVTBuilder.build(GVTBuilder.java:76)
        at
org.apache.fop.render.pdf.PDFRenderer.renderSVGDocument(PDFRenderer.java:590)
(...)
Caused by: java.awt.HeadlessException
        at
java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:121)
        at java.awt.Label.<init>(Label.java:133)
        at java.awt.Label.<init>(Label.java:100)
        at
org.apache.batik.ext.awt.image.spi.JDKRegistryEntry.<clinit>(JDKRegistryEntry.java:102)


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to