Exception: Unable to create a suitable default GraphicsConfiguration
"Granchak, Tanya" <[email protected]> Sat, 8 Feb 2003 03:54:43 -0600
| Newsgroups | gmane.text.xml.jfor.devel,gmane.text.xml.jfor.general |
|---|---|
| Message-ID | <[email protected]> |
Hello everyone,
=20
When I run Jfor I've got the exception
java.lang.ExceptionInInitializerError: java.lang.RuntimeException:=20
Unable to create a suitable default GraphicsConfiguration. Try changing =
your Display Settings.
=20
The full log is:
=20
jfor V0.7.1 - see http://www.jfor.org
Creating input and output objects...
Converting XSL:FO file '\Temp\20030208T123352jfor.fo' to RTF output =
'C:\Temp\20030208T123352.rtf'...
jfor.INFO:jfor V0.7.1 - setting up conversion...
jfor.INFO:Parsing xsl:fo document...
jfor.DEBUG:Unsupported attribute of fo:external-graphic : =
'content-width'
jfor.DEBUG:Unsupported attribute of fo:external-graphic : =
'content-height'
jfor.DEBUG:Unsupported attribute of fo:external-graphic : =
'content-width'
jfor.DEBUG:Unsupported attribute of fo:external-graphic : =
'content-height'
jfor.DEBUG:Unsupported attribute of fo:external-graphic : =
'content-width'
jfor.DEBUG:Unsupported attribute of fo:external-graphic : =
'content-height'
jfor.WARNING:addChild: container already closed =
(parent=3Dorg.jfor.jfor.rtflib.rtfdoc.RtfParagraph =
child=3Dorg.jfor.jfor.rtflib.rtfdoc.RtfExternalGraphic)
jfor.DEBUG:Unsupported attribute of fo:external-graphic : =
'content-width'
jfor.DEBUG:Unsupported attribute of fo:external-graphic : =
'content-height'
jfor.INFO:Writing out RTF...
jfor.INFO:Write bookmark 'toc___XSLTbook120120'.
jfor.INFO:Write bookmark 'toc_XSLTbook120120_XSLTchapter123120120'.
jfor.INFO:Write bookmark 'toc_XSLTbook120120_XSLTchapter124120120'.
jfor.INFO:Write bookmark 'toc_XSLTbook120120_XSLTchapter126120120'.
jfor.INFO:Write bookmark 'toc_XSLTbook120120_XSLTsection1361261201'.
jfor.INFO:Write bookmark 'toc_XSLTbook120120_XSLTchapter128120120'.
jfor.INFO:Write bookmark 'XSLTsection124123120120'.
jfor.INFO:Write bookmark 'XSLTsection127124120120'.
jfor.INFO:Writing image 'file:/C:/Temp/20030208T123352/img0.jpg'.
java.lang.ExceptionInInitializerError: java.lang.RuntimeException:=20
Unable to create a suitable default GraphicsConfiguration. Try changing =
your Display Settings.
at sun.awt.Win32GraphicsDevice.getDefaultPixID(Native Method)
at sun.awt.Win32GraphicsDevice.getDefaultConfiguration(Unknown =
Source)
at sun.awt.windows.WToolkit.resetGC(Unknown Source)
at sun.awt.windows.WToolkit.<clinit>(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at java.awt.Toolkit$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Toolkit.getDefaultToolkit(Unknown Source)
at org.jfor.jfor.tools.jpeg.Encoder.encodeJPEG(Unknown Source)
at =
org.jfor.jfor.rtflib.rtfdoc.RtfExternalGraphic.writeRtfContentWithExcepti=
on(Unknown Source)
at =
org.jfor.jfor.rtflib.rtfdoc.RtfExternalGraphic.writeRtfContent(Unknown =
Source)
at org.jfor.jfor.rtflib.rtfdoc.RtfElement.writeRtf(Unknown Source)
at =
org.jfor.jfor.rtflib.rtfdoc.RtfContainer.writeRtfContent(Unknown Source)
at org.jfor.jfor.rtflib.rtfdoc.RtfElement.writeRtf(Unknown Source)
at =
org.jfor.jfor.rtflib.rtfdoc.RtfTableCell.writeRtfContent(Unknown Source)
at org.jfor.jfor.rtflib.rtfdoc.RtfElement.writeRtf(Unknown Source)
at =
org.jfor.jfor.rtflib.rtfdoc.RtfContainer.writeRtfContent(Unknown Source)
at org.jfor.jfor.rtflib.rtfdoc.RtfTableRow.writeRtfContent(Unknown =
Source)
at org.jfor.jfor.rtflib.rtfdoc.RtfElement.writeRtf(Unknown Source)
at =
org.jfor.jfor.rtflib.rtfdoc.RtfContainer.writeRtfContent(Unknown Source)
at org.jfor.jfor.rtflib.rtfdoc.RtfElement.writeRtf(Unknown Source)
at =
org.jfor.jfor.rtflib.rtfdoc.RtfContainer.writeRtfContent(Unknown Source)
at org.jfor.jfor.rtflib.rtfdoc.RtfElement.writeRtf(Unknown Source)
at =
org.jfor.jfor.rtflib.rtfdoc.RtfContainer.writeRtfContent(Unknown Source)
at org.jfor.jfor.rtflib.rtfdoc.RtfElement.writeRtf(Unknown Source)
at =
org.jfor.jfor.rtflib.rtfdoc.RtfContainer.writeRtfContent(Unknown Source)
at org.jfor.jfor.rtflib.rtfdoc.RtfElement.writeRtf(Unknown Source)
at org.jfor.jfor.rtflib.rtfdoc.RtfFile.flush(Unknown Source)
at org.jfor.jfor.converter.Converter.writeRtf(Unknown Source)
at org.jfor.jfor.converter.Converter.endDocument(Unknown Source)
at =
org.apache.xerces.parsers.SAXParser.endDocument(SAXParser.java:1225)
at =
org.apache.xerces.validators.common.XMLValidator.callEndDocument(XMLValid=
ator.java:760)
at =
org.apache.xerces.framework.XMLDocumentScanner$EndOfInputDispatcher.dispa=
tch(XMLDocumentScanner.java:1546)
at =
org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScann=
er.java:381)
at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:948)
at org.jfor.jfor.converter.Converter.<init>(Unknown Source)
at org.jfor.jfor.main.CmdLineConverter.main(Unknown Source)
at ch.codeconsult.jfor.main.CmdLineConverter.main(Unknown Source)
Exception in thread "main"=20
=20
May be somebody has met this problem. How can it be solved?
Thank you
TG
=20
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com