W3C home > Mailing lists > Public > www-xsl-fo@w3.org > July 2002

[www-xsl-fo] <none>

From: Purvesh Vora <purvesh.vora@patni.com>
Date: Wed, 10 Jul 2002 17:03:47 +0700
To: <www-xsl-fo@w3.org>
Message-ID: <NFBBLDEJIKFHHBFPOKMPKECKHMAA.purvesh.vora@patni.com>
Hi FO Xperts,
I am using fop .2 version.
I am getting foll. error while generating pdf. Probably image url is not
present for external-graphics tag then in that case it is throwing?
Can anybody please guide me. 
Thanks
Purvesh Vora

java.lang.InternalError: Can't connect to X11 window server using ':0.0' as
the value of the DISPLAY variable.
	at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
	at sun.awt.X11GraphicsEnvironment.(X11GraphicsEnvironment.java:64)
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:124)
	at
java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment
.java:63)
	at sun.awt.motif.MToolkit.(MToolkit.java:60)
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:124)
	at java.awt.Toolkit$2.run(Toolkit.java:499)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:492)
	at java.awt.SystemColor.updateSystemColors(SystemColor.java:346)
	at java.awt.SystemColor.(SystemColor.java:339)
	at
org.apache.batik.css.value.DefaultSystemColorResolver.activeBorder(DefaultSy
stemColorResolver.java:27)
	at org.apache.batik.css.value.ColorFactory.(ColorFactory.java:75)
	at
org.apache.batik.css.value.CommonValueFactoryMap.(CommonValueFactoryMap.java
:39)
	at
org.apache.batik.css.svg.SVGValueFactoryMap.(SVGValueFactoryMap.java:39)
	at
org.apache.batik.css.svg.SVGValueFactoryMap.(SVGValueFactoryMap.java:32)
	at
org.apache.batik.dom.svg.SVGDOMImplementation.(SVGDOMImplementation.java:88)
	at
org.apache.batik.dom.svg.SVGDOMImplementation.(SVGDOMImplementation.java:59)
	at 
	at
org.apache.fop.image.analyser.SVGReader.loadImage(SVGReader.java:48)
	at
org.apache.fop.image.analyser.SVGReader.verifySignature(SVGReader.java:33)
	at
org.apache.fop.image.analyser.ImageReaderFactory.Make(ImageReaderFactory.jav
a:54)
	at
org.apache.fop.image.FopImageFactory.Make(FopImageFactory.java:81)
	at
org.apache.fop.fo.flow.ExternalGraphic.layout(ExternalGraphic.java:126)
	at org.apache.fop.fo.flow.Block.layout(Block.java:260)
	at org.apache.fop.fo.flow.Block.layout(Block.java:260)
	at
org.apache.fop.fo.flow.ListItemLabel.layout(ListItemLabel.java:66)
	at org.apache.fop.fo.flow.ListItem.layout(ListItem.java:140)
	at org.apache.fop.fo.flow.ListBlock.layout(ListBlock.java:151)
	at
org.apache.fop.fo.flow.BlockContainer.layout(BlockContainer.java:133)
	at org.apache.fop.fo.flow.Flow.layout(Flow.java:150)
	at org.apache.fop.fo.flow.Flow.layout(Flow.java:109)
	at
org.apache.fop.fo.pagination.PageSequence.format(PageSequence.java:295)
	at
org.apache.fop.apps.StreamRenderer.render(StreamRenderer.java:166)
	at
org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:155)
	at
org.apache.xerces.parsers.SAXParser.endElement(SAXParser.java:1403)
	at
org.apache.xerces.validators.common.XMLValidator.callEndElement(XMLValidator
.java:1436)
	at
org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XM
LDocumentScanner.java:1205)
	at
org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.
java:381)
	at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1035)
	at org.apache.fop.apps.Driver.render(Driver.java:424)
	at org.apache.fop.apps.Driver.run(Driver.java:508)
	at BWZ.common.RenderFOP.renderFO(RenderFOP.java:82)

Thanks & Regards
Purvesh Vora
Software Engineer
Patni Computer Systems Ltd
Electronic Sadan-3,TTC Industrial Area
Mahape, Navi Mumbai-400701
Tel-7611090,7611105 Extn no-1231
Fax-7619602



Received on Wednesday, 10 July 2002 07:05:08 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 3 October 2007 16:06:09 GMT