Submitted On 24-JUL-2001
snations
I have the same problem only it is not intermittent.
Everything crashes with this bug using 1.4.0-beta.
I can supply plenty of .log files. Here is a bit of
one which may help:
An unexpected exception has been detected in native code
outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at
PC=0x6D244F24
Function=JNU_GetEnv+0xC
Library=C:\Program Files\JavaSoft\JRE\1.4\bin\java.dll
Current Java thread:
at sun.awt.font.NativeFontWrapper.registerFonts(Native
Method)
- locked <0AB61880> (a java.lang.Class)
at sun.java2d.SunGraphicsEnvironment.registerFontFile
(Unknown Source)
Submitted On 25-JUL-2001
philr
Can you provide more information about your
particular set up? windows version etc, and what happens
if you run 1.3.1?
This is quite possibly something in a particular font file
that's causing the crash.
Is there an email address JavaSoft can contact you at?
Submitted On 25-JUL-2001
snations
Sure: snations@lgc.com
I left the "Include a link with my name & email" box
checked but...?
> This is quite possibly something in a particular font
> file that's causing the crash.
I concur. Another possibility is that my environment
(CLASSPATH, etc.) may not be just right.
As another bit of information, all of the .log files I've
examined had the "Function=" and "Library=" lines as in my
previous post.
I have been experiencing the problem on two machines which
are at two different locations. The windows version on
machine A is MS Windows 2000 5.00.2195 Service Pack 1.
Machine B is also a W2K box. I can send you the specific
info from it later this evening or tomorrow.
We were previously using JDK 1.3.0_01 on both machines. I
installed 1.4.0-beta on A and encountered this problem.
Same thing on machine B. Later I realized that I'd
neglected to unistall 1.3.0_01 on machine A. So I
uninstalled the old version and now everything seems to
work on box A.
On machine B, however, I had uninstalled the old version
prior to installing the new one so this magic fix isn't an
available option.
I'm a little constrained by the fact that these machines
are in different physical locations, but I'll do whatever I
can to help run this problem down. The cycle time between
trials may just be a little long.
Submitted On 25-JUL-2001
schillj
I'm not sure how I see uninstalling JDK 1.3.x would change
anything. I have both JDK 1.3.x and 1.4 installed on my
box. JDK 1.3.x occasionally has horrible OS crashes
(causing reboot), while JDK 1.4 has "intermittent" annoying
JVM crashes.
Submitted On 26-JUL-2001
snations
I agree that uninstalling JDK 1.3.x shouldn't fix anything,
but this is my experience. That is why I think maybe my
environment variables are at fault.
Machine B also has MS Windows 2000 5.00.2195 Service Pack 1.
In the "Dynamic libraries:" section of the .log files in
noticed this:
0x6D260000 - 0x6D265000 c:\jdk1.4\jre\bin\jawt.dll
0x108E0000 - 0x109CB000 C:\Program
Files\JavaSoft\JRE\1.4\bin\awt.dll
These two dll's are identical, so beyond the resource
inefficency it shouldn't matter as long as there is no
static data in the dll.
I could uninstall all JDKs from machine B and repeat the
install sequence that worked this machine. If this works,
however, we may have lost our only chance to reliable
produce the bug.
Suggestions?
Submitted On 26-JUL-2001
snations
I added "c:/jdk1.4/bin;c:/jdk1.4/jre/bin;" to my PATH as
part of both 1.4 installation. Changing this
to "c:/jdk1.4/bin;c:/Program Files/JavaSoft/JRE/1.4/bin;"
resulted in this different error:
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at
PC=0x6D407BB2
Function=[Unknown.]
Library=C:\Program Files\JavaSoft\JRE\1.4
\bin\hotspot\jvm.dll
NOTE: We are unable to locate the function name symbol for
the error just occurred. Please refer to release
documentation for possible reason and solutions.
Current Java thread:
at javax.swing.JComponent.getDefaultLocale(Unknown
Source)
at javax.swing.JComponent.<init>(Unknown Source)
at javax.swing.JRootPane.<init>(Unknown Source)
at javax.swing.JFrame.createRootPane(Unknown Source)
at javax.swing.JFrame.frameInit(Unknown Source)
at javax.swing.JFrame.<init>(Unknown Source)
at com.lgc.sc3.extratest.StandardCanvas.<init>
(StandardCanvas.java:28)
at com.lgc.sc3.extratest.StandardCanvas.<init>
(StandardCanvas.java:43)
at com.lgc.sc3.extratest.TestBase.GetContext
(TestBase.java:206)
at com.lgc.sc3.extratest.TestBase.theRealMain
(TestBase.java:41)
at com.lgc.sc3.extratest.Shm_RandomMesh.main
(Shm_RandomMesh.java:31)
Also, the duplicate versions of awt.dll are now eliminated.
(Above I indicated a problem with jawt.dll and awt.dll
being in memory at the same time. This should have been
awt.dll in both cases. Oops.)
Submitted On 26-JUL-2001
schillj
Can you provide full code that produces the problem to
Sun? My code above only produces the problem
intermittently. I have sent font files to the Sun
developer to have him see if there's anything wrong from
that end.
Submitted On 26-JUL-2001
snations
Sorry, but no. I don't have a small stand-alone piece of
code that exhibits the problem. Instead it's a rather
large rendering library for our applications. Most of the
library is legacy C & C++ code on top of which we've added
Java shims. We have a collection of Java test classes that
worked under 1.3.x but don't under the 1.4 beta. In my
case they all crash right as they try to come alive.
Unfortunately, I really can't give you any useful code
without giving you the entire ball of wax, and I'm sure
they'd frown on that in the front office.
I'm going to play with my PATH & CLASSPATH variables since
I suspect this is where the problem lies.
Submitted On 02-AUG-2001
mwstein
Guys. I've seen the same issue as you have. In my case,
after first boot up, PC's running Win98 crash a couple
times when running my application, then are fine after 1 or
2 restarts. HOWEVER, PC's running Win2000 have NOT ONCE
crashed! All PC's have the same JVM (Sun's). I think we
have a definite JVM-OS compatability issue. And I sure as
hell don't know how to fix it.
Submitted On 31-AUG-2001
snations
JDK 1.4 Beta 2 seems to have solved this problem. I've
installed it on both of my machines and since then have not
had a recurrance. Granted, having an intermittent bug like
this one disappear for a short while is not definitive, but
until I see it again I'm going to assume it is fixed.
Submitted On 06-SEP-2001
schillj
I have downloaded Beta 2 and the problem did not occur the
couple times I tried my app. However, I will try and
stress it out tonight and see if I can reproduce the
problem.
Submitted On 07-SEP-2001
schillj
Nope, the error still occurs. I had it happen last night
several times, same problem.
Submitted On 25-SEP-2001
UniversalOne
As a posible workaround, just what are the default fonts
the vm loads (so the vm doesn't have to search through the
entire collection of fonts and get the corrupt ones)? I too
experience this problem (Windows98se), mainly when i try to
create a new Font based upon something like Arial, of when
i call a pack() on a JFrames container (possibly font sizes
are retrieved and preffered sizes are in some way
calculated from this, and the retrieved font's geometric
info is corrupt? this was suggested in another bug report
about the same problem)
Submitted On 26-SEP-2001
philr
The fonts that are loaded by default are those in the
font.properties file. Note that there are multiple font
properties files so the one you get depends on your locale
and your O/S.
If you ask for a font by name like Arial JRE unfortunately
will not realise it already loaded that font and goes
searching .. that should be fixed in 1.4 beta3. In itself
that may solve this problem for a lot of users who I would
care to bet are asking for Arial and triggering a search of
all the fonts, and then encountering one that causes the
crash.
BTW this bug is really hard to track down. There's another
bug 4500800 which reports the same problem where we were
able to identify the exact font causing the crash - except
it only happens on that user's system - it doesn't crash JDK
on other systems. Also even for him it only happens *SOME*
of the time.
Submitted On 15-OCT-2001
acallegari
FIX:
I just had this problem last week and found that it is
caused by picking up java.exe from c:\winnt\system32\.
If I remove java.exe from system32 so that the executable
will be picked up from the Java installation, then
everything will work fine.
Anohter work around is to specify the full path
of the java.exe for the installation. .i.e.
c:/j2sdk_forte/jdk1.4.0/bin/java.exe (etc)
If you use the full path so that it will pick the
installation exe instead of the one in system32
then everything works fine, too..
Hope this helps anyone...
Andres Callegari
Submitted On 24-OCT-2001
schillj
No, this doesn't work for me. I am already calling a
specific JDK installation (not the one in my Windows path)
in my batch file:
d:\jdk1.4_beta\jre\java.exe ....
Submitted On 22-DEC-2001
thadguidry
I also get the fontmanager.dll / NativeFontWrapper problem.
This happens on www.pogo.com when trying to enter a game
room for Chess, intermittently. I also have several Chess
programs (Junior7, Chessmaster 7000, K-Chess Elite) Maybe
this is a font issue for these custom fonts that look like
Chess Pieces ? Anyone else that has this problem, have
some Chess Specific Fonts installed ? I'm Running WinXP Pro
Submitted On 27-DEC-2001
thadguidry
I found the workaround for this. It seems that there were
some Windows Shortcut files in my Fonts folder which looked
like fonts for a chess program called Chess Assistant. I
had previously Uninstalled Chess Assistant, but these
shortcuts were still in my Fonts folder. I deleted these
from the folder and then the problem has disappeared
completely for me. The names began with a CA__....
something.
Submitted On 24-JAN-2002
wagi
The bug is still there in JDK1.4.0 RC!
Submitted On 15-FEB-2002
drohm
I permanently get this Error when running the following class
(Win98 German, jre 1.4.0-b92), but it never occurs if I call it with a useless
Parameter (like >java crash.Crash x).
I also con avoid the crash by commenting the "print" statements.
package crash;
import java.awt.*;
import java.awt.font.*;
public class Crash extends Frame{
public Crash(){
GraphicsEnvironment envy=GraphicsEnvironment.getLocalGraphicsEnvironment();
String[] names=envy.getAvailableFontFamilyNames();
String[] localeNames=envy.getAvailableFontFamilyNames(getLocale());
print(names);
System.out.println("----");
System.out.println(getLocale());
print(localeNames);
setLayout(new GridLayout(0,1));
Font[] fonts=envy.getAllFonts();
int len=fonts.length;
for (int i=0; i<len; i++){
Label label=new Label("blah");
label.setFont(fonts[i]);
add(label);
}
pack();
setVisible(true);
}
public void print(String[] names){
for (int i=0; i<names.length; i++){
System.out.println(names[i]);
}
}
public static void main(String[] args){
new Crash();
}
}
Submitted On 17-FEB-2002
philr
It remains the case up until 1.4 FCS that the Java 2D
team has not been able to reproduce this problem.
There's no question it happens but without being able
to reproduce it, its hard to fix. Still trying tho'
Its not clear if drohm's "Crash" program is quite the
same problem. His example trying to use (display) all fonts
on the system. Previous reports of this problem do not
do that. JDK crashes on start-up just because they are
there. When JDK displays a font its needs to use it to
a much greater extent and its some other bug, possibly
related to some kind of corruption or oddity in one
of the fonts on his system.
His program does much less than the Font2DTest demo which
is run very regularly by the 2D team without problems.
The best bet to avoid this is to avoid JDK looking at
any fonts other than the ones in font.properties.
Running the Windows Look & Feel for Swing might provoke
this for example. So do things like the Swing HTML text
component which explicitly search all the fonts.
That makes it hard to avoid for some people, but maybe
it'll help others. Still looking for a solid reproducible
test case ..
Submitted On 11-MAR-2002
mihmax
All the same for me with Netbeans 3.3.1 using 1.4 final on
NT4 SP6 with 128Mb.
Below some lines of hs_err_pid156.log, if wanted more, I
can supply. I also must say that it's not reconstructable
error, as for me, it happens about twice a week.
An unexpected exception has been detected in native code
outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at
PC=0x6D1B3B4C
Function=[Unknown.]
Library=Y:\jdk\jre\bin\fontmanager.dll
NOTE: We are unable to locate the function name symbol for
the error
just occurred. Please refer to release documentation
for possible
reason and solutions.
Current Java thread:
at sun.awt.font.NativeFontWrapper.registerFonts
(Native Method)
- locked <04E5D5F8> (a java.lang.Class)
at sun.java2d.SunGraphicsEnvironment.addPathFonts
(SunGraphicsEnvironment.java:709)
at sun.java2d.SunGraphicsEnvironment.registerFonts
(SunGraphicsEnvironment.java:560)
Submitted On 11-MAR-2002
mihmax
I also checked "Include a link...@, but
my e-mail is mihmax@yahoo.com
Submitted On 12-MAR-2002
jano26
try this:
set JAVA_FONTS=F:\jdk\jre\lib\fonts
Submitted On 18-MAR-2002
clattmann
I have had the same problem, but I could solve it by
deleting half of the fonts installed on my computer (200 out
of 400, mainly older fonts). Since then, the problem hasn't
occured any more.
Submitted On 18-MAR-2002
mihmax
The workaround would be to include more well-looking fonts
with the jre in lib/fonts.
Or to test with JAVA_FONTS set to a user directory with
only a small subsets of fonts in it (for ex., arial &
courier only).
mihmax at yahoo dot com
Submitted On 09-APR-2002
botisdale
I get this error OFTEN -- as recently as when loading the
applet on java.sun.com.
An unexpected exception has been detected in native code
outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at
PC=0x6D1B3B21
Function=[Unknown.]
Library=(N/A)
NOTE: We are unable to locate the function name symbol for
the error
just occurred. Please refer to release documentation
for possible
reason and solutions.
Current Java thread:
at sun.awt.font.NativeFontWrapper.registerFonts
(Native Method)
- locked <0B4CC880> (a java.lang.Class)
at sun.java2d.SunGraphicsEnvironment.addPathFonts
(SunGraphicsEnvironment.java:709)
at sun.java2d.SunGraphicsEnvironment.registerFonts
(SunGraphicsEnvironment.java:560)
at sun.java2d.SunGraphicsEnvironment.access$000
(SunGraphicsEnvironment.java:57)
at sun.java2d.SunGraphicsEnvironment$2.run
(SunGraphicsEnvironment.java:210)
at java.security.AccessController.doPrivileged
(Native Method)
at sun.java2d.SunGraphicsEnvironment.loadFonts
(SunGraphicsEnvironment.java:204)
- locked <05AA0708> (a
sun.awt.Win32GraphicsEnvironment)
at sun.java2d.SunGraphicsEnvironment.mapFamilyName
(SunGraphicsEnvironment.java:402)
at java.awt.Font.initializeFont(Font.java:314)
at java.awt.Font.<init>(Font.java:346)
at Util.readData(Util.java:69)
at News.createFeeds(News.java:84)
at News.init(News.java:68)
at sun.applet.AppletPanel.run(AppletPanel.java:341)
at java.lang.Thread.run(Thread.java:536)
Dynamic libraries:
0x7D750000 - 0x7D76D000
C:\WINDOWS\SYSTEM\IMAGEHLP.DLL
Local Time = Tue Apr 09 17:00:55 2002
Elapsed Time = 46
#
# The exception above was detected in native code outside
the VM
#
# Java VM: Java HotSpot(TM) Client VM (1.4.0-b92 mixed mode)
#
Submitted On 10-APR-2002
botisdale
Don't know if this helps, but here's a screenshot of the
error I get from Windows: http://tisdale.org/javaerror.html.
Line 498 is always referenced in (what I think is)
fontmanager.dll: Expression: errno == 0 && count ==
(size_t) size
Submitted On 12-APR-2002
DSchiller
I'm currently reading the 5th Edition of "Just Java" by
Peter van der Linden. I tried running a 40 line sample
program called myclass from chapter 1 right after
installing SDK 1.4.0 and immediately encountered this bug -
the program died every time I tried it on a Windows 98SE
PC. The same program works well with 1.3.1_03 on the same
PC. It also works well on a Windows NT 4.0 with both 1.4.0
and 1.3.1_03.
Submitted On 22-APR-2002
simtec
I have the same problem. I tried to delete fonts. Nothing
helps, nothing runs. I can't even load http://java.sun.com
with 1.4.0 installed. No font and other demos are working
any more. Forte quits with the same exception. With version
1.3.1_01 it's better, but Java-Help quits with the same
exception. I am using W2000 SP2.
Submitted On 11-MAY-2002
biggiemajik
Same problem and error message here. I don't get why the
Sun guys keep calling it "difficult to reproduce" -- I get
this error *every time* I try to use Forte, JBuilder or
anything involving the Swing HTML component! Nothing
intermittent about this sucker. I'm running J2SE1.4 on
Win98. I really hope some attention is being payed to this
bug, as it literally makes 1.4 useless to many Windows
users.
Submitted On 19-MAY-2002
simtec
See my comments earlier. A couple of days ago I installed
Microsoft Office 2000 and OpenOffice 1.0. Now everything
works fine!
Submitted On 20-MAY-2002
bml4
For me, It seems that deleting some fonts solves the
problem. There is a system property 'sun.java2d.debugfonts'
that when set to 'true' will show the font names as they
are loaded. When the error occurs, deleting the last font
that was last attempted to be loaded seems to solve the
problem.
Submitted On 24-MAY-2002
daveliana
Hey bml4 (or anyone else that would know how to do this)
how do you set sun.java2d.debugfonts to true?
Dave
Submitted On 27-MAY-2002
mcw
I have released the latest version of my Java application (
<A
HREF=http://www.readerware.com>http://www.readerware.com</A>
) with Java 1.4 and have about half a dozen reports of this
problem. And who knows how many people are just walking away
from an application that crashes on startup. I would:-(
I can give you any number of traces, but there really is
nothing new in them. I am thinking of going back to 1.3.1, I
just don't see how a developer can distribute their app with
1.4. This bug is a showstopper for widespread 1.4 deployment
of Java apps.
Submitted On 10-JUN-2002
daveliana
I have fixed this problem on my computer. Uninstall all the uneeded language display support from your
system.
Submitted On 07-JUL-2002
k_kane
I also have this problem when using HTML bold fonts on a
JLabel. When I try to use non-HTML text it works OK but
otherwise my large application crashes around 30% of the
time on startup. It creates the following log file:-
An unexpected exception has been detected in native code
outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at
PC=0x6D1B3B4C
Function=[Unknown.]
Library=(N/A)
NOTE: We are unable to locate the function name symbol for
the error
just occurred. Please refer to release documentation
for possible
reason and solutions.
Current Java thread:
at sun.awt.font.NativeFontWrapper.registerFonts
(Native Method)
- locked <06E1CEB0> (a java.lang.Class)
at sun.java2d.SunGraphicsEnvironment.addPathFonts
(Unknown Source)
at sun.java2d.SunGraphicsEnvironment.registerFonts
(Unknown Source)
at sun.java2d.SunGraphicsEnvironment.access$000
(Unknown Source)
at sun.java2d.SunGraphicsEnvironment$2.run(Unknown
Source)
at java.security.AccessController.doPrivileged
(Native Method)
at sun.java2d.SunGraphicsEnvironment.loadFonts
(Unknown Source)
- locked <0317F780> (a
sun.awt.Win32GraphicsEnvironment)
at
sun.java2d.SunGraphicsEnvironment.getAvailableFontFamilyName
s(Unknown Source)
at
sun.java2d.SunGraphicsEnvironment.getAvailableFontFamilyName
s(Unknown Source)
at javax.swing.text.html.CSS.getValidFontNameMapping
(Unknown Source)
- locked <02CB3E50> (a java.lang.Object)
at
javax.swing.text.html.CSS$FontFamily.parseCssValue(Unknown
Source)
at javax.swing.text.html.CSS.getInternalCSSValue
(Unknown Source)
at javax.swing.text.html.CSS.addInternalCSSValue
(Unknown Source)
at javax.swing.text.html.StyleSheet.addCSSAttribute
(Unknown Source)
at
javax.swing.text.html.StyleSheet$CssParser.handleValue
(Unknown Source)
at javax.swing.text.html.CSSParser.parseDeclaration
(Unknown Source)
at
javax.swing.text.html.CSSParser.parseDeclarationBlock
(Unknown Source)
at javax.swing.text.html.CSSParser.parseRuleSet
(Unknown Source)
at javax.swing.text.html.CSSParser.getNextStatement
(Unknown Source)
at javax.swing.text.html.CSSParser.parse(Unknown
Source)
at javax.swing.text.html.StyleSheet$CssParser.parse
(Unknown Source)
at javax.swing.text.html.StyleSheet.loadRules
(Unknown Source)
at javax.swing.text.html.HTMLEditorKit.getStyleSheet
(Unknown Source)
at
javax.swing.plaf.basic.BasicHTML$BasicEditorKit.getStyleShee
t(Unknown Source)
at
javax.swing.plaf.basic.BasicHTML$BasicEditorKit.createDefaul
tDocument(Unknown Source)
at javax.swing.plaf.basic.BasicHTML.createHTMLView
(Unknown Source)
at javax.swing.plaf.basic.BasicHTML.updateRenderer
(Unknown Source)
at
javax.swing.plaf.basic.BasicLabelUI.propertyChange(Unknown
Source)
at
javax.swing.event.SwingPropertyChangeSupport.firePropertyCha
nge(Unknown Source)
at
javax.swing.event.SwingPropertyChangeSupport.firePropertyCha
nge(Unknown Source)
at javax.swing.JComponent.firePropertyChange
(Unknown Source)
at javax.swing.JLabel.setText(Unknown Source)
at fastreport.Frame1.setUpFlowDialog
(Frame1.java:3389)
at fastreport.Frame1.jbInit(Frame1.java:404)
at fastreport.Frame1.<init>(Frame1.java:361)
at fastreport.Application1.<init>
(Application1.java:11)
at fastreport.Application1.main
(Application1.java:41)
Dynamic libraries:
0x7CC00000 - 0x7CC1D000
C:\WINDOWS\SYSTEM\IMAGEHLP.DLL
Local Time = Mon Jul 01 10:43:32 2002
Elapsed Time = 13
#
# The exception above was detected in native code outside
the VM
#
# Java VM: Java HotSpot(TM) Client VM (1.4.0-b92 mixed mode)
#
It's reassuring to see other people with this problem and I
would be grateful to be kept updated on any progress with
this problem.
Submitted On 15-JUL-2002
k_kane
I have just spent some time trying to work out what is
going on with this problem...and I have to admit it looks
very strange. I am running windows 98 with 1.4.0. My
application is fairly complex, with a number of dialog
boxes. This specific problem seems to be because I use
HTML labels on the dialog boxes. I tried an experiment -
just to open and close my application without doing
anything else to see if I could work out what was causing
the error. First of all, I did my open and close procedure
with my normal set of applications (internet explorer,
windows explorer, outlook express, MS Word) also open. I
did the procedure 63 times (!!!). I got this error 9 times
which gives an error rate of 14% (totally unacceptable!).
The strange thing is that the pattern seems to be
completely random - the errors occurred on trials 10, 13,
21, 26, 37, 44, 45, 61,and 62. I then gradually closed all
applications but I have just completed the last procedure
where there were no other programs or processes running and
the error still occurred randomly. I will be getting
desperate if this can't be resolved pretty soon as I am
hoping to release my application soon. Can anyone help? I
also read about an option that gives information about the
fonts as they are read in. Can someone tell me (in an easy
way!) how I can turn this option on? I can be contacted at
k_kane@msn.com.
Submitted On 18-JUL-2002
PeterSchaefer
I had a similar problem with JDK 1.4.0_01 on Windows ME
it appears only with certain TT fonts but it is not always
reproducible.
it does not appear with JDK 1.3.1, nor does it with 1.4.0 on
Windows 2000.
the most likely candidate for a crash is this font:
http://www.chessvariants.com/d.font/lucen.zip
Submitted On 02-AUG-2002
svdelst
To me it seemes that a specific data file that I use
(targets.xml) caused the problem. I checked the targets.xml
file for wellformed-ness and validated it in my XML editor. The
application then started without a problem. I am using the
Java2SDK, version 1.4.0-b92.
Saskia
Error report:
An unexpected exception has been detected in native code
outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION
occurred at PC=0x6D1B3B4C
Function=[Unknown.]
Library=(N/A)
NOTE: We are unable to locate the function name symbol for
the error
just occurred. Please refer to release documentation for
possible
reason and solutions.
Current Java thread:
at sun.awt.font.NativeFontWrapper.registerFonts
(Native Method)
- locked <06E7BC90> (a java.lang.Class)
at sun.java2d.SunGraphicsEnvironment.addPathFonts
(SunGraphicsEnvironment.java:709)
at sun.java2d.SunGraphicsEnvironment.registerFonts
(SunGraphicsEnvironment.java:560)
at sun.java2d.SunGraphicsEnvironment.access$000
(SunGraphicsEnvironment.java:57)
at sun.java2d.SunGraphicsEnvironment$2.run
(SunGraphicsEnvironment.java:210)
at java.security.AccessController.doPrivileged(Native
Method)
at sun.java2d.SunGraphicsEnvironment.loadFonts
(SunGraphicsEnvironment.java:204)
- locked <02D6AB58> (a
sun.awt.Win32GraphicsEnvironment)
at
sun.java2d.SunGraphicsEnvironment.mapFamilyName
(SunGraphicsEnvironment.java:402)
at java.awt.Font.initializeFont(Font.java:314)
at java.awt.Font.<init>(Font.java:346)
at
org.alicebot.server.core.targeting.gui.TargetPanel$PatternsPan
el.<init>(Unknown Source)
at
org.alicebot.server.core.targeting.gui.TargetPanel.<init>
(Unknown Source)
at
org.alicebot.server.core.targeting.gui.TargetingGUI.<init>
(Unknown Source)
at
org.alicebot.server.core.targeting.TargetingTool.<init>
(Unknown Source)
at
org.alicebot.server.core.targeting.TargetingTool.main
(Unknown Source)
Dynamic libraries:
0x7D750000 - 0x7D76D000
C:\WINDOWS\SYSTEM\IMAGEHLP.DLL
Local Time = Thu Aug 01 07:50:38 2002
Elapsed Time = 20
#
# The exception above was detected in native code outside
the VM
#
# Java VM: Java HotSpot(TM) Client VM (1.4.0-b92 mixed
mode)
#
Submitted On 04-AUG-2002
d_mitton
I get this problem intermittently while just browsing.
I installed j2 SE SDK 1.4.0 (on Win Me) for a Jini class, but
never experience the problem while running my code.
Submitted On 16-AUG-2002
OrionPax
We are getting this bug with our enterprise application, where
the clients are distributed via WebStart. Our solution is going
to be to use 1.3 for the clients and 1.4 for our server.
One of the three test installs has had this issue, and it occurs
when viewing any java, including web pages, everytime.
Submitted On 18-AUG-2002
yoseph_phillips
The following code has reproduced the problem each time it
has been tried with a bad font in c:/temp/fonts.
It would appear that the more fonts in the folder the more
frequently the problem reproduces itself. With more than
300 fonts the highest test number it got up to was 24.
package test;
import java.io.*;
import java.util.*;
import sun.awt.font.*;
public class FontTester {
static Vector vector2 = new Vector();
static {
vector2.add(new Vector());
}
private static void addPathFonts(String s, FilenameFilter
filenamefilter, int i) {
File file = new File(s);
String as[] = file.list(filenamefilter);
if (as == null) {
return;
}
for (int j = 0; j < as.length; j++) {
File file1 = new File(file, as[j]);
String s1 = null;
try {
s1 = file1.getCanonicalPath();
}
catch(IOException ex) {
s1 = file1.getAbsolutePath();
}
Vector vector = new Vector(1);
vector.addElement(s1);
System.out.println("Registering (" + i + ") " + s1);
NativeFontWrapper.registerFonts(vector, 1, vector2, i,
false);
}
}
public static void main(String[] args) {
System.out.println("Starting...");
String directory = "c:/temp/fonts";
for (int i = 0; i < 10000; i++) {
System.out.println("Test Number: " + i);
addPathFonts(directory,
new FilenameFilter() {
public boolean accept(File file, String
s) {
return s.endsWith(".ttf") ||
s.endsWith(".TTF") || s.endsWith(".ttc") || s.endsWith(".TTC");
}
},
0);
addPathFonts(directory,
new FilenameFilter() {
public boolean accept(File file, String
s) {
return s.endsWith(".ps") ||
s.endsWith(".PS") || s.endsWith(".pfb") ||
s.endsWith(".PFB") || s.endsWith(".pfa") || s.endsWith(".PFA");
}
},
1);
addPathFonts(directory,
new FilenameFilter() {
public boolean accept(File file, String
s) {
return s.endsWith(".t2k") ||
s.endsWith(".T2K");
}
},
2);
}
System.out.println("Done...");
}
}
Running on Windows2000, Java(TM) 2 Runtime Environment,
Standard Edition (build 1.4.1-beta-b14)
Java HotSpot(TM) Client VM (build 1.4.1-beta-b14, mixed
mode) --> MG______.TTF caused the problem every single time.
Removing this font file meant the program could complete
with the other more than 300 font files never causing a problem.
Submitted On 19-AUG-2002
turingcomplete
This has been a complete showstopper. Not discovered till
the test installation at the client location--a week before
we're supposed to go to production.
Personnaly I don't think 1.4 should have been released with
this bug; I don't know how a project can seriously consider
using it.
Submitted On 20-AUG-2002
OrionPax
We were able to do a workaround on the one user's
computer. I did a search for corrupt fonts using font
management software. I then deleted the corrupt fonts that
it found, and then JAVA 1.4 would run again.
If this hadn't worked we would have had to go through all our
code and remove anything specific to 1.4.
I don't suggest that anyone use 1.4 for large projects, until
they fix this bug. Even if it only occurs to some users, it really
defeats the point of using JAVA at all...
Compile once, run sometimes..
Submitted On 22-AUG-2002
kyanosko
I installed JDK 1.4 and Forte for Java onto my Windows 98
machine, and got the "NativeFontWrapper" error every time I
tried to start Forte. Then I uninstalled Chessmaster 5.0 and
its fonts (one called "chessmaster" and all those beginning
with cm*) and now Forte runs every time.
Submitted On 29-AUG-2002
kyanosko
Oops. My fix was short-lived (See Aug 22 comments). I
recently installed Maple version 8 (I am a mathematician by
trade) and then Forte again stopped loading with the same
NativeFontWrapper error. I tried temporarily deleting the
Maple fonts (I identified 13 of them) but Forte is still dead.
Same story on my office NT4 machine.
I guess I will go back to programming in C.
Submitted On 02-SEP-2002
stcinifeic
C'mon sun!! There are enough people out there who have
problems with this to warrent a fix. A customer of ours has
just found it the day we burned it onto CD!!
Submitted On 04-SEP-2002
tempero
I can reliably recreate this problem, but it requires a
somewhat complicated
setup.
prompt> java -version
java version "1.4.0-rc"
Java(TM) 2 Runtime Environment, Standard Edition (build
1.4.0-rc-b91)
Java HotSpot(TM) Client VM (build 1.4.0-rc-b91, mixed mode)
(installed from the linus rpm)
I'm running following java code via JSP, specifically on a
tomcat
server (jakarta-tomcat-3.2.4).
--------- Bug.java ------
import java.awt.Graphics2D;
import java.awt.image.BufferedImage;
public class Bug {
public static void die() {
BufferedImage bi = new BufferedImage(500,500,
BufferedImage.TYPE_INT_RG\B);
Graphics2D g2d;
g2d = bi.createGraphics();
}
}
--------- bug.jsp -------
<%
Bug.die();
%>
--------------------------
The tomcat server is running under redhat 7.2.
prompt> uname -a
Linux ewan 2.4.7-10 #1 Thu Sep 6 17:27:27 EDT 2001 i686
unknown
Because I'm trying to avoid using the X server for the
graphics.
I've installed PJA (http://www.eteks.com/pja/en/). (I don't
have
a problem when I do use the X server).
I set the following environment variable before starting
tomcat:
TOMCAT_OPTS=-Xbootclasspath:/usr/java/j2sdk1.4.0/jre/lib/rt.jar:lib/pja.jar
-Da\wt.toolkit=com.eteks.awt.PJAToolkit
-Djava.awt.graphicsenv=com.eteks.java2d.PJA\GraphicsEnvironment
-Djava.awt.fonts=/usr/java/j2sdk1.4.0/jre/lib/fonts/
When I load the bug.jsp page above, I get the message
everyone else
has reported.
--------------------------
I followed the suggestion of bml4 (MON MAY 20 06:31 A.M.
2002) of setting
sun.java2d.debugfonts, and then deleting the last font
reported. In fact, I
deleted all the fonts in the same directory, which was
/usr/share/fonts/ja/,
and everything seems to work (thanks for the suggestion!)
I hope this information helps track down the fault.
Submitted On 11-SEP-2002
kkolinko
I observe this bug in JDK 1.4.0_01 on a Windows 2000 PC.
Microsoft Windows 2000 [Version 5.00.2195]
Java VM: Java HotSpot(TM) Client VM (1.4.0_01-b03 mixed
mode)
The following helped for me:
I opened the Control Panel and installed all the fonts found in
the ...\jdk1.4.0_01\jre\lib\fonts\ folder.
It helped. The bug disappeared.
See also
http://forum.java.sun.com/thread.jsp?
forum=37&thread=219754
Submitted On 15-SEP-2002
pcdennison
I have encountered this problem several times in the past and
have consequently removed all html components &/or text
from my applications.
I would, however, like to use JavaHelp as the help system for
an application. Can anybody either confirm or deny that this
bug (or any others, for that matter) will affect JavaHelp in
any way?
Submitted On 16-SEP-2002
philr
I expect it will affect JavaHelp, because JavaHelp uses the
Swing HTML component, and internally the Swing HTML code
calls a public Java API
GraphicsEnvironment.getAvailableFontFamilyNames()
This is therefore an explicit request to search for all the
fonts on the system. Some bad fonts may then cause a crash.
-Phil.
Submitted On 16-SEP-2002
klaushammer
I encounter the problem intermittently under Windows 2000
when calling new Font(fontName, style, size). It happens ind
1.4.0 as well as in 1.4.1 Release Canddate. At a second effort
the application normally works. Up to now, I never
encountered the problem under Windows NT.
The following is from my log file:
An unexpected exception has been detected in native code
outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION
occurred at PC=0x6D1B3B4C
Function=[Unknown.]
Library=D:\Programme\Java\j2re1.4.0\bin\fontmanager.dll
NOTE: We are unable to locate the function name symbol for
the error
just occurred. Please refer to release documentation for
possible
reason and solutions.
Current Java thread:
at sun.awt.font.NativeFontWrapper.registerFonts
(Native Method)
- locked <06C6A690> (a java.lang.Class)
at sun.java2d.SunGraphicsEnvironment.addPathFonts
(Unknown Source)
at sun.java2d.SunGraphicsEnvironment.registerFonts
(Unknown Source)
at sun.java2d.SunGraphicsEnvironment.access$000
(Unknown Source)
at sun.java2d.SunGraphicsEnvironment$2.run
(Unknown Source)
at java.security.AccessController.doPrivileged(Native
Method)
at sun.java2d.SunGraphicsEnvironment.loadFonts
(Unknown Source)
- locked <02F70FC8> (a
sun.awt.Win32GraphicsEnvironment)
at
sun.java2d.SunGraphicsEnvironment.mapFamilyName(Unknown
Source)
at java.awt.Font.initializeFont(Unknown Source)
at java.awt.Font.<init>(Unknown Source)
#
# The exception above was detected in native code outside
the VM
#
# Java VM: Java HotSpot(TM) Client VM (1.4.0-b92 mixed
mode)
#
Submitted On 17-SEP-2002
yoseph_phillips
I have just re-run my FontTester (code is listed above) on
1.4.1 (final) and the problem still exists. It still
happens everytime on the MG______.TTF
It seems that the Java2D team is having great difficulty
with this bug. I had suggested to them that they at least
give us a workaround: 'include a property which takes a list
of font names to skip. Developers can then set this property
at the start of their applications etc. A list of corrupt
fonts can be maintained on the Bug Report so that as people
find new corrupt bugs they can be added to the list.', but I
didn't get a response from them, and now that 1.4.1 is out I
guess we will just have to make do. I haven't been notified
about changes in this bug report for more than a month now,
so I am unsure if anyone from the Java2D team is even
reading these comments.
Submitted On 19-SEP-2002
gehnen
The problem is not only related to a HTML component or a
font tester. On two machines with Windows 2000 (german) I
have the same problem with a quite normal swing-app by
opening the standard file selector dialog box the first time
in the app. But... the problem occurs only seldom - approx.
one time in twenty tries or something like that. So it can't
be a dedicated bad font - maybe it's some kind of race
condition.
Submitted On 20-SEP-2002
mgreim
I have the same problem. On my machine there are several
installations of j2sdk. In some it works if I set JAVA_FONTS
to the directory where the respective fonts are. On some
this causes this bug to happen! I have to unset JAVA_FONTS.
(I installed the fonts in the system font folder on WinNt 4)
Anyway an application does not find any of the system
fonts. GraphicsEnvironment... lists Lucida et. al.,
so I can't get a monospaced font at all!
Submitted On 03-OCT-2002
dagleger
I was recently able to reproduce and debug an occurrence of
this problem (EXCEPTION_ACCESS_VIOLATION occurred at
PC=0x6D1B3B4C).
The error occurs when reading certain TrueType font files
which seem to have inconsistent length entries in their
internal tables. As these data are not checked for
consistency by Sun's code, they sometimes cause memory
reads outside allocated buffers - a type of programming error
that will typically go unnoticed in many cases but may
randomly generate access violation errors.
Of the font files I have installed on my machine, I have found
the following - all from Digital typeface Corp. and dated
19950914 - to contain this type of error:
ameb____.TTF
bdbi____.TTF
bdb_____.TTF
bdri____.TTF
bd______.TTF
bl______.TTF
cpb_____.TTF
dc______.TTF
dinen___.TTF
eubex___.TTF
euex____.TTF
ftbi____.TTF
ftb_____.TTF
ftli____.TTF
ftl_____.TTF
gmmi____.TTF
gmm_____.TTF
gmri____.TTF
gmr_____.TTF
lw______.TTF
mg______.TTF
mh______.TTF
opbo____.TTF
opb_____.TTF
opo_____.TTF
op______.TTF
If it's of any use to Sun's development team, I can easily
provide detailed documentation on how and under what
circumstances their code fails in this particular case.
Submitted On 16-OCT-2002
joe_aeo
I join the club of victims of this bug:
An unexpected exception has been detected in native code
outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION
occurred at PC=0x6D1B03E7
Function=[Unknown.]
Library=(N/A)
NOTE: We are unable to locate the function name symbol for
the error
just occurred. Please refer to release documentation for
possible
reason and solutions.
Current Java thread:
at sun.awt.font.NativeFontWrapper.getFontMetrics(Native
Method)
...
Dynamic libraries:
0x7CC00000 - 0x7CC1D000
C:\WINDOWS\SYSTEM\IMAGEHLP.DLL
Local Time = Wed Oct 16 15:20:46 2002
Elapsed Time = 239
#
# The exception above was detected in native code outside
the VM
#
# Java VM: Java HotSpot(TM) Client VM (1.4.1-b21 mixed
mode)
#
On Win98se. Crashes occur frequently but on a random basis
Submitted On 22-OCT-2002
sergio_d_ascia
I had got a similar problem, too.
Here the exception log file
An unexpected exception has been detected in native code
outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION
occurred at PC=0xB00C6C6F
Function=[Unknown.]
Library=(N/A)
NOTE: We are unable to locate the function name symbol for
the error
just occurred. Please refer to release documentation for
possible
reason and solutions.
Current Java thread:
at
sun.awt.windows.Win32OffScreenSurfaceData.initDDraw
(Native Method)
at
sun.awt.windows.Win32OffScreenSurfaceData.<clinit>
(Unknown Source)
at sun.awt.Win32GraphicsDevice.<clinit>(Unknown
Source)
at
sun.awt.Win32GraphicsEnvironment.makeScreenDevice
(Unknown Source)
at
sun.java2d.SunGraphicsEnvironment.getScreenDevices
(Unknown Source)
- locked <02C5BD38> (a
sun.awt.Win32GraphicsEnvironment)
at
sun.awt.Win32GraphicsEnvironment.getDefaultScreenDevice
(Unknown Source)
at java.awt.Window.init(Unknown Source)
at java.awt.Window.<init>(Unknown Source)
at java.awt.Frame.<init>(Unknown Source)
at java.awt.Frame.<init>(Unknown Source)
at javax.swing.JFrame.<init>(Unknown Source)
at frmMain.<init>(frmMain.java:21)
at frmMain.main(frmMain.java:171)
Dynamic libraries:
0x7CD70000 - 0x7CD8D000
C:\WINDOWS\SYSTEM\IMAGEHLP.DLL
Local Time = Tue Oct 22 10:55:36 2002
Elapsed Time = 3
#
# The exception above was detected in native code outside
the VM
#
# Java VM: Java HotSpot(TM) Client VM (1.4.1_01-b01 mixed
mode)
#
Submitted On 25-NOV-2002
turingcomplete
Is this the same bug that makes IE close instantly whenever
any java is loaded?
We have many users over here who after installing
webstart/jre 1.4+ cannot view any page with java in it. I'd
say 30% of the users that we know of encounter this problem.
The work around is to unselect Tools->Internet
Options->Advanced->Java (Sun)->[x] Use Java 2 v.1.4.1 for
<applet>
And people complain about M$...
Submitted On 20-DEC-2002
asjf
please some fix!
Submitted On 09-JAN-2003
ncr101
And another painful experience ... but with a successful
outcome (so far).
Sittuation: Windows 98 SE, j2sdk1.4.1_01, and just installed
NetBeans IDE 3.4 for the first time. But NetBeans would
never successfully start. Not once. Same type of error as
everyone else.
The reference to a chess room at www.pogo.com helped
confirm the nature of my error -- another inexplicable crash.
What didn't work: I looked at all my fonts (about 500) and
removed ones which seemed doubtful. Tried again and still a
problem.
What worked: I set the JAVA FONT environment variable to
under j2sdk1.4.1_01 (more fonts there than under
j2re1.4.1_01 alone) and viola! NetBeans ran for the first time
ever. I am very, very grateful to all the trials of those who
have gone before me. And I agree -- this bug is a show-
stopper that needs to be fixed.
Submitted On 01-FEB-2003
skowie
My $.2 worth:
Uninstalled close to 150mb of extra fonts (all but my TTFs)
and the fontmanager.dll crash went away. I'm not sure if
it's an issue of memory limits for the fontmanager or what,
but maybe some of you could check the size of the fonts dir.
I'm just glad to have working browsers now. I'll post more
as I go adding my fonts back.
Submitted On 03-FEB-2003
philr
A number of people "turingcomplete", "ncr101", "skowie"
report seeing one of these problems. But knowing you have
this problem isn't enough: we need to be able to reproduce it.
But none of you left contact addresses so we can't help you.
Contact java2d-comments@sun.com if you can identify
specific fonts that cause the crash.
JAVA2D_DEBUGFONTS=1
and then running your app is usually sufficient to identify
the font that will cause a crash, ie its usually the last font
you see opened in the debug output.
Submitted On 10-FEB-2003
skowie
Oh ... I checked to show my email and I guess that's not
working ... if you'd like more info you can email me at:
xilord[at]yahoo.com
Submitted On 10-FEB-2003
skowie
philr:
In reviewing the debug output I noticed that the crash
didn't occur on just one font. I noticed it was crashing on
Arial sometimes, other times on other fonts. I ran a
simultaneous registry trace routines while opening any java
applet in both Mozialla and IE and same things were
happening, crash after loading a certain number of fonts
(not sure to be honest as I didn't really take the time to
count them all.)
So the issue of tracing down one font that was causing the
problem didn't seem to help. In removing the unused fonts
(over 300) the problem went away.
Submitted On 10-MAR-2003
brepm5
Hello, I use Win98. I found one font to be ill. When I have it
installed I got the error, when I remove it, the error is gone.
It's Timmons with the files timr____.ttf, timi____.ttf,
timb____.ttf and timbi___.ttf. The microsoft program tells me,
the Font Vendor Macromedia and the Copyright 1999 Sun
Microsystems Inc.
I hope this can help you.
Submitted On 26-MAR-2003
klaushammer
Under Windows 2000, the problem seems to occur more
frequently with an Athlon processor (more exactly, Athlon XP
2000+) than with a Pentium. See also my comment from MON
SEP 16 05:28 A.M. 2002. This applies to 1.4.1_01-b01.
Submitted On 26-APR-2003
d_mitton
I used the java FontTester program provided by
yoseph_phillips to locate the troublesome fonts on my
system. I discovered the similar situation that "dagleger
- THU OCT 03 03:27 A.M. 2002 " did, in that all the problem
fonts were old, dated 10/31/1992, in my case. I had 32
fonts with mostly the same names as he lists. When I
removed them from the font directory, the problem went
away.
My system has been upgraded over the years from Windows
95 via Windows for Workgroups. It's possible that these
fonts are no longer in new systems, or were installed by an
older application version. Perhaps that is why "newer"
systems don't see/have them.
Submitted On 17-JUN-2003
zzgmg103
Suddenly this bug has appeared when I try and start the
Motorola j2me sdk on a win98 pc running 1.4.1. I have been
using that sdk for months without problems so its a mystery
why it would appear.
Submitted On 18-JUL-2003
carfield
Still have this problem with 1.4.2, before this I get a
warning:
Warning: Cannot convert string "-arphic technology co.-ar pl
mingti2l big5-medium-r-normal--*-140-*-*-c-*-iso10646-1" to
type FontStruct
An unexpected exception has been detected in native code
outside the VM.
Unexpected Signal : 11 occurred at PC=0x4D2F522E
Function=(null)+0x4D2F522E
Library=/opt/sunjdk/jre/lib/i386/libfontmanager.so
NOTE: We are unable to locate the function name symbol for
the error
just occurred. Please refer to release documentation
for possible
reason and solutions.
Current Java thread:
at sun.awt.font.NativeFontWrapper.registerFonts(Native Method)
- locked <0x489e6f30> (a java.lang.Class)
at
sun.java2d.SunGraphicsEnvironment.addPathFonts(SunGraphicsEnvironment.java:797)
at
sun.java2d.SunGraphicsEnvironment.registerFonts(SunGraphicsEnvironment.java:640)
at
sun.java2d.SunGraphicsEnvironment.access$200(SunGraphicsEnvironment.java:53)
at
sun.java2d.SunGraphicsEnvironment$2.run(SunGraphicsEnvironment.java:262)
at java.security.AccessController.doPrivileged(Native Method)
at
sun.java2d.SunGraphicsEnvironment.loadFonts(SunGraphicsEnvironment.java:256)
- locked <0x44c5d8b0> (a sun.awt.X11GraphicsEnvironment)
..........................
Submitted On 10-AUG-2003
b.lecomte
I used an applet dealing with fontmanager in my webpage.
It worked untill I installed Project2000. I'm looking for
one (or more) of the 10 fonts that is (are) corrupted.
(see also 4471357)
Submitted On 12-AUG-2003
b.lecomte
thanks to
"MON FEB 03 02:45 P.M. 2003
philr"
I deleted
on windows2000 SP3/4
SIMSUN.TTF (was unable to display itself using font
manager+dblclik)
PMINGLIU.TTF (wasn't display at all : had to do a cmd and go
to c:\winnt\fonts to del-ete it)
and was able to run netbeans again (and my applet !)
Submitted On 25-AUG-2004
jddonohoe
Here is the stack trace when used with font LSANSI.TTF
An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at PC=0x3012382
Function=Java_sun_awt_font_GlyphList_discardData+0x63F2
Library=C:\java\j2sdk1.4.2_05\jre\bin\fontmanager.dll
Current Java thread:
at sun.awt.font.NativeFontWrapper.registerFonts(Native Method)
- locked <0x14219bb8> (a java.lang.Class)
at sun.java2d.SunGraphicsEnvironment.addPathFonts(SunGraphicsEnvironment.java:800)
at sun.java2d.SunGraphicsEnvironment.registerFonts(SunGraphicsEnvironment.java:643)
at sun.java2d.SunGraphicsEnvironment.access$200(SunGraphicsEnvironment.java:53)
at sun.java2d.SunGraphicsEnvironment$2.run(SunGraphicsEnvironment.java:265)
at java.security.AccessController.doPrivileged(Native Method)
at sun.java2d.SunGraphicsEnvironment.loadFonts(SunGraphicsEnvironment.java:259)
- locked <0x100a2260> (a sun.awt.Win32GraphicsEnvironment)
at sun.java2d.SunGraphicsEnvironment.mapFontName(SunGraphicsEnvironment.java:507)
at java.awt.Font.initializeFont(Font.java:312)
at java.awt.Font.<init>(Font.java:344)
at sun.awt.windows.WDesktopProperties.setFontProperty(WDesktopProperties.java:157)
- locked <0x1002aa98> (a sun.awt.windows.WDesktopProperties)
at sun.awt.windows.WDesktopProperties.getWindowsParameters(Native Method)
at sun.awt.windows.WDesktopProperties.<init>(WDesktopProperties.java:56)
at sun.awt.windows.WToolkit.initializeDesktopProperties(WToolkit.java:876)
at java.awt.Toolkit.getDesktopProperty(Toolkit.java:1569)
- locked <0x10013d08> (a sun.awt.windows.WToolkit)
at com.sun.java.swing.plaf.windows.XPStyle.getXP(XPStyle.java:75)
- locked <0x142aad80> (a java.lang.Class)
at com.sun.java.swing.plaf.windows.WindowsTreeUI$ExpandedIcon.<init>(WindowsTreeUI.java:123)
at com.sun.java.swing.plaf.windows.WindowsTreeUI$ExpandedIcon.createExpandedIcon(WindowsTreeUI.java:127)
at com.sun.java.swing.plaf.windows.WindowsLookAndFeel.initComponentDefaults(WindowsLookAndFeel.java:309)
at javax.swing.plaf.basic.BasicLookAndFeel.getDefaults(BasicLookAndFeel.java:81)
at javax.swing.UIManager.setLookAndFeel(UIManager.java:394)
at javax.swing.UIManager.setLookAndFeel(UIManager.java:424)
at FontTest.<init>(FontTest.java:44)
at FontTest.main(FontTest.java:24)
Submitted On 25-AUG-2004
jddonohoe
I can reproduce this every time with 1.4.2_05, so I would hesitate to say it is fixed. I have a font which causes the problem everytime. Email badfont@donohoe.info to get it.
Would like to see this fixed in 1.4.2_06 as there seem to be a non-small number of regular joe users out there that run into this when trying to run our java-based games (including DD Tournament Poker).
Submitted On 16-SEP-2004
SlayerBBBB@@
I solved it.
I created a file named badfonts.txt in JRE_HOME/lib/fonts.
It includes the Windows Fonts lists.
the format like following
C:\WINDOWS\Fonts\ARIALNBI.TTF
....
....
But I cannot confirm it would supported futher JRE.
I tested it Windows 2000, Windows XP KOREAN
JRE 1.4.2_04 plug-in with Internet Explorer.
PLEASE NOTE: JDK6 is formerly known as Project Mustang
|