Results 1 to 2 of 2
  1. #1
    alvinsim is offline Member
    Join Date
    Apr 2010
    Posts
    1
    Rep Power
    0

    Default 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.

    The client workstation has JRE 1.6.0_16 installed.

    Below is the Stack Trace from the Java Console.
    Java Code:
    basic: Loading Java Applet ...
    basic: Applet initialized
    basic: Removed progress listener: sun.plugin.util.GrayBoxPainter$GrayBoxProgressListener@59a34
    basic: Applet made visible
    basic: Starting applet
    basic: completed perf rollup
    basic: Applet started
    basic: Told clients applet is started
    Exception in thread "AWT-EventQueue-6" java.lang.NullPointerException
    	at java.awt.LightweightDispatcher$3.run(Unknown Source)
    	at java.awt.event.InvocationEvent.dispatch(Unknown Source)
    	at java.awt.EventQueue.dispatchEvent(Unknown Source)
    	at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    	at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    	at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    	at java.awt.EventDispatchThread.run(Unknown Source)
    Exception in thread "AWT-EventQueue-6" java.lang.NullPointerException
    	at java.awt.LightweightDispatcher$3.run(Unknown Source)
    	at java.awt.event.InvocationEvent.dispatch(Unknown Source)
    	at java.awt.EventQueue.dispatchEvent(Unknown Source)
    	at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    	at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    	at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    	at java.awt.EventDispatchThread.run(Unknown Source)
    Exception in thread "AWT-EventQueue-6" java.lang.NullPointerException
    	at java.awt.LightweightDispatcher$3.run(Unknown Source)
    	at java.awt.event.InvocationEvent.dispatch(Unknown Source)
    	at java.awt.EventQueue.dispatchEvent(Unknown Source)
    	at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    	at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    	at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    	at java.awt.EventDispatchThread.run(Unknown Source)

  2. #2
    Webuser is offline Senior Member
    Join Date
    Dec 2008
    Posts
    526
    Rep Power
    0

Similar Threads

  1. AWT-EventQueue-0 NullPointerException
    By ribbs2521 in forum New To Java
    Replies: 7
    Last Post: 11-03-2009, 10:40 PM
  2. Replies: 5
    Last Post: 08-26-2009, 11:37 AM
  3. Replies: 6
    Last Post: 08-03-2009, 08:58 PM
  4. Replies: 12
    Last Post: 10-05-2008, 06:52 AM
  5. Replies: 2
    Last Post: 07-16-2007, 06:21 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •