AWT EventQueue NullPointerException

Hi all,

I have a signed applet which writes text files to a specified directory in a client workstation.

When I load the applet in a web browser for the first time, there was no problem. But when I continue to load it again, it just won't load. All we see is the Java loading image. Even after waiting for 10 minutes, the applet still won't load.

Unfortunately, this doesn't happen all the time. I've tried closing the web browser and clearing all its caches and temp files but sometimes it will occur again.