printing fails with Missing charsets in String to FontSet error [message #178032] |
Sat, 10 January 2004 10:43  |
Eclipse User |
|
|
|
Originally posted by: pablo.intiwawa.net
Dear group,
Has anybody seen this error before?
If i try to print from the Eclipse Workspace or with the printing Snippet
provided on the website i get the following error:
---SNIP---
Warning: Missing charsets in String to FontSet conversion
Warning: Cannot convert string "-*-courier-medium-r-*-*-*-120-300-300-*-*-iso8859-1" to type FontSet
Warning: Missing charsets in String to FontSet conversion
Warning: Unable to load any usable fontset
Warning:
Name: FONTLIST_DEFAULT_TAG_STRING
Class: XmRendition
Conversion failed. Cannot load font.
Warning:
Name: FONTLIST_DEFAULT_TAG_STRING
Class: XmRendition
Conversion failed. Cannot load font.
An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : 11 occurred at PC=0x4CBC82C7
Function=XLocaleOfFontSet+0x7
Library=/usr/X11R6/lib/libX11.so.6
Current Java thread:
at org.eclipse.swt.internal.motif.OS.XLocaleOfFontSet(Native Method)
- locked <0x483342b8> (a java.lang.Class)
at org.eclipse.swt.graphics.Font.getCodePage(Font.java:230)
at org.eclipse.swt.graphics.Font.motif_new(Font.java:509)
at org.eclipse.swt.printing.Printer.init(Printer.java:339)
at org.eclipse.swt.graphics.Device.<init>(Device.java:127)
at org.eclipse.swt.printing.Printer.<init>(Printer.java:268)
at Main.menuPrint(Main.java:233)
at Main$5.widgetSelected(Main.java:121)
(more output, the usual stuff)
#
# The exception above was detected in native code outside the VM
#
# Java VM: Java HotSpot(TM) Client VM (1.4.1_06-b01 mixed mode)
#
# An error report file has been saved as hs_err_pid11319.log.
# Please refer to the file for further information.
#
---SNIP---
I think it has to do something with XPrint or Motif but i can not find out
what is wrong. It used to work on the same version of Eclipse two months
ago. I tweaked something on the machine but i do not remember what could
have changed the printing behavior!? It seems also puzzling to me, that
the requested font size is VERY big (300). The only entry in the
..Xdefaults i have referring fonts is:
Eclipse*fontList:-adobe-helvetica-medium-r-normal-*-*-120-*- *-*-*-iso8859-1
My used programs:
Eclipse 3.0M6
xprint-20031127trunk-0.9
openmotif-2.2.2-14
J2SDK1.4.1_06
Redhat 9.0
Where is my fault??
Greetings,
Pablo
|
|
|
Re: printing fails with Missing charsets in String to FontSet error [message #178574 is a reply to message #178032] |
Mon, 12 January 2004 10:37  |
Eclipse User |
|
|
|
Pablo,
The only unusual part of your setup is that you're using a newer openmotif
than is prescribed. This should be fine in theory, but you should try
using the one that ships with eclipse. To do this put the path of your
eclipse executable on the front of your LD_LIBRARY_PATH environment
variable before running eclipse.
If this does not help you then please log a bug report with Platform - SWT
with all of your information. Thanks!
Grant
Pablo Escobar wrote:
> Dear group,
> Has anybody seen this error before?
> If i try to print from the Eclipse Workspace or with the printing Snippet
> provided on the website i get the following error:
> ---SNIP---
> Warning: Missing charsets in String to FontSet conversion
> Warning: Cannot convert string
"-*-courier-medium-r-*-*-*-120-300-300-*-*-iso8859-1" to type FontSet
> Warning: Missing charsets in String to FontSet conversion
> Warning: Unable to load any usable fontset
> Warning:
> Name: FONTLIST_DEFAULT_TAG_STRING
> Class: XmRendition
> Conversion failed. Cannot load font.
> Warning:
> Name: FONTLIST_DEFAULT_TAG_STRING
> Class: XmRendition
> Conversion failed. Cannot load font.
> An unexpected exception has been detected in native code outside the VM.
> Unexpected Signal : 11 occurred at PC=0x4CBC82C7
> Function=XLocaleOfFontSet+0x7
> Library=/usr/X11R6/lib/libX11.so.6
> Current Java thread:
> at org.eclipse.swt.internal.motif.OS.XLocaleOfFontSet(Native Method)
> - locked <0x483342b8> (a java.lang.Class)
> at org.eclipse.swt.graphics.Font.getCodePage(Font.java:230)
> at org.eclipse.swt.graphics.Font.motif_new(Font.java:509)
> at org.eclipse.swt.printing.Printer.init(Printer.java:339)
> at org.eclipse.swt.graphics.Device.<init>(Device.java:127)
> at org.eclipse.swt.printing.Printer.<init>(Printer.java:268)
> at Main.menuPrint(Main.java:233)
> at Main$5.widgetSelected(Main.java:121)
> (more output, the usual stuff)
> #
> # The exception above was detected in native code outside the VM
> #
> # Java VM: Java HotSpot(TM) Client VM (1.4.1_06-b01 mixed mode)
> #
> # An error report file has been saved as hs_err_pid11319.log.
> # Please refer to the file for further information.
> #
> ---SNIP---
> I think it has to do something with XPrint or Motif but i can not find out
> what is wrong. It used to work on the same version of Eclipse two months
> ago. I tweaked something on the machine but i do not remember what could
> have changed the printing behavior!? It seems also puzzling to me, that
> the requested font size is VERY big (300). The only entry in the
> ..Xdefaults i have referring fonts is:
> Eclipse*fontList:-adobe-helvetica-medium-r-normal-*-*-120-*- *-*-*-iso8859-1
> My used programs:
> Eclipse 3.0M6
> xprint-20031127trunk-0.9
> openmotif-2.2.2-14
> J2SDK1.4.1_06
> Redhat 9.0
> Where is my fault??
> Greetings,
> Pablo
|
|
|
Powered by
FUDForum. Page generated in 0.24724 seconds