JVM getting crashed

Hi!

I have an application where i serialize the object and write it to a file using objectOutputStream .I use "showOpenDialog()" of fileChoser.But when my code tries to access th UI Manager or open the file Dialog,The JVM sometimes crashes and the log file it creates throws error saying :

An unexpected error has been detected by HotSpot Virtual Machine:

#

# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0333490d, pid=1112, tid=3852

#

# Java VM: Java HotSpot(TM) Client VM (1.4.2_12-b03 mixed mode)

# Problematic frame:

# C [fontmanager.dll+0x3490d]

If some one can elaborate on what to do for this,would be helpful and lot many other things are printed in the log file.I would provide the details if required to understand the problem.

[802 byte] By [sachkida] at [2007-11-27 3:48:41]
# 1

The cause is that fontmanager.dll crashes whenever it opens a bad font file.

So you have to get rid of all your corrupt font files.

This is a bug in java 1.4. and it seems that the fonts which are creating the bug are all from the same source: @ 1991 Digital Typeface Corp.

Here you can find some solutions posted by java developers/users (see comments, at the bottom of page from this link):

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4762039

rayssa.moona at 2007-7-12 8:52:34 > top of Java-index,Core,Monitoring & Management...